asimd_load_store_structures: Fix 2-byte aligned vld1.16

Previously incorrectly undefined
This commit is contained in:
MerryMage 2020-06-22 18:46:06 +01:00
parent dd8d5497da
commit 47bc99ad9f

View file

@ -314,7 +314,7 @@ bool ArmTranslatorVisitor::v8_VLD_single(bool D, Reg n, size_t Vd, size_t sz, si
if (nelem == 1 && inc == 2) {
return UndefinedInstruction();
}
if (nelem == 1 && (a != 0b00 && a != 0b11)) {
if (nelem == 1 && sz == 2 && (a != 0b00 && a != 0b11)) {
return UndefinedInstruction();
}
if (nelem == 2 && Common::Bit<1>(a)) {