Commit fbb1d5dc by Michael Hudson-Doyle Committed by Marcus Shawcroft

[AArch64] Enable effective_target_sync_long_long*

From-SVN: r203773
parent e952450a
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
......
......@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment