]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR target/27842 (Miscompile of Altivec vec_abs (float) inside loop)
authorUlrich Weigand <uweigand@de.ibm.com>
Tue, 6 Jun 2006 17:01:27 +0000 (17:01 +0000)
committerUlrich Weigand <uweigand@gcc.gnu.org>
Tue, 6 Jun 2006 17:01:27 +0000 (17:01 +0000)
commit8cf0db2bcd9ed44aebb664815717294b4c9affc5
treeda37bb730304b618f9e7594aa00a76fcc99fbba5
parent696dad4b6bbaf23576e59546d1bd3e93dd0e96c4
re PR target/27842 (Miscompile of Altivec vec_abs (float) inside loop)

PR target/27842
* config/rs6000/altivec.md (UNSPEC_VSLW): Remove.
("altivec_vspltisw_v4sf", "altivec_vslw_v4sf"): Remove.
("mulv4sf3", "absv4sf3", "negv4sf3"): Adapt users to use
V4SImode temporaries and operations instead.

PR target/27842
* gcc.dg/vmx/pr27842.c: New test.

From-SVN: r114438
gcc/ChangeLog
gcc/config/rs6000/altivec.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vmx/pr27842.c [new file with mode: 0644]