aboutsummaryrefslogtreecommitdiff
path: root/src/Compilation.zig
diff options
context:
space:
mode:
authorJakub Konka <kubkon@jakubkonka.com>2022-04-16 01:55:41 +0200
committerJakub Konka <kubkon@jakubkonka.com>2022-04-16 12:23:47 +0200
commit897df18573c951b49fb6421a9e1b711cabfeda67 (patch)
treee365e821f2c0b7f9e678e767671ce14dee885b54 /src/Compilation.zig
parent1b5a43fdf71e596247ce0f730206c597b425be3e (diff)
downloadzig-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/Compilation.zig')
0 files changed, 0 insertions, 0 deletions