From 22ab87ccc7cf028f9d96cff0ae17ee49a52f8877 Mon Sep 17 00:00:00 2001 From: iximeow Date: Sun, 16 Jul 2023 13:33:03 -0700 Subject: forward changes along to 32-bit decoder... --- src/long_mode/mod.rs | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/long_mode') diff --git a/src/long_mode/mod.rs b/src/long_mode/mod.rs index b30e4ee..cf40ac5 100644 --- a/src/long_mode/mod.rs +++ b/src/long_mode/mod.rs @@ -5518,12 +5518,6 @@ impl OpcodeRecord { } } -#[test] -fn opcode_record_size() { - // there are more than 256 opcodes... -// assert_eq!(core::mem::size_of::(), 4); -} - const OPCODES: [OpcodeRecord; 256] = [ OpcodeRecord::new(Interpretation::Instruction(Opcode::ADD), OperandCode::Eb_Gb), OpcodeRecord::new(Interpretation::Instruction(Opcode::ADD), OperandCode::Ev_Gv), -- cgit v1.1