Commit fe4b53b2 by Andrew Stubbs

testsuite: adjustments for amdgcn

2020-03-25  Andrew Stubbs  <ams@codesourcery.com>

	gcc/testsuite/
	* gcc.dg/vect/bb-slp-pr69907.c: Disable the dump scan for amdgcn.
	* lib/target-supports.exp (check_effective_target_vect_unpack):
	Add amdgcn.
parent 48817fbd
2020-03-25 Andrew Stubbs <ams@codesourcery.com>
* gcc.dg/vect/bb-slp-pr69907.c: Disable the dump scan for amdgcn.
* lib/target-supports.exp (check_effective_target_vect_unpack):
Add amdgcn.
2020-03-25 Jakub Jelinek <jakub@redhat.com> 2020-03-25 Jakub Jelinek <jakub@redhat.com>
PR target/94292 PR target/94292
......
...@@ -19,5 +19,6 @@ void foo(unsigned *p1, unsigned short *p2) ...@@ -19,5 +19,6 @@ void foo(unsigned *p1, unsigned short *p2)
/* Disable for SVE because for long or variable-length vectors we don't /* Disable for SVE because for long or variable-length vectors we don't
get an unrolled epilogue loop. Also disable for AArch64 Advanced SIMD, get an unrolled epilogue loop. Also disable for AArch64 Advanced SIMD,
because there we can vectorize the epilogue using mixed vector sizes. */ because there we can vectorize the epilogue using mixed vector sizes.
/* { dg-final { scan-tree-dump "BB vectorization with gaps at the end of a load is not supported" "slp1" { target { ! aarch64*-*-* } } } } */ Likewise for AMD GCN. */
/* { dg-final { scan-tree-dump "BB vectorization with gaps at the end of a load is not supported" "slp1" { target { { ! aarch64*-*-* } && { ! amdgcn*-*-* } } } } } */
...@@ -6717,7 +6717,8 @@ proc check_effective_target_vect_unpack { } { ...@@ -6717,7 +6717,8 @@ proc check_effective_target_vect_unpack { } {
|| ([istarget arm*-*-*] && [check_effective_target_arm_neon_ok] || ([istarget arm*-*-*] && [check_effective_target_arm_neon_ok]
&& [check_effective_target_arm_little_endian]) && [check_effective_target_arm_little_endian])
|| ([istarget s390*-*-*] || ([istarget s390*-*-*]
&& [check_effective_target_s390_vx]) }}] && [check_effective_target_s390_vx])
|| [istarget amdgcn*-*-*] }}]
} }
# Return 1 if the target plus current options does not guarantee # Return 1 if the target plus current options does not guarantee
......
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