diff options
author | iximeow <me@iximeow.net> | 2021-08-13 23:45:16 -0700 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2021-08-21 19:08:40 -0700 |
commit | 49a09cccdd2d4920154e3bc68048dc85754640e3 (patch) | |
tree | d87357e56460780a613565eac635c12686daa35f /src | |
parent | a07098315bea8b880688831f931bc5213ebb6a5f (diff) |
force read_sib inlining in 64-bit mode
even though NullSink is no-ops, it causes llvm to not inline this function, for a net perf reduction
Diffstat (limited to 'src')
-rw-r--r-- | src/long_mode/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/long_mode/mod.rs b/src/long_mode/mod.rs index 54d83e8..c4c6681 100644 --- a/src/long_mode/mod.rs +++ b/src/long_mode/mod.rs @@ -5701,6 +5701,7 @@ fn read_sib_disp< } #[allow(non_snake_case)] +#[inline(always)] fn read_sib< T: Reader<<Arch as yaxpeax_arch::Arch>::Address, <Arch as yaxpeax_arch::Arch>::Word>, S: DescriptionSink<FieldDescription>, |