S/390: Enable 64 bit atomic tests with -m31 -mzarch.
gcc/testsuite/ChangeLog: 2015-12-02 Andreas Krebbel <krebbel@linux.vnet.ibm.com> * lib/target-supports.exp: Add s390 and s390x to the list of long long atomic targets. From-SVN: r231151
This commit is contained in:
parent
6525fb87c9
commit
a233c89144
@ -1,3 +1,8 @@
|
|||||||
|
2015-12-02 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
|
||||||
|
|
||||||
|
* lib/target-supports.exp: Add s390 and s390x to the list of long
|
||||||
|
long atomic targets.
|
||||||
|
|
||||||
2015-12-02 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
|
2015-12-02 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
|
||||||
|
|
||||||
* gcc.dg/optimize-bswapdi-1.c: Force using -mzarch on s390 and
|
* gcc.dg/optimize-bswapdi-1.c: Force using -mzarch on s390 and
|
||||||
|
@ -5404,6 +5404,7 @@ proc check_effective_target_sync_int_128_runtime { } {
|
|||||||
# Return 1 if the target supports atomic operations on "long long".
|
# Return 1 if the target supports atomic operations on "long long".
|
||||||
#
|
#
|
||||||
# Note: 32bit x86 targets require -march=pentium in dg-options.
|
# 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 { } {
|
proc check_effective_target_sync_long_long { } {
|
||||||
if { [istarget x86_64-*-*] || [istarget i?86-*-*])
|
if { [istarget x86_64-*-*] || [istarget i?86-*-*])
|
||||||
@ -5411,6 +5412,7 @@ proc check_effective_target_sync_long_long { } {
|
|||||||
|| [istarget arm*-*-*]
|
|| [istarget arm*-*-*]
|
||||||
|| [istarget alpha*-*-*]
|
|| [istarget alpha*-*-*]
|
||||||
|| ([istarget sparc*-*-*] && [check_effective_target_lp64])
|
|| ([istarget sparc*-*-*] && [check_effective_target_lp64])
|
||||||
|
|| [istarget s390*-*-*]
|
||||||
|| [istarget spu-*-*] } {
|
|| [istarget spu-*-*] } {
|
||||||
return 1
|
return 1
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user