[Bug target/27842] Miscompile of Altivec vec_abs (float) inside loop

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed May 31 17:13:00 GMT 2006



------- 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



More information about the Gcc-bugs mailing list