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
1 changed files with 2 additions and 2 deletions
|
@ -40,7 +40,7 @@ bool TranslatorVisitor::SCVTF_int_2(bool sz, Vec Vn, Vec Vd) {
|
|||
if (esize == 32) {
|
||||
element = ir.FPS32ToSingle(element, false, true);
|
||||
} else {
|
||||
return InterpretThisInstruction();
|
||||
element = ir.FPS64ToDouble(element, false, true);
|
||||
}
|
||||
V_scalar(esize, Vd, element);
|
||||
return true;
|
||||
|
@ -53,7 +53,7 @@ bool TranslatorVisitor::UCVTF_int_2(bool sz, Vec Vn, Vec Vd) {
|
|||
if (esize == 32) {
|
||||
element = ir.FPU32ToSingle(element, false, true);
|
||||
} else {
|
||||
return InterpretThisInstruction();
|
||||
element = ir.FPU64ToDouble(element, false, true);
|
||||
}
|
||||
V_scalar(esize, Vd, element);
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue