aboutsummaryrefslogtreecommitdiff
path: root/src/long_mode/mod.rs
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2023-07-16 13:33:03 -0700
committeriximeow <me@iximeow.net>2023-07-16 13:33:03 -0700
commit22ab87ccc7cf028f9d96cff0ae17ee49a52f8877 (patch)
tree47209dbb0aae2f50684b9fe9554df60a1e1d79b9 /src/long_mode/mod.rs
parent81529df29455e133c13f439653045755a1e0cebb (diff)
forward changes along to 32-bit decoder...
Diffstat (limited to 'src/long_mode/mod.rs')
-rw-r--r--src/long_mode/mod.rs6
1 files changed, 0 insertions, 6 deletions
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::<OpcodeRecord>(), 4);
-}
-
const OPCODES: [OpcodeRecord; 256] = [
OpcodeRecord::new(Interpretation::Instruction(Opcode::ADD), OperandCode::Eb_Gb),
OpcodeRecord::new(Interpretation::Instruction(Opcode::ADD), OperandCode::Ev_Gv),