Commit 68d459d9 by Kyrylo Tkachov Committed by Kyrylo Tkachov

[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
parent e7b78f72
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
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment