diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2022-07-13 13:14:37 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2022-07-13 13:14:37 -0700 |
| commit | 92bc3cbe27792be0300fb5f104c011a11f3cf40f (patch) | |
| tree | 8d9e7f2df29a824d104cfa01d2eb832d456554aa /src/codegen/llvm.zig | |
| parent | 35e70111248f795fbdcefd5ae0d6fc494d1b0683 (diff) | |
| download | zig-92bc3cbe27792be0300fb5f104c011a11f3cf40f.tar.gz zig-92bc3cbe27792be0300fb5f104c011a11f3cf40f.zip | |
stage2: fix comptime bitcast involving f80
* Sema: implement comptime bitcast of f80 with integer-like types
bitwise rather than taking a round trip through memory layout.
* Type: introduce `isAbiInt`.
* Value: comptime memory write of f80 writes 0 bytes for padding
instead of leaving the memory uninitialized.
* Value: floatReadFromMemory has a more general implementation, checking
the endianness rather than checking for specific architectures.
This fixes behavior test failures occurring on MIPS.
Diffstat (limited to 'src/codegen/llvm.zig')
0 files changed, 0 insertions, 0 deletions
