aboutsummaryrefslogtreecommitdiff
path: root/src/long_mode/vex.rs
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2023-02-12 08:22:27 -0800
committeriximeow <me@iximeow.net>2023-07-04 19:01:38 -0700
commitcb64c89d07c1213f8be7911a3dcbd73065fecf68 (patch)
treeb597b573bb8fed15e9d0762557bcbe945f5824bb /src/long_mode/vex.rs
parent6b45d1855419a6976c049f3dc1f710a631bac786 (diff)
new high score 49.89cpi (2259ms)
vex/rex prefix cleanup, finally profitable to inline read_0f*_opcode
Diffstat (limited to 'src/long_mode/vex.rs')
-rw-r--r--src/long_mode/vex.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/long_mode/vex.rs b/src/long_mode/vex.rs
index 89e253c..aaf6402 100644
--- a/src/long_mode/vex.rs
+++ b/src/long_mode/vex.rs
@@ -293,7 +293,7 @@ pub(crate) fn two_byte_vex<
read_vex_instruction(VEXOpcodeMap::Map0F, words, instruction, p, sink)
}
-#[inline]
+#[inline(always)]
fn read_vex_operands<
T: Reader<<Arch as yaxpeax_arch::Arch>::Address, <Arch as yaxpeax_arch::Arch>::Word>,
S: DescriptionSink<FieldDescription>,
@@ -1562,7 +1562,7 @@ fn read_vex_operands<
}
}
-#[inline]
+#[inline(never)]
fn read_vex_instruction<
T: Reader<<Arch as yaxpeax_arch::Arch>::Address, <Arch as yaxpeax_arch::Arch>::Word>,
S: DescriptionSink<FieldDescription>,