diff options
| author | Jakub Konka <kubkon@jakubkonka.com> | 2022-04-16 01:55:41 +0200 |
|---|---|---|
| committer | Jakub Konka <kubkon@jakubkonka.com> | 2022-04-16 12:23:47 +0200 |
| commit | 897df18573c951b49fb6421a9e1b711cabfeda67 (patch) | |
| tree | e365e821f2c0b7f9e678e767671ce14dee885b54 /src/codegen | |
| parent | 1b5a43fdf71e596247ce0f730206c597b425be3e (diff) | |
| download | zig-897df18573c951b49fb6421a9e1b711cabfeda67.tar.gz zig-897df18573c951b49fb6421a9e1b711cabfeda67.zip | |
stage2: fix @mulAdd on aarch64 Darwin
According to Apple docs, the long double type is a double precision
IEEE754 binary floating-point type, which makes it identical to the
double type. This behavior contrasts to the standard specification,
in which a long double is a quad-precision, IEEE754 binary,
floating-point type.
Thus, we need to take this into account when using the compiler
intrinsics so that we select the correct function version for
FloatMulAdd.
Diffstat (limited to 'src/codegen')
0 files changed, 0 insertions, 0 deletions
