Merge pull request #444 from lioncash/interpret

A64: Fall back to interpreting for FCADD and FCMLA half-precision variants
This commit is contained in:
Merry 2019-03-05 18:51:50 +00:00 committed by MerryMage
commit 46922b9138

View file

@ -66,7 +66,7 @@ bool TranslatorVisitor::FCMLA_vec(bool Q, Imm<2> size, Vec Vm, Imm<2> rot, Vec V
// TODO: Currently we don't support half-precision floating point // TODO: Currently we don't support half-precision floating point
if (esize == 16) { if (esize == 16) {
return UnallocatedEncoding(); return InterpretThisInstruction();
} }
const size_t datasize = Q ? 128 : 64; const size_t datasize = Q ? 128 : 64;
@ -139,7 +139,7 @@ bool TranslatorVisitor::FCADD_vec(bool Q, Imm<2> size, Vec Vm, Imm<1> rot, Vec V
// TODO: Currently we don't support half-precision floating point // TODO: Currently we don't support half-precision floating point
if (esize == 16) { if (esize == 16) {
return UnallocatedEncoding(); return InterpretThisInstruction();
} }
const size_t datasize = Q ? 128 : 64; const size_t datasize = Q ? 128 : 64;