[Bug middle-end/64247] malloc alignment and -mavx

Joost.VandeVondele at mat dot ethz.ch gcc-bugzilla@gcc.gnu.org
Thu Dec 11 16:29:00 GMT 2014


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64247

Joost VandeVondele <Joost.VandeVondele at mat dot ethz.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|program result depends on   |malloc alignment and -mavx
                   |environment ?               |

--- Comment #4 from Joost VandeVondele <Joost.VandeVondele at mat dot ethz.ch> ---
I think we isolated the issue. With -mavx the numerical results seem to depend
on the precise alignment of allocated data from malloc, i.e. 16 or 32  (..E0 or
F0) byte are not equivalent. As a result, the results from our code fluctuate
randomly from run to run. Does that make sense ?



More information about the Gcc-bugs mailing list