diff --git a/src/rust/iced-x86/src/encoder/tests/dec_enc.rs b/src/rust/iced-x86/src/encoder/tests/dec_enc.rs index 38eb70c25..70d067429 100644 --- a/src/rust/iced-x86/src/encoder/tests/dec_enc.rs +++ b/src/rust/iced-x86/src/encoder/tests/dec_enc.rs @@ -695,17 +695,21 @@ fn verify_tuple_type_bcst() { continue; } let op_code = code.op_code(); - let expected_bcst = - matches!( - op_code.tuple_type(), - TupleType::N8b4 - | TupleType::N16b4 | TupleType::N32b4 - | TupleType::N64b4 | TupleType::N16b8 - | TupleType::N32b8 | TupleType::N64b8 - | TupleType::N4b2 | TupleType::N8b2 - | TupleType::N16b2 | TupleType::N32b2 - | TupleType::N64b2 - ); + let expected_bcst = matches!( + op_code.tuple_type(), + TupleType::N8b4 + | TupleType::N16b4 + | TupleType::N32b4 + | TupleType::N64b4 + | TupleType::N16b8 + | TupleType::N32b8 + | TupleType::N64b8 + | TupleType::N4b2 + | TupleType::N8b2 + | TupleType::N16b2 + | TupleType::N32b2 + | TupleType::N64b2 + ); assert_eq!(op_code.can_broadcast(), expected_bcst); } } diff --git a/src/rust/iced-x86/src/instruction.rs b/src/rust/iced-x86/src/instruction.rs index 4384d3eba..822595277 100644 --- a/src/rust/iced-x86/src/instruction.rs +++ b/src/rust/iced-x86/src/instruction.rs @@ -349,9 +349,12 @@ impl Instruction { | Code::Xchg_rm16_r16 | Code::Xchg_rm32_r32 | Code::Xchg_rm64_r64 - | Code::Mov_rm8_r8 | Code::Mov_rm16_r16 - | Code::Mov_rm32_r32 | Code::Mov_rm64_r64 - | Code::Mov_rm8_imm8 | Code::Mov_rm16_imm16 + | Code::Mov_rm8_r8 + | Code::Mov_rm16_r16 + | Code::Mov_rm32_r32 + | Code::Mov_rm64_r64 + | Code::Mov_rm8_imm8 + | Code::Mov_rm16_imm16 | Code::Mov_rm32_imm32 | Code::Mov_rm64_imm32 )