mirror of
https://github.com/azahar-emu/dynarmic
synced 2025-11-11 17:39:59 +01:00
simd_scalar_two_register_misc: Handle 64-bit case in SCVTF and UCVTF's scalar double/single-precision variant
Avoids falling back to the interpreter in the 64-bit case.
This commit is contained in:
parent
7252293184
commit
b97358075e
@ -40,7 +40,7 @@ bool TranslatorVisitor::SCVTF_int_2(bool sz, Vec Vn, Vec Vd) {
|
|||||||
if (esize == 32) {
|
if (esize == 32) {
|
||||||
element = ir.FPS32ToSingle(element, false, true);
|
element = ir.FPS32ToSingle(element, false, true);
|
||||||
} else {
|
} else {
|
||||||
return InterpretThisInstruction();
|
element = ir.FPS64ToDouble(element, false, true);
|
||||||
}
|
}
|
||||||
V_scalar(esize, Vd, element);
|
V_scalar(esize, Vd, element);
|
||||||
return true;
|
return true;
|
||||||
@ -53,7 +53,7 @@ bool TranslatorVisitor::UCVTF_int_2(bool sz, Vec Vn, Vec Vd) {
|
|||||||
if (esize == 32) {
|
if (esize == 32) {
|
||||||
element = ir.FPU32ToSingle(element, false, true);
|
element = ir.FPU32ToSingle(element, false, true);
|
||||||
} else {
|
} else {
|
||||||
return InterpretThisInstruction();
|
element = ir.FPU64ToDouble(element, false, true);
|
||||||
}
|
}
|
||||||
V_scalar(esize, Vd, element);
|
V_scalar(esize, Vd, element);
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user