diff options
| author | Trevor Gross <t.gross35@gmail.com> | 2024-07-18 05:14:07 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-18 05:14:07 -0500 |
| commit | e4bc3d52bfd8cab10eb2a045e804be8ce885af05 (patch) | |
| tree | 2588456b556a70d26a4be34787151c0047e09a28 | |
| parent | e2e0681e3a400558e5fd9381f76b70fbb1c4735f (diff) | |
| parent | 72e22554caa473df6af10f0ab6c3c7c7c5ef8841 (diff) | |
| download | rust-e4bc3d52bfd8cab10eb2a045e804be8ce885af05.tar.gz rust-e4bc3d52bfd8cab10eb2a045e804be8ce885af05.zip | |
Rollup merge of #127864 - durin42:farewell-3dnow, r=nikic
cleanup: remove support for 3DNow! cpu features In llvm/llvm-project@f0eb5587ceeb641445b64cb264c822b4751de04a all support for 3DNow! intrinsics and instructions were removed. Per the commit message there, only AMD chips between 1998 and 2011 or so actually supported these instructions, and they were effectively replaced by SSE which was available on many more chips. I'd be very surprised if anyone had ever used these from Rust. `@rustbot` label: +llvm-main
| -rw-r--r-- | compiler/rustc_target/src/spec/targets/x86_64_unknown_none.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/compiler/rustc_target/src/spec/targets/x86_64_unknown_none.rs b/compiler/rustc_target/src/spec/targets/x86_64_unknown_none.rs index 4c67fa0f7aa..549706998d4 100644 --- a/compiler/rustc_target/src/spec/targets/x86_64_unknown_none.rs +++ b/compiler/rustc_target/src/spec/targets/x86_64_unknown_none.rs @@ -18,9 +18,7 @@ pub fn target() -> Target { relro_level: RelroLevel::Full, linker_flavor: LinkerFlavor::Gnu(Cc::No, Lld::Yes), linker: Some("rust-lld".into()), - features: - "-mmx,-sse,-sse2,-sse3,-ssse3,-sse4.1,-sse4.2,-3dnow,-3dnowa,-avx,-avx2,+soft-float" - .into(), + features: "-mmx,-sse,-sse2,-sse3,-ssse3,-sse4.1,-sse4.2,-avx,-avx2,+soft-float".into(), supported_sanitizers: SanitizerSet::KCFI | SanitizerSet::KERNELADDRESS, disable_redzone: true, panic_strategy: PanicStrategy::Abort, |
