aboutsummaryrefslogtreecommitdiff
path: root/target-arm/op.c
diff options
context:
space:
mode:
authorpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2006-02-20 00:33:36 +0000
committerpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2006-02-20 00:33:36 +0000
commit40f137e1eadbc202daf00bd6f43a997ccfb28b70 (patch)
treef47a0f42030dda29c9ff8db306730c2e7274a410 /target-arm/op.c
parent4081fccf14166c018a5694c9c0679496de69b679 (diff)
downloadqemu-40f137e1eadbc202daf00bd6f43a997ccfb28b70.zip
qemu-40f137e1eadbc202daf00bd6f43a997ccfb28b70.tar.gz
qemu-40f137e1eadbc202daf00bd6f43a997ccfb28b70.tar.bz2
Add Arm926 core support.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1765 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-arm/op.c')
-rw-r--r--target-arm/op.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/target-arm/op.c b/target-arm/op.c
index f06b06b..619066d 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)
{