[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] ffast-math
From: |
Johannes Demel |
Subject: |
Re: [Discuss-gnuradio] ffast-math |
Date: |
Mon, 2 Sep 2019 13:25:12 +0000 |
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
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>