Commit c5e7e64
committed
[AArch64][Clang][Linux] Enable out-of-line atomics by default.
Generate outline atomics if compiling for armv8-a non-LSE AArch64 Linux
(including Android) targets to use LSE instructions, if they are available,
at runtime. Library support is checked by clang driver which doesn't enable
outline atomics if no proper libraries (libgcc >= 9.3.1 or compiler-rt) found.
Differential Revision: https://reviews.llvm.org/D935851 parent 010b176 commit c5e7e64
File tree
13 files changed
+82
-0
lines changed- clang
- include/clang/Driver
- lib/Driver/ToolChains
- test/Driver
- Inputs/aarch64-linux-gnu-tree
- gcc-10/lib/gcc/aarch64-unknown-linux-gnu/10
- gcc-7.5.0/lib/gcc/aarch64-unknown-linux-gnu/7.5.0
- gcc-9.3.0/lib/gcc/aarch64-unknown-linux-gnu/9.3.0
- gcc-9.3.1/lib/gcc/aarch64-unknown-linux-gnu/9.3.1
13 files changed
+82
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
456 | 456 | | |
457 | 457 | | |
458 | 458 | | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
459 | 465 | | |
460 | 466 | | |
461 | 467 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6500 | 6500 | | |
6501 | 6501 | | |
6502 | 6502 | | |
| 6503 | + | |
| 6504 | + | |
| 6505 | + | |
| 6506 | + | |
6503 | 6507 | | |
6504 | 6508 | | |
6505 | 6509 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
836 | 836 | | |
837 | 837 | | |
838 | 838 | | |
| 839 | + | |
| 840 | + | |
| 841 | + | |
| 842 | + | |
| 843 | + | |
| 844 | + | |
| 845 | + | |
| 846 | + | |
| 847 | + | |
| 848 | + | |
| 849 | + | |
| 850 | + | |
| 851 | + | |
839 | 852 | | |
840 | 853 | | |
841 | 854 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
39 | 41 | | |
40 | 42 | | |
41 | 43 | | |
| |||
0 commit comments