Add lahfsahf and prfchw target feature

This commit is contained in:
Chris Denton 2024-02-12 09:06:45 -03:00
parent aebf4511e9
commit 83a850f2a1
No known key found for this signature in database
GPG key ID: 713472F2F45627DE
8 changed files with 13 additions and 2 deletions

View file

@ -213,6 +213,7 @@ pub fn to_llvm_features<'a>(sess: &Session, s: &'a str) -> LLVMFeature<'a> {
("x86", "rdrand") => LLVMFeature::new("rdrnd"),
("x86", "bmi1") => LLVMFeature::new("bmi"),
("x86", "cmpxchg16b") => LLVMFeature::new("cx16"),
("x86", "lahfsahf") => LLVMFeature::new("sahf"),
("aarch64", "rcpc2") => LLVMFeature::new("rcpc-immo"),
("aarch64", "dpb") => LLVMFeature::new("ccpp"),
("aarch64", "dpb2") => LLVMFeature::new("ccdp"),