# Fix \`lakemont\` CpuModel \(\#9099\) · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/71ec89383b07f4c9ea5bfc047074adec6ae6b533)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 71ec89383b07f4c9ea5bfc047074adec6ae6b533

Requested commit: 71ec89383b07f4c9ea5bfc047074adec6ae6b533

Commit: 71ec89383b07f4c9ea5bfc047074adec6ae6b533

Tree: 49d765bef1fac956616d5bab1a05f6bc68b97924

Author: d18g

Committer: Andrew Kelley

## Message

```
Fix `lakemont` CpuModel (#9099)

Lakemont has no x86, no MMX, no SSE and no way of handling any fp-math. In theory LLVM is able to implicitly use the soft-float emulation library calls to legalize any such operation but, given Zig's use of many non-standard features, sometimes we hit a weak spot in the X86 codegen backend.

Consider this as a work-around for this LLVM problem, fixing the problem in LLVM is not so high in my todo list as the target is pretty niche and Intel axed it in '19.

(Commit message by @LemonBoy)
```

## Parents

- [4adbdcb587c4fadde0d1c45772d1b4d140bf6a46](https://git.cafe/gitcafe/zig/commit/4adbdcb587c4fadde0d1c45772d1b4d140bf6a46?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/71ec89383b07f4c9ea5bfc047074adec6ae6b533?format=markdown)
