Thread: YAFU 2.0
View Single Post
Old 2021-08-16, 21:53   #164
charybdis's Avatar
Apr 2020

2×3×7×13 Posts

Originally Posted by bsquared View Post
Thanks for the detailed info. Looks like gcc-10 is having problems aligning some data, which comes into play once input numbers are big enough to start using avx2 inline assembly. There may be gcc options that force alignment, or you can not use avx2, as you discovered, which is probably the best option for now. I have not seen the same problems with icc or gcc-11.1.0 or gcc-7.3.0. Sorry I can't be of more help.
This must be very specific to gcc-10: I was using 9.3.0 when I tried and failed to reproduce this. Looks like installing a second gcc version (with the necessary care, of course) would be an alternative solution to the problem.
charybdis is offline   Reply With Quote