about summary refs log tree commit diff
path: root/src/librustc_codegen_llvm
diff options
context:
space:
mode:
authorMahmut Bulut <vertexclique@gmail.com>2020-05-21 23:18:28 +0200
committerMahmut Bulut <vertexclique@gmail.com>2020-05-21 23:20:57 +0200
commit4a10f6cd084b4fb72485bff597dfbb5852042a33 (patch)
tree4383a2c6a6b9e326472158dca575c0d4e7908430 /src/librustc_codegen_llvm
parent148c125b1bf20674e8d0c55c21b3433a6d465b07 (diff)
downloadrust-4a10f6cd084b4fb72485bff597dfbb5852042a33.tar.gz
rust-4a10f6cd084b4fb72485bff597dfbb5852042a33.zip
Enable ARM TME (Transactional Memory Extensions)
Diffstat (limited to 'src/librustc_codegen_llvm')
-rw-r--r--src/librustc_codegen_llvm/llvm_util.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/librustc_codegen_llvm/llvm_util.rs b/src/librustc_codegen_llvm/llvm_util.rs
index 286d3630181..67a2251e859 100644
--- a/src/librustc_codegen_llvm/llvm_util.rs
+++ b/src/librustc_codegen_llvm/llvm_util.rs
@@ -170,6 +170,7 @@ const AARCH64_WHITELIST: &[(&str, Option<Symbol>)] = &[
     ("fp16", Some(sym::aarch64_target_feature)),
     ("rcpc", 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.2a", Some(sym::aarch64_target_feature)),
     ("v8.3a", Some(sym::aarch64_target_feature)),