This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/27842] Miscompile of Altivec vec_abs (float) inside loop
- 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: 31 May 2006 17:13:44 -0000
- Subject: [Bug target/27842] Miscompile of Altivec vec_abs (float) inside loop
- References: <bug-27842-1501@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from pinskia at gcc dot gnu dot org 2006-05-31 17:13 -------
What about this, deleting altivec_vspltisw_v4sf and changing all references to
gen_altivec_vspltisw_v4sf
to something like
gen_altivec_vspltisw( gen_lowpart (V4SImode, reg), ...);
That should keep the same code and correct the problem (and should help out
with some code gen in some cases).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27842