This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/27006] [4.1/4.2 Regression] Invalid altivec constant loading code
- From: "bonzini at gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Apr 2006 10:56:14 -0000
- Subject: [Bug target/27006] [4.1/4.2 Regression] Invalid altivec constant loading code
- References: <bug-27006-1501@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from bonzini at gnu dot org 2006-04-06 10:56 -------
For 4.1 I'd surely go with Ulrich's patch. And for 4.2 I think that it starts
being too expensive to have two vsplat and two adds.
vspltisw 0,15
vspltisw 1,1
vadduwm 0,0,0
vadduwm 0,0,1
Ulrich, can you prepare a patch or should I do so?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27006