--- Comment #4 from bonzini at gnu dot org 2009-01-31 16:23 ---
I see optimal code with trunk:
.LFB8:
movaps %xmm1, %xmm4
shrl$2, %edx
mov %edx, %edx
xorl%eax, %eax
addss %xmm0, %xmm4
movaps %xmm4, %xmm3
unpcklps
--- Comment #3 from bonzini at gnu dot org 2009-01-31 15:39 ---
In both versions there's some pessimization in the expansion of _mm_set_ps and
_mm_set_ps1. It's probably easier to fix than the regression.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38682
--- Comment #2 from bonzini at gnu dot org 2009-01-31 14:33 ---
??? Andrew, there's 11 vs. 12 instructions.
--
bonzini at gnu dot org changed:
What|Removed |Added
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
Priority|P3 |P2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38682
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
Severity|enhancement |normal
Keywords||missed-optimiz
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
Target Milestone|--- |4.4.0
Version|unknown |4.4.0
http://
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-12-31 15:34 ---
This is a target issue really. The number and type of instructions is the
same. The difference is just a little reassociation in the addition.
--
pinskia at gcc dot gnu dot org changed:
What|Rem