diff options
Diffstat (limited to 'target-arm/op.c')
-rw-r--r-- | target-arm/op.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/target-arm/op.c b/target-arm/op.c index f06b06b908..619066d29e 100644 --- a/target-arm/op.c +++ b/target-arm/op.c @@ -1094,7 +1094,7 @@ void OPPROTO op_vfp_movl_T0_fpscr(void) void OPPROTO op_vfp_movl_T0_fpscr_flags(void) { - T0 = env->vfp.fpscr & (0xf << 28); + T0 = env->vfp.xregs[ARM_VFP_FPSCR] & (0xf << 28); } void OPPROTO op_vfp_movl_fpscr_T0(void) @@ -1102,6 +1102,16 @@ void OPPROTO op_vfp_movl_fpscr_T0(void) do_vfp_set_fpscr(); } +void OPPROTO op_vfp_movl_T0_xreg(void) +{ + T0 = env->vfp.xregs[PARAM1]; +} + +void OPPROTO op_vfp_movl_xreg_T0(void) +{ + env->vfp.xregs[PARAM1] = T0; +} + /* Move between FT0s to T0 */ void OPPROTO op_vfp_mrs(void) { |