aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/long_mode/mod.rs11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/long_mode/mod.rs b/src/long_mode/mod.rs
index 7c339b1..40f7904 100644
--- a/src/long_mode/mod.rs
+++ b/src/long_mode/mod.rs
@@ -3531,8 +3531,8 @@ pub enum OperandCode {
DX_AL = OperandCodeBuilder::new().special_case(47).bits(),
MOVQ_f30f = OperandCodeBuilder::new().special_case(48).bits(),
- // Implied,
- Unsupported,
+ Unsupported = OperandCodeBuilder::new().special_case(49).bits(),
+
ModRM_0x0f00 = OperandCodeBuilder::new().read_modrm().special_case(0).bits(),
ModRM_0x0f01 = OperandCodeBuilder::new().read_modrm().special_case(1).bits(),
ModRM_0x0f0d = OperandCodeBuilder::new().read_modrm().special_case(2).bits(),
@@ -7998,7 +7998,6 @@ fn decode_x87<T: Iterator<Item=u8>>(_decoder: &InstDecoder, mut bytes_iter: T, i
Est,
St_Est,
St_Ew,
- St_Ed,
St_Md,
Md,
Ew,
@@ -8343,12 +8342,6 @@ fn decode_x87<T: Iterator<Item=u8>>(_decoder: &InstDecoder, mut bytes_iter: T, i
instruction.operands[1] = read_E(&mut bytes_iter, instruction, modrm, 2, length)?;
instruction.operand_count = 2;
}
- OperandCodeX87::St_Ed => {
- instruction.operands[0] = OperandSpec::RegRRR;
- instruction.modrm_rrr = RegSpec::st(0);
- instruction.operands[1] = read_E(&mut bytes_iter, instruction, modrm, 4, length)?;
- instruction.operand_count = 2;
- }
OperandCodeX87::St_Md => {
instruction.operands[0] = OperandSpec::RegRRR;
instruction.modrm_rrr = RegSpec::st(0);