--- Comment #4 from pinskia at gcc dot gnu dot org 2008-12-27 05:53 ---
*** Bug 37579 has been marked as a duplicate of this bug. ***
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37194
--- Comment #3 from dorit at gcc dot gnu dot org 2008-08-22 13:31 ---
(In reply to comment #2)
> The x86_64 generated code looks like
...
> I wonder why we do not use movups instead.
> t.i:3: note: Alignment of access forced using peeling.
> t.i:3: note: Peeling for alignment will be app
--- Comment #2 from rguenth at gcc dot gnu dot org 2008-08-22 09:53 ---
The x86_64 generated code looks like
ggSpectrum_Set:
.LFB0:
.cfi_startproc
movq%rdi, %rax
xorl%ecx, %ecx
movq%rdi, %rdx
andl$15, %eax
shrq$2, %rax
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-08-21 19:32 ---
Confirmed, this is true for the Cell too. In fact is bad for the cell because
of:
stfs 1,16(1)
cmpwi 7,0,0
li 0,16
slwi 9,9,2
li 11,0
add 9,3,9
lvewx 0,1,0