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

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

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

Visibility: public

Requested revision: 0e71e6ee0fb5e1bace0a32b48961b358a1f47621

Requested commit: 0e71e6ee0fb5e1bace0a32b48961b358a1f47621

Commit: 0e71e6ee0fb5e1bace0a32b48961b358a1f47621

Tree: 5d3180fa8f0d48699c37fc74188567aaaec15a94

Author: d18g

Committer: GitHub

## 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

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

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