From e4c0c0ed2e4b3fb3f9d5fd037cc5ec2dbe762fde Mon Sep 17 00:00:00 2001 From: iximeow Date: Thu, 21 Oct 2021 18:00:31 -0700 Subject: remaining 1-source data processing instructions are unallocated --- src/armv8/a64.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/armv8') diff --git a/src/armv8/a64.rs b/src/armv8/a64.rs index 37f02b8..258c650 100644 --- a/src/armv8/a64.rs +++ b/src/armv8/a64.rs @@ -1439,7 +1439,9 @@ impl Decoder for InstDecoder { } } _ => { - return Err(DecodeError::IncompleteDecoder); + // Data-processing (1 source), op2 > 0b00001 is (currently + // as of v8.3) undefined. + return Err(DecodeError::InvalidOpcode); } } } -- cgit v1.1