[AArch64] Enable effective_target_sync_long_long*

From-SVN: r203773
This commit is contained in:
Michael Hudson-Doyle 2013-10-17 15:46:39 +00:00 committed by Marcus Shawcroft
parent e952450aab
commit fbb1d5dc51
2 changed files with 11 additions and 0 deletions

View File

@ -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

View File

@ -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>