From b010980544b543d421b3f514bba3cafc59b3a3db Mon Sep 17 00:00:00 2001 From: pbrook Date: Mon, 31 Mar 2008 03:47:03 +0000 Subject: ARM TCG conversion 9/16. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4146 c046a42c-6fe2-441c-8c8c-71466251a162 --- target-arm/op.c | 42 ------------------------------------------ 1 file changed, 42 deletions(-) (limited to 'target-arm/op.c') diff --git a/target-arm/op.c b/target-arm/op.c index 057a08bfc2..74bf62b723 100644 --- a/target-arm/op.c +++ b/target-arm/op.c @@ -589,48 +589,6 @@ void OPPROTO op_movl_T0_cp15(void) FORCE_RET(); } -/* Access to user mode registers from privileged modes. */ -void OPPROTO op_movl_T0_user(void) -{ - int regno = PARAM1; - if (regno == 13) { - T0 = env->banked_r13[0]; - } else if (regno == 14) { - T0 = env->banked_r14[0]; - } else if ((env->uncached_cpsr & 0x1f) == ARM_CPU_MODE_FIQ) { - T0 = env->usr_regs[regno - 8]; - } else { - T0 = env->regs[regno]; - } - FORCE_RET(); -} - - -void OPPROTO op_movl_user_T0(void) -{ - int regno = PARAM1; - if (regno == 13) { - env->banked_r13[0] = T0; - } else if (regno == 14) { - env->banked_r14[0] = T0; - } else if ((env->uncached_cpsr & 0x1f) == ARM_CPU_MODE_FIQ) { - env->usr_regs[regno - 8] = T0; - } else { - env->regs[regno] = T0; - } - FORCE_RET(); -} - -void OPPROTO op_movl_T1_r13_banked(void) -{ - T1 = helper_get_r13_banked(env, PARAM1); -} - -void OPPROTO op_movl_r13_T1_banked(void) -{ - helper_set_r13_banked(env, PARAM1, T1); -} - void OPPROTO op_v7m_mrs_T0(void) { T0 = helper_v7m_mrs(env, PARAM1); -- cgit v1.2.3