use const flags from adx feature
This commit is contained in:
parent
f7a6b30a99
commit
83e4adb3df
1 changed files with 2 additions and 1 deletions
|
|
@ -75,7 +75,8 @@ pub unsafe fn _xend() {
|
|||
/// [Intel's documentation](https://software.intel.com/en-us/cpp-compiler-developer-guide-and-reference-xabort).
|
||||
#[inline]
|
||||
#[target_feature(enable = "rtm")]
|
||||
#[cfg_attr(test, assert_instr(xabort))]
|
||||
#[cfg_attr(test, assert_instr(xabort, imm8 = 0x0))]
|
||||
#[rustc_args_required_const(0)]
|
||||
pub unsafe fn _xabort(imm8: u32) {
|
||||
macro_rules! call {
|
||||
($imm8:expr) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue