Skip to content

Commit 1a7cc47

Browse files
authored
Merge pull request #2022 from fneddy/s390x_softfloat_abi
disable s390x vector intrinsics if softfloat is enabled
2 parents 6d61dc3 + 9e1f594 commit 1a7cc47

File tree

1 file changed

+5
-0
lines changed
  • crates/core_arch/src/s390x

1 file changed

+5
-0
lines changed

crates/core_arch/src/s390x/mod.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
33
pub(crate) mod macros;
44

5+
/// the float and vector registers overlap therefore we cannot use any vector
6+
/// extensions if softfloat is enabled.
7+
8+
#[cfg(not(target_abi = "softfloat"))]
59
mod vector;
10+
#[cfg(not(target_abi = "softfloat"))]
611
#[unstable(feature = "stdarch_s390x", issue = "130869")]
712
pub use self::vector::*;

0 commit comments

Comments
 (0)