Monday, September 2, 2019

Re: [Discuss-gnuradio] ffast-math

Hi Albin,

one of my students reported a little oddity about `-ffast-math`. Assume
you want to set a float to -0, i.e. set the sign bit only. In this case
`-ffast-math` seems to remove the sign bit.

In VOLK this might be an issue with `_mm256_conjugate_ps` in
`include/volk/volk_avx_intrinsics.h`. I didn't check for other potential
error sources.

Cheers
Johannes

Am 01.09.19 um 16:10 schrieb Albin Stigö:
> Anyone has experience with the real world impact of using gcc
> -ffast-math with SDR in general, and GNURadio/Volk in particular?
>
>
> --Albin SM6WJM
>
> _______________________________________________
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

No comments:

Post a Comment