diff options
author | Kyrylo Tkachov <kyrylo.tkachov@arm.com> | 2018-12-18 12:55:44 +0000 |
---|---|---|
committer | Kyrylo Tkachov <ktkachov@gcc.gnu.org> | 2018-12-18 12:55:44 +0000 |
commit | 68d459d955db9c017d948397d70a0f4f03309e93 (patch) | |
tree | 0a7ef5e623dbc2421ee9dcb03045f89a0f1c7498 | |
parent | e7b78f7226d6ceda9468856ea613130edfe9fd1d (diff) | |
download | gcc-68d459d955db9c017d948397d70a0f4f03309e93.zip gcc-68d459d955db9c017d948397d70a0f4f03309e93.tar.gz gcc-68d459d955db9c017d948397d70a0f4f03309e93.tar.bz2 |
[testsuite] Enable vect_usad_char effective target for non-SVE aarch64
In GCC 9 the aarch64 port learned how to do V16QImode SAD operations on signed and unsigned chars.
But I had missed enabling the effective target for that.
This patch enables that target for non-SVE aarch64.
Two new tests now PASS on aarch64:
gcc.dg/vect/slp-reduc-sad.c
gcc.dg/vect/vect-reduc-sad.c
* lib/target-supports.exp (check_effective_target_vect_usad_char):
Add non-SVE aarch64 to supported list.
From-SVN: r267230
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/lib/target-supports.exp | 5 |
2 files changed, 9 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 1ed54f4..256d9d2 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2018-12-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com> + + * lib/target-supports.exp (check_effective_target_vect_usad_char): + Add non-SVE aarch64 to supported list. + 2018-12-18 Jakub Jelinek <jakub@redhat.com> PR target/88513 diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp index aade9d4..7dec432 100644 --- a/gcc/testsuite/lib/target-supports.exp +++ b/gcc/testsuite/lib/target-supports.exp @@ -5925,7 +5925,10 @@ proc check_effective_target_vect_udot_hi { } { proc check_effective_target_vect_usad_char { } { return [check_cached_effective_target_indexed vect_usad_char { - expr { [istarget i?86-*-*] || [istarget x86_64-*-*] }}] + expr { [istarget i?86-*-*] + || [istarget x86_64-*-*] + || ([istarget aarch64*-*-*] + && ![check_effective_target_aarch64_sve])}}] } # Return 1 if the target plus current options supports both signed |