aboutsummaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2021-06-29 00:26:11 -0700
committeriximeow <me@iximeow.net>2021-06-29 00:41:55 -0700
commit3616e97a18d5ab00207e8e48e371ce2344e879e8 (patch)
tree6f3e262127fd91c138491b6501727933752bf885 /src/shared
parent4b95d712c7923741fb91ca38967038af83fd2035 (diff)
fix several lingering mem_size discrepancies
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/evex.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/evex.in b/src/shared/evex.in
index e7e0aa1..17c9bb7 100644
--- a/src/shared/evex.in
+++ b/src/shared/evex.in
@@ -53,7 +53,7 @@ pub(crate) fn read_evex<T: Iterator<Item=u8>>(bytes: &mut T, instruction: &mut I
let table_idx = ((m << 2) | p) as usize;
let table = generated::TABLES[table_idx];
if table as *const [_] == &generated::DUMMY[..] as *const [_] {
- panic!("no table for m={}, p={}", m, p);
+ return Err(DecodeError::InvalidOpcode);
}
let mut index_lower = 0;
if instruction.prefixes.evex_unchecked().vex().l() {