diff options
author | iximeow <me@iximeow.net> | 2021-06-29 00:26:11 -0700 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2021-06-29 00:41:55 -0700 |
commit | 3616e97a18d5ab00207e8e48e371ce2344e879e8 (patch) | |
tree | 6f3e262127fd91c138491b6501727933752bf885 /src/shared/evex.in | |
parent | 4b95d712c7923741fb91ca38967038af83fd2035 (diff) |
fix several lingering mem_size discrepancies
Diffstat (limited to 'src/shared/evex.in')
-rw-r--r-- | src/shared/evex.in | 2 |
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() { |