Support 128-bit atomics on all x86_64 Apple targets
This commit is contained in:
parent
ad8304a0d5
commit
0a61bc4d36
@ -13,7 +13,7 @@ pub fn target() -> Target {
|
|||||||
.into(),
|
.into(),
|
||||||
arch: arch.target_arch(),
|
arch: arch.target_arch(),
|
||||||
options: TargetOptions {
|
options: TargetOptions {
|
||||||
max_atomic_width: Some(64),
|
max_atomic_width: Some(128),
|
||||||
stack_probes: StackProbeType::X86,
|
stack_probes: StackProbeType::X86,
|
||||||
..base
|
..base
|
||||||
},
|
},
|
||||||
|
@ -15,7 +15,7 @@ pub fn target() -> Target {
|
|||||||
.into(),
|
.into(),
|
||||||
arch: arch.target_arch(),
|
arch: arch.target_arch(),
|
||||||
options: TargetOptions {
|
options: TargetOptions {
|
||||||
max_atomic_width: Some(64),
|
max_atomic_width: Some(128),
|
||||||
stack_probes: StackProbeType::X86,
|
stack_probes: StackProbeType::X86,
|
||||||
..base
|
..base
|
||||||
},
|
},
|
||||||
|
@ -9,7 +9,7 @@ pub fn target() -> Target {
|
|||||||
data_layout: "e-m:o-i64:64-f80:128-n8:16:32:64-S128".into(),
|
data_layout: "e-m:o-i64:64-f80:128-n8:16:32:64-S128".into(),
|
||||||
arch: arch.target_arch(),
|
arch: arch.target_arch(),
|
||||||
options: TargetOptions {
|
options: TargetOptions {
|
||||||
max_atomic_width: Some(64),
|
max_atomic_width: Some(128),
|
||||||
stack_probes: StackProbeType::X86,
|
stack_probes: StackProbeType::X86,
|
||||||
..opts("tvos", arch)
|
..opts("tvos", arch)
|
||||||
},
|
},
|
||||||
|
@ -10,7 +10,7 @@ pub fn target() -> Target {
|
|||||||
.into(),
|
.into(),
|
||||||
arch: arch.target_arch(),
|
arch: arch.target_arch(),
|
||||||
options: TargetOptions {
|
options: TargetOptions {
|
||||||
max_atomic_width: Some(64),
|
max_atomic_width: Some(128),
|
||||||
stack_probes: StackProbeType::X86,
|
stack_probes: StackProbeType::X86,
|
||||||
forces_embed_bitcode: true,
|
forces_embed_bitcode: true,
|
||||||
// Taken from a clang build on Xcode 11.4.1.
|
// Taken from a clang build on Xcode 11.4.1.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user