aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2021-10-21 18:00:31 -0700
committeriximeow <me@iximeow.net>2021-10-21 18:00:31 -0700
commite4c0c0ed2e4b3fb3f9d5fd037cc5ec2dbe762fde (patch)
tree7b317dae5669a6f8cf0f5a063a536fd366f563e5 /src
parent31b377ba5ce318126ecf6a7f3663e5453ae046a1 (diff)
remaining 1-source data processing instructions are unallocated
Diffstat (limited to 'src')
-rw-r--r--src/armv8/a64.rs4
1 files changed, 3 insertions, 1 deletions
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<ARMv8> for InstDecoder {
}
}
_ => {
- return Err(DecodeError::IncompleteDecoder);
+ // Data-processing (1 source), op2 > 0b00001 is (currently
+ // as of v8.3) undefined.
+ return Err(DecodeError::InvalidOpcode);
}
}
}