From c15999d4a5afa1e2e3e6d6c227135dfd5cf28780 Mon Sep 17 00:00:00 2001 From: iximeow Date: Thu, 21 Apr 2022 02:35:09 -0700 Subject: just a bit more code motion that seemed to help things sometimes --- src/long_mode/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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<::Address, ::Word>, S: DescriptionSink, >(words: &mut T, instr: &mut Instruction, modrm: u8, width: u8, sink: &mut S) -> Result { - 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) -- cgit v1.1