# stage2,llvm: handle softfloats in @intToFloat and @floatToInt · gitcafe/zig

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

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

Visibility: public

Requested revision: edb3adaa33f943d0c64071fbf9d43aadadaa1e95

Requested commit: edb3adaa33f943d0c64071fbf9d43aadadaa1e95

Commit: edb3adaa33f943d0c64071fbf9d43aadadaa1e95

Tree: 0f29acb927328d61104e940d7a1d1d63d8013bfa

Author: Jakub Konka

Committer: Andrew Kelley

## Message

```
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.

```

## Parents

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

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