aboutsummaryrefslogtreecommitdiff
path: root/src/long_mode/display.rs
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2024-06-16 12:55:55 -0700
committeriximeow <me@iximeow.net>2024-06-16 12:55:55 -0700
commit6f03facaedf214b7ab84f077027df2c0e2742de5 (patch)
tree5e8e61712559e51fb9734bd0add2e34fb964410f /src/long_mode/display.rs
parent2df5d55b4d87cec9ea618def24cee63997ba8c4c (diff)
remove branch better handled elsewhere
Diffstat (limited to 'src/long_mode/display.rs')
-rw-r--r--src/long_mode/display.rs8
1 files changed, 0 insertions, 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<T: fmt::Write, Y: YaxColors>(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(" ")?;