vfp: Fix VCVT

These variants exclusively read from the single precision regs and write to double-precision registers
Fixes issues where converted values would be way off from what they should be due to the results being stored in the wrong registers.
This commit is contained in:
Lioncash 2015-02-04 14:01:29 -05:00
parent a45175ee0d
commit 82e8f25fe7

View file

@ -880,18 +880,18 @@ static struct op fops_ext[] = {
{ NULL, 0 },
{ NULL, 0 },
{ vfp_double_fcvts, OP_SCALAR|OP_DD }, //0x0000000F - FEXT_FCVT
{ vfp_double_fuito, OP_SCALAR }, //0x00000010 - FEXT_FUITO
{ vfp_double_fsito, OP_SCALAR }, //0x00000011 - FEXT_FSITO
{ vfp_double_fuito, OP_SCALAR|OP_SM }, //0x00000010 - FEXT_FUITO
{ vfp_double_fsito, OP_SCALAR|OP_SM }, //0x00000011 - FEXT_FSITO
{ NULL, 0 },
{ NULL, 0 },
{ NULL, 0 },
{ NULL, 0 },
{ NULL, 0 },
{ NULL, 0 },
{ vfp_double_ftoui, OP_SCALAR }, //0x00000018 - FEXT_FTOUI
{ vfp_double_ftouiz, OP_SCALAR }, //0x00000019 - FEXT_FTOUIZ
{ vfp_double_ftosi, OP_SCALAR }, //0x0000001A - FEXT_FTOSI
{ vfp_double_ftosiz, OP_SCALAR }, //0x0000001B - FEXT_FTOSIZ
{ vfp_double_ftoui, OP_SCALAR|OP_SD }, //0x00000018 - FEXT_FTOUI
{ vfp_double_ftouiz, OP_SCALAR|OP_SD }, //0x00000019 - FEXT_FTOUIZ
{ vfp_double_ftosi, OP_SCALAR|OP_SD }, //0x0000001A - FEXT_FTOSI
{ vfp_double_ftosiz, OP_SCALAR|OP_SD }, //0x0000001B - FEXT_FTOSIZ
};
static u32