Displaying 2 results from an estimated 2 matches for "o2fm".
2017 Sep 29
2
Trouble when suppressing a portion of fast-math-transformations
...no-op).
The old Clang behavior has the following two commands being nearly identical
(they generate essentially equivalent code -- just some minor register
change):
$ # Old Clang behavior:
$ # No significant difference when -fno-reciprocal-math is added (as desired)
$ clang -S -O2 -ffast-math -o O2fm.s mandelbrot.c
$ clang -S -O2 -ffast-math -fno-reciprocal-math -o O2fm.no_arcp.s mandelbrot.c
$ diff O2fm.s O2fm.no_arcp.s | wc
4 10 56
$
That is, as expected/desired, the '-fno-reciprocal-math' switch has essentially
no impact on this, since there are no reciprocal transfo...
2017 Sep 29
0
Trouble when suppressing a portion of fast-math-transformations
...ds being nearly
> identical
>
> (they generate essentially equivalent code -- just some minor register
>
> change):
>
> $ # Old Clang behavior:
>
> $ # No significant difference when –fno-reciprocal-math is added (as
> desired)
>
> $ clang -S -O2 -ffast-math -o O2fm.s mandelbrot.c
>
> $ clang -S -O2 -ffast-math -fno-reciprocal-math -o O2fm.no_arcp.s
> mandelbrot.c
>
> $ diff O2fm.s O2fm.no_arcp.s | wc
>
> 4 10 56
>
> $
>
> That is, as expected/desired, the '-fno-reciprocal-math' switch has
> essentially
&...