1
Fork 0

Enable ARM TME (Transactional Memory Extensions)

This commit is contained in:
Mahmut Bulut 2020-05-21 23:18:28 +02:00
parent 148c125b1b
commit 4a10f6cd08
2 changed files with 2 additions and 0 deletions

View file

@ -170,6 +170,7 @@ const AARCH64_WHITELIST: &[(&str, Option<Symbol>)] = &[
("fp16", Some(sym::aarch64_target_feature)), ("fp16", Some(sym::aarch64_target_feature)),
("rcpc", Some(sym::aarch64_target_feature)), ("rcpc", Some(sym::aarch64_target_feature)),
("dotprod", Some(sym::aarch64_target_feature)), ("dotprod", Some(sym::aarch64_target_feature)),
("tme", Some(sym::aarch64_target_feature)),
("v8.1a", Some(sym::aarch64_target_feature)), ("v8.1a", Some(sym::aarch64_target_feature)),
("v8.2a", Some(sym::aarch64_target_feature)), ("v8.2a", Some(sym::aarch64_target_feature)),
("v8.3a", Some(sym::aarch64_target_feature)), ("v8.3a", Some(sym::aarch64_target_feature)),

View file

@ -32,6 +32,7 @@ fn aarch64_linux() {
println!("rdm: {}", is_aarch64_feature_detected!("rdm")); println!("rdm: {}", is_aarch64_feature_detected!("rdm"));
println!("rcpc: {}", is_aarch64_feature_detected!("rcpc")); println!("rcpc: {}", is_aarch64_feature_detected!("rcpc"));
println!("dotprod: {}", is_aarch64_feature_detected!("dotprod")); println!("dotprod: {}", is_aarch64_feature_detected!("dotprod"));
println!("tme: {}", is_aarch64_feature_detected!("tme"));
} }
#[test] #[test]