mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 06:44:35 +00:00
Support 128-bit atomics on s390x
This commit is contained in:
parent
b7b9453ea7
commit
078b067c0d
@ -10,7 +10,7 @@ pub(crate) fn target() -> Target {
|
|||||||
// ABI. Pass the -vector feature string to LLVM to respect this assumption. On LLVM < 16, we
|
// ABI. Pass the -vector feature string to LLVM to respect this assumption. On LLVM < 16, we
|
||||||
// also strip v128 from the data_layout below to match the older LLVM's expectation.
|
// also strip v128 from the data_layout below to match the older LLVM's expectation.
|
||||||
base.features = "-vector".into();
|
base.features = "-vector".into();
|
||||||
base.max_atomic_width = Some(64);
|
base.max_atomic_width = Some(128);
|
||||||
base.min_global_align = Some(16);
|
base.min_global_align = Some(16);
|
||||||
base.stack_probes = StackProbeType::Inline;
|
base.stack_probes = StackProbeType::Inline;
|
||||||
base.supported_sanitizers =
|
base.supported_sanitizers =
|
||||||
|
@ -10,7 +10,7 @@ pub(crate) fn target() -> Target {
|
|||||||
// ABI. Pass the -vector feature string to LLVM to respect this assumption. On LLVM < 16, we
|
// ABI. Pass the -vector feature string to LLVM to respect this assumption. On LLVM < 16, we
|
||||||
// also strip v128 from the data_layout below to match the older LLVM's expectation.
|
// also strip v128 from the data_layout below to match the older LLVM's expectation.
|
||||||
base.features = "-vector".into();
|
base.features = "-vector".into();
|
||||||
base.max_atomic_width = Some(64);
|
base.max_atomic_width = Some(128);
|
||||||
base.min_global_align = Some(16);
|
base.min_global_align = Some(16);
|
||||||
base.static_position_independent_executables = true;
|
base.static_position_independent_executables = true;
|
||||||
base.stack_probes = StackProbeType::Inline;
|
base.stack_probes = StackProbeType::Inline;
|
||||||
|
Loading…
Reference in New Issue
Block a user