diff options
| author | Jakub Konka <kubkon@jakubkonka.com> | 2022-04-29 11:24:30 +0200 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2022-05-05 22:29:30 -0700 |
| commit | edb3adaa33f943d0c64071fbf9d43aadadaa1e95 (patch) | |
| tree | 0f29acb927328d61104e940d7a1d1d63d8013bfa /src/stage1/codegen.cpp | |
| parent | 413b789e06bfc98bd285f0a340bd537b1d2c9dec (diff) | |
| download | zig-edb3adaa33f943d0c64071fbf9d43aadadaa1e95.tar.gz zig-edb3adaa33f943d0c64071fbf9d43aadadaa1e95.zip | |
stage2,llvm: handle softfloats in @intToFloat and @floatToInt
If the hw doesn't have support for exotic floating-point types such
as `f80`, we lower the call to a compiler-rt function call instead.
I've added a behavior test specifically targeting this use case which
now passes on `aarch64-macos`.
Additionally, this commit makes it possible to successfully build
stage3 on `aarch64-macos`. We can print the compiler's help message,
however, building with it needs a little bit more love still.
Diffstat (limited to 'src/stage1/codegen.cpp')
0 files changed, 0 insertions, 0 deletions
