Skip to content

Commit e4bc3d5

Browse files
authored
Rollup merge of #127864 - durin42:farewell-3dnow, r=nikic
cleanup: remove support for 3DNow! cpu features In llvm/llvm-project@f0eb558 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
2 parents e2e0681 + 72e2255 commit e4bc3d5

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

compiler/rustc_target/src/spec/targets/x86_64_unknown_none.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@ pub fn target() -> Target {
1818
relro_level: RelroLevel::Full,
1919
linker_flavor: LinkerFlavor::Gnu(Cc::No, Lld::Yes),
2020
linker: Some("rust-lld".into()),
21-
features:
22-
"-mmx,-sse,-sse2,-sse3,-ssse3,-sse4.1,-sse4.2,-3dnow,-3dnowa,-avx,-avx2,+soft-float"
23-
.into(),
21+
features: "-mmx,-sse,-sse2,-sse3,-ssse3,-sse4.1,-sse4.2,-avx,-avx2,+soft-float".into(),
2422
supported_sanitizers: SanitizerSet::KCFI | SanitizerSet::KERNELADDRESS,
2523
disable_redzone: true,
2624
panic_strategy: PanicStrategy::Abort,

0 commit comments

Comments
 (0)