about summary refs log tree commit diff
path: root/compiler/rustc_span/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-02-12 23:18:54 +0100
committerGitHub <noreply@github.com>2024-02-12 23:18:54 +0100
commit7075502b15404ce57fa281491bc69fbc60f3ade3 (patch)
tree6d27d27794c2117e5f73d9f5f559af5449c8c569 /compiler/rustc_span/src
parentcb0d74be28733e4d9bc8340be17087f5d2037d45 (diff)
parent83a850f2a1259eb05ef444c81bcb5869d6dbf336 (diff)
downloadrust-7075502b15404ce57fa281491bc69fbc60f3ade3.tar.gz
rust-7075502b15404ce57fa281491bc69fbc60f3ade3.zip
Rollup merge of #120965 - ChrisDenton:sahf, r=michaelwoerister
Add lahfsahf and prfchw target feature

This adds target features for LAHF/SAHF and PrefetchW. These came up. along with the existing CMPXCHG16b. as [baseline features](https://download.microsoft.com/download/c/1/5/c150e1ca-4a55-4a7e-94c5-bfc8c2e785c5/Windows%2010%20Minimum%20Hardware%20Requirements.pdf) required for x86_64 Windows 10+.
Diffstat (limited to 'compiler/rustc_span/src')
-rw-r--r--compiler/rustc_span/src/symbol.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_span/src/symbol.rs b/compiler/rustc_span/src/symbol.rs
index b01f184792b..134aa9efc01 100644
--- a/compiler/rustc_span/src/symbol.rs
+++ b/compiler/rustc_span/src/symbol.rs
@@ -934,6 +934,7 @@ symbols! {
         kreg0,
         label,
         label_break_value,
+        lahfsahf_target_feature,
         lang,
         lang_items,
         large_assignments,
@@ -1242,6 +1243,7 @@ symbols! {
         prelude,
         prelude_import,
         preserves_flags,
+        prfchw_target_feature,
         print_macro,
         println_macro,
         proc_dash_macro: "proc-macro",