[Bug optimization/14552] compiled trivial vector intrinsic code contains nearly twice as many instructions as needed
michaelni at gmx dot at
gcc-bugzilla@gcc.gnu.org
Fri Mar 12 16:26:00 GMT 2004
------- Additional Comments From michaelni at gmx dot at 2004-03-12 16:26 -------
sorry, no thats not the same code, it has 1 instruction more, uses a shift
instead of a addition and writes the value to memory and reads it
immedeatly afterwards, anyway iam not surprised that the bugreport got
closed immedeatly
gcc:
movq w, %mm1
psllw $1, %mm1 <-------
movq %mm1, w
movq w, %mm0 <------
movq %mm0, dw
human:
movq w, %mm1
paddw %mm1,%mm1
movq %mm1, w
movq %mm1,dw
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14552
More information about the Gcc-bugs
mailing list