diff options
author | iximeow <me@iximeow.net> | 2022-04-21 02:35:09 -0700 |
---|---|---|
committer | iximeow <git@iximeow.net> | 2022-12-03 15:11:09 -0800 |
commit | c15999d4a5afa1e2e3e6d6c227135dfd5cf28780 (patch) | |
tree | 10d13cb89b60161546f5be1ec961b681738d8540 /src | |
parent | 76418a5a934c99ef918070c3c740ce3eceb6c5bb (diff) |
just a bit more code motion that seemed to help things sometimes
Diffstat (limited to 'src')
-rw-r--r-- | src/long_mode/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/long_mode/mod.rs b/src/long_mode/mod.rs index 8be5f61..bc14a50 100644 --- a/src/long_mode/mod.rs +++ b/src/long_mode/mod.rs @@ -5606,8 +5606,8 @@ pub(self) fn read_E< T: Reader<<Arch as yaxpeax_arch::Arch>::Address, <Arch as yaxpeax_arch::Arch>::Word>, S: DescriptionSink<FieldDescription>, >(words: &mut T, instr: &mut Instruction, modrm: u8, width: u8, sink: &mut S) -> Result<OperandSpec, DecodeError> { - let bank = width_to_gp_reg_bank(width, instr.prefixes.rex_unchecked().present()); if modrm >= 0b11000000 { + let bank = width_to_gp_reg_bank(width, instr.prefixes.rex_unchecked().present()); read_modrm_reg(instr, words, modrm, bank, sink) } else { read_M(words, instr, modrm, sink) |