diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index dce8a58de8c..a3646d4bd03 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,11 @@ +2013-10-17 Michael Hudson-Doyle + + * gcc/testsuite/lib/target-supports.exp + (check_effective_target_sync_long_long): AArch64 supports + atomic operations on "long long". + (check_effective_target_sync_long_long_runtime): AArch64 can + execute atomic operations on "long long". + 2013-10-17 Richard Biener PR tree-optimization/58143 diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp index 7eb4dfeec0e..5557c066a7f 100644 --- a/gcc/testsuite/lib/target-supports.exp +++ b/gcc/testsuite/lib/target-supports.exp @@ -4508,6 +4508,7 @@ proc check_effective_target_sync_int_128_runtime { } { proc check_effective_target_sync_long_long { } { if { [istarget x86_64-*-*] || [istarget i?86-*-*]) + || [istarget aarch64*-*-*] || [istarget arm*-*-*] || [istarget alpha*-*-*] || ([istarget sparc*-*-*] && [check_effective_target_lp64]) } { @@ -4537,6 +4538,8 @@ proc check_effective_target_sync_long_long_runtime { } { } } "" }] + } elseif { [istarget aarch64*-*-*] } { + return 1 } elseif { [istarget arm*-*-linux-*] } { return [check_runtime sync_longlong_runtime { #include