aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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);
}
}
}