aboutsummaryrefslogtreecommitdiff
path: root/src/codegen
diff options
context:
space:
mode:
authord18g <gootvilig.davidhai@gmail.com>2021-06-17 23:37:38 +0300
committerGitHub <noreply@github.com>2021-06-17 16:37:38 -0400
commit0e71e6ee0fb5e1bace0a32b48961b358a1f47621 (patch)
tree5d3180fa8f0d48699c37fc74188567aaaec15a94 /src/codegen
parentbfe3558efe9faf20d68b947c9dc077963b1f87ad (diff)
downloadzig-0e71e6ee0fb5e1bace0a32b48961b358a1f47621.tar.gz
zig-0e71e6ee0fb5e1bace0a32b48961b358a1f47621.zip
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)
Diffstat (limited to 'src/codegen')
0 files changed, 0 insertions, 0 deletions