diff options
author | Michael Hudson-Doyle <michael.hudson@linaro.org> | 2013-10-17 15:46:39 +0000 |
---|---|---|
committer | Marcus Shawcroft <mshawcroft@gcc.gnu.org> | 2013-10-17 15:46:39 +0000 |
commit | fbb1d5dc51653826af3cea25dbf798969a18110f (patch) | |
tree | c9d2235694038624cc19030809fd98e698379a12 | |
parent | e952450aab6f37c9b15561033a09589a4870513d (diff) | |
download | gcc-fbb1d5dc51653826af3cea25dbf798969a18110f.zip gcc-fbb1d5dc51653826af3cea25dbf798969a18110f.tar.gz gcc-fbb1d5dc51653826af3cea25dbf798969a18110f.tar.bz2 |
[AArch64] Enable effective_target_sync_long_long*
From-SVN: r203773
-rw-r--r-- | gcc/testsuite/ChangeLog | 8 | ||||
-rw-r--r-- | gcc/testsuite/lib/target-supports.exp | 3 |
2 files changed, 11 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index dce8a58..a3646d4 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,11 @@ +2013-10-17 Michael Hudson-Doyle <michael.hudson@linaro.org> + + * 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 <rguenther@suse.de> PR tree-optimization/58143 diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp index 7eb4dfe..5557c06 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 <stdlib.h> |