------- Comment #6 from ubizjak at gmail dot com 2009-10-28 09:36 ------- Original testcase is now also fixed in mainline, on x86_64 compiles to (-O2):
madd: pmaddwd a(%rip), %xmm0 ret madd_swapped: pmaddwd a(%rip), %xmm0 ret .section .rodata .align 16 .type a, @object .size a, 16 a: .value -22725 .value -12873 .value -22725 .value -12873 .value -22725 .value -12873 .value -22725 .value -12873 -- ubizjak at gmail dot com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED Target Milestone|--- |4.5.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35714