Comment 8 for bug 1663280

Revision history for this message
In , Oleg (oleg-redhat-bugs) wrote :

Hi Carlos,

Many thanks for looking into this! Could you please confirm that you used the following command to compile pow test with gcc:

$ gcc -O3 -march=x86-64 -mavx -o pow pow.c -lm

Passing -mavx is the key thing for this example to work as expected. You want to compile pow() test WITH -mavx but exp() test WITHOUT -mavx.

I'd also appreciate if you tell me on which CPU you do testing. It's impossible for me run this test on every possible CPU (tried on Sandy Bridge and Ivy Bridge machines so far) and this information would be really helpful.

Thanks!