SIMD&FP load/store with scale > 4 should be undefined (#1522)
* SIMD&FP load/store with scale > 4 should be undefined * Catch more invalid encodings for FP&SIMD LDR/STR (reg variant) * Set PTC version to PR number
This commit is contained in:
@ -6,6 +6,13 @@ namespace ARMeilleure.Decoders
|
||||
{
|
||||
Size |= (opCode >> 21) & 4;
|
||||
|
||||
if (Size > 4)
|
||||
{
|
||||
Instruction = InstDescriptor.Undefined;
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
Extend64 = false;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user