diff options
author | Richard Sandiford <rdsandiford@googlemail.com> | 2012-01-24 19:40:52 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2012-01-24 19:40:52 +0000 |
commit | fbbf1bf0ebc882450591096da16ed130827d6077 (patch) | |
tree | 5ea4d1ff08d09204237852d461d6081bf244f156 | |
parent | 63b9d91a98160e6cad185edaeeda8555a61b5d28 (diff) | |
download | gcc-fbbf1bf0ebc882450591096da16ed130827d6077.zip gcc-fbbf1bf0ebc882450591096da16ed130827d6077.tar.gz gcc-fbbf1bf0ebc882450591096da16ed130827d6077.tar.bz2 |
gcc/testsuite/
* lib/target-supports.exp (proc check_effective_target_vect_perm)
(check_effective_target_vect_extract_even_odd)
(check_effective_target_vect_interleave): Return true for MIPS
paired-single.
From-SVN: r183493
-rw-r--r-- | gcc/testsuite/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/testsuite/lib/target-supports.exp | 14 |
2 files changed, 17 insertions, 4 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 2d3bc65..645002b 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,12 @@ 2012-01-24 Richard Sandiford <rdsandiford@googlemail.com> + * lib/target-supports.exp (proc check_effective_target_vect_perm) + (check_effective_target_vect_extract_even_odd) + (check_effective_target_vect_interleave): Return true for MIPS + paired-single. + +2012-01-24 Richard Sandiford <rdsandiford@googlemail.com> + * gcc.c-torture/execute/scal-to-vec1.c (one): New volatile variable. (main): Use it instead of argc. diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp index 2747089..b192779 100644 --- a/gcc/testsuite/lib/target-supports.exp +++ b/gcc/testsuite/lib/target-supports.exp @@ -2759,7 +2759,9 @@ proc check_effective_target_vect_perm { } { || [istarget powerpc*-*-*] || [istarget spu-*-*] || [istarget i?86-*-*] - || [istarget x86_64-*-*] } { + || [istarget x86_64-*-*] + || ([istarget mips*-*-*] + && [check_effective_target_mpaired_single]) } { set et_vect_perm_saved 1 } } @@ -3484,8 +3486,10 @@ proc check_effective_target_vect_extract_even_odd { } { || [istarget i?86-*-*] || [istarget x86_64-*-*] || [istarget ia64-*-*] - || [istarget spu-*-*] } { - set et_vect_extract_even_odd_saved 1 + || [istarget spu-*-*] + || ([istarget mips*-*-*] + && [check_effective_target_mpaired_single]) } { + set et_vect_extract_even_odd_saved 1 } } @@ -3507,7 +3511,9 @@ proc check_effective_target_vect_interleave { } { || [istarget i?86-*-*] || [istarget x86_64-*-*] || [istarget ia64-*-*] - || [istarget spu-*-*] } { + || [istarget spu-*-*] + || ([istarget mips*-*-*] + && [check_effective_target_mpaired_single]) } { set et_vect_interleave_saved 1 } } |