------- Comment #3 from tim at klingt dot org 2009-01-13 15:26 ------- (In reply to comment #1) > Try -frename-registers.
i forgot to mention: the binaries are compiled with -O3 -mfpmath=sse -msse (4.2, 4.3 and 4.4). -frename-registers is enabled by -O3 (In reply to comment #2) > Note that your testcase has moved the load _mm_load_ps(in+4); before the > store _mm_store_ps(out, result); which the compiler cannot do itself because > they may alias. i see ... however the generated code is the same, when using restricted pointers to inform the compiler, that there is no aliasing problem -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38825