This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/14552] compiled trivial vector intrinsic code is ineffiencent
- From: "uros at kss-loka dot si" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Jul 2005 08:42:16 -0000
- Subject: [Bug target/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 uros at kss-loka dot si 2005-07-21 08:42 -------
You can patch the mainline 4.1 compiler with the patch at
http://gcc.gnu.org/ml/gcc-patches/2005-07/msg01128.html. Patch (which is
currently awaiting a review) will make gcc to produce optimal code:
'gcc -O2 -mmmx -fomit-frame-pointer'
test:
movq w, %mm0
paddw %mm0, %mm0
movq %mm0, w
movq %mm0, dw
emms
ret
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |uros at kss-loka dot si
|dot org |
URL| |http://gcc.gnu.org/ml/gcc-
| |patches/2005-
| |07/msg01128.html
Status|NEW |ASSIGNED
Keywords| |patch
Last reconfirmed|2004-11-22 03:37:09 |2005-07-21 08:42:15
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14552