From 5f159ad02c5d892454669389ed3aebc4bd15c2ee Mon Sep 17 00:00:00 2001 From: iximeow Date: Sat, 28 Mar 2026 01:12:56 +0000 Subject: last few weird cases unsuitable for generic testing --- test/long_mode/behavior.rs | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'test/long_mode/behavior.rs') diff --git a/test/long_mode/behavior.rs b/test/long_mode/behavior.rs index e707b5d..ded69ac 100644 --- a/test/long_mode/behavior.rs +++ b/test/long_mode/behavior.rs @@ -1740,6 +1740,19 @@ mod kvm { continue; } + if [Opcode::INS, Opcode::MOVS, Opcode::OUTS, Opcode::LODS, Opcode::STOS, Opcode::CMPS, Opcode::SCAS].contains(&buf.opcode()) { + if buf.prefixes.rep_any() { + // `repnz cmps` will carry on for however long memory allows, + // `rep movs` runs `rcx`-many times, etc + continue; + } + } + + if buf.opcode() == Opcode::RSM { + // SMM is kinda not our problem for now.. + continue; + } + if buf.opcode() == Opcode::GETSEC { // oh dear continue; -- cgit v1.1