diff options
author | iximeow <me@iximeow.net> | 2020-08-02 20:20:44 -0700 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2020-08-09 01:38:57 -0700 |
commit | 158507298f1a67b130bf4b9d1caebfccf96eccfa (patch) | |
tree | 100e563ea6878645ffcd02673864085a28fb555b /src/long_mode | |
parent | ff2fa94c0a1f82f4dd453968f270532ce413206f (diff) |
remove unused OperandCode variants
Diffstat (limited to 'src/long_mode')
-rw-r--r-- | src/long_mode/mod.rs | 11 |
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); |