From 6f03facaedf214b7ab84f077027df2c0e2742de5 Mon Sep 17 00:00:00 2001 From: iximeow Date: Sun, 16 Jun 2024 12:55:55 -0700 Subject: remove branch better handled elsewhere --- src/long_mode/display.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/long_mode/display.rs b/src/long_mode/display.rs index 6d9969d..4725154 100644 --- a/src/long_mode/display.rs +++ b/src/long_mode/display.rs @@ -4792,14 +4792,6 @@ fn contextualize_intel(instr: &Instruction, colors: out.write_str(instr.opcode.name())?; - if instr.opcode == Opcode::XBEGIN { - if (instr.imm as i32) >= 0 { - return write!(out, " $+{}", colors.number(signed_i32_hex(instr.imm as i32))); - } else { - return write!(out, " ${}", colors.number(signed_i32_hex(instr.imm as i32))); - } - } - if instr.operand_count > 0 { out.write_str(" ")?; -- cgit v1.1