Displaying 1 result from an estimated 1 matches for "1062198".
Did you mean:
1060198
2017 Mar 15
5
[RFC] FP Contract = fast?
Folks,
I've been asking around people about the state of FP contract, which
seems to be "on" but it's not really behaving like it, at least not as
I would expect:
int foo(float a, float b, float c) { return a*b+c; }
$ clang -target aarch64-linux-gnu -O2 -S fma.c -ffp-contract=on -o -
(...)
fmul s0, s0, s1
fadd s0, s0, s2
(...)
$ clang -target aarch64-linux-gnu -O2 -S fma.c