This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug optimization/14552] compiled trivial vector intrinsic code is ineffiencent
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Mar 2004 16:38:01 -0000
- Subject: [Bug optimization/14552] compiled trivial vector intrinsic code is ineffiencent
- References: <20040312131535.14552.michaelni@gmx.at>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-03-12 16:38 -------
Using a tempary variable I can get it down to 5 instructions (including the return):
movq w, %mm0
psllw $1, %mm0
movq %mm0, dw
movq %mm0, w
ret
The problem is that global variables create the pessimize code so this is a dup of bug 12395.
*** This bug has been marked as a duplicate of 12395 ***
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14552