aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/lib/target-supports.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/lib/target-supports.exp')
-rw-r--r--gcc/testsuite/lib/target-supports.exp4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp
index 2275fd3f44c..4e349e9832e 100644
--- a/gcc/testsuite/lib/target-supports.exp
+++ b/gcc/testsuite/lib/target-supports.exp
@@ -5404,6 +5404,7 @@ proc check_effective_target_sync_int_128_runtime { } {
# Return 1 if the target supports atomic operations on "long long".
#
# Note: 32bit x86 targets require -march=pentium in dg-options.
+# Note: 32bit s390 targets require -mzarch in dg-options.
proc check_effective_target_sync_long_long { } {
if { [istarget x86_64-*-*] || [istarget i?86-*-*])
@@ -5411,6 +5412,7 @@ proc check_effective_target_sync_long_long { } {
|| [istarget arm*-*-*]
|| [istarget alpha*-*-*]
|| ([istarget sparc*-*-*] && [check_effective_target_lp64])
+ || [istarget s390*-*-*]
|| [istarget spu-*-*] } {
return 1
} else {
@@ -5543,6 +5545,8 @@ proc check_effective_target_bswap32 { } {
}
# Return 1 if the target supports 64-bit byte swap instructions.
+#
+# Note: 32bit s390 targets require -mzarch in dg-options.
proc check_effective_target_bswap64 { } {
global et_bswap64_saved