mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-02-22 23:42:57 +00:00
A64: Fall back to interpreting for FCADD and FCMLA half-precision variants
Rather than straight-up treating them as undefined, we can fall back to an interpreter in this case.
This commit is contained in:
@@ -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
|
||||
if (esize == 16) {
|
||||
return UnallocatedEncoding();
|
||||
return InterpretThisInstruction();
|
||||
}
|
||||
|
||||
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
|
||||
if (esize == 16) {
|
||||
return UnallocatedEncoding();
|
||||
return InterpretThisInstruction();
|
||||
}
|
||||
|
||||
const size_t datasize = Q ? 128 : 64;
|
||||
|
||||
Reference in New Issue
Block a user