diff --git a/src/htm/ops.rs b/src/htm/ops.rs index 108daf3..cace39f 100644 --- a/src/htm/ops.rs +++ b/src/htm/ops.rs @@ -93,7 +93,7 @@ mod lever_hwtxn_test { pub fn swallow(d: T) -> T { unsafe { - llvm_asm!("" : : "r"(&d)); + core::arch::asm!("" : : "r"(&d)); d } } diff --git a/src/lib.rs b/src/lib.rs index 35411e3..f444e50 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,6 +1,5 @@ // Behind the feature gates #![cfg_attr(feature = "hw", feature(portable_simd))] -#![cfg_attr(feature = "hw", feature(llvm_asm))] #![cfg_attr(feature = "hw", feature(stdarch_x86_rtm))] // FIXME: Baking still #![allow(dead_code)]