simd_two_register_misc: Handle 64-bit case for SCVTF_int_4
This commit is contained in:
parent
3f6c529da2
commit
f745eb28bf
1 changed files with 1 additions and 6 deletions
|
@ -267,15 +267,10 @@ bool TranslatorVisitor::SCVTF_int_4(bool Q, bool sz, Vec Vn, Vec Vd) {
|
|||
return ReservedValue();
|
||||
}
|
||||
|
||||
if (sz) {
|
||||
// TODO: Implement
|
||||
return InterpretThisInstruction();
|
||||
}
|
||||
|
||||
const size_t datasize = Q ? 128 : 64;
|
||||
|
||||
const IR::U128 operand = V(datasize, Vn);
|
||||
const IR::U128 result = ir.FPVectorS32ToSingle(operand);
|
||||
const IR::U128 result = sz ? ir.FPVectorS64ToDouble(operand) : ir.FPVectorS32ToSingle(operand);
|
||||
|
||||
V(datasize, Vd, result);
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue