From 5e3f878ad65a3a3e50200dd40feac23c9f77b9b7 Mon Sep 17 00:00:00 2001 From: pbrook Date: Mon, 31 Mar 2008 03:47:34 +0000 Subject: ARM TCG conversion 11/16. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4148 c046a42c-6fe2-441c-8c8c-71466251a162 --- target-arm/op.c | 45 --------------------------------------------- 1 file changed, 45 deletions(-) (limited to 'target-arm/op.c') diff --git a/target-arm/op.c b/target-arm/op.c index 66dc7375c0..7c6d6a16aa 100644 --- a/target-arm/op.c +++ b/target-arm/op.c @@ -80,51 +80,6 @@ OPSUB(sub, sbc, T0, T0, T1) OPSUB(rsb, rsc, T0, T1, T0) -void OPPROTO op_addq_T0_T1(void) -{ - uint64_t res; - res = ((uint64_t)T1 << 32) | T0; - res += ((uint64_t)(env->regs[PARAM2]) << 32) | (env->regs[PARAM1]); - T1 = res >> 32; - T0 = res; -} - -void OPPROTO op_addq_lo_T0_T1(void) -{ - uint64_t res; - res = ((uint64_t)T1 << 32) | T0; - res += (uint64_t)(env->regs[PARAM1]); - T1 = res >> 32; - T0 = res; -} - -/* Dual 16-bit accumulate. */ -void OPPROTO op_addq_T0_T1_dual(void) -{ - uint64_t res; - res = ((uint64_t)(env->regs[PARAM2]) << 32) | (env->regs[PARAM1]); - res += (int32_t)T0; - res += (int32_t)T1; - env->regs[PARAM1] = (uint32_t)res; - env->regs[PARAM2] = res >> 32; -} - -/* Dual 16-bit subtract accumulate. */ -void OPPROTO op_subq_T0_T1_dual(void) -{ - uint64_t res; - res = ((uint64_t)(env->regs[PARAM2]) << 32) | (env->regs[PARAM1]); - res += (int32_t)T0; - res -= (int32_t)T1; - env->regs[PARAM1] = (uint32_t)res; - env->regs[PARAM2] = res >> 32; -} - -void OPPROTO op_logicq_cc(void) -{ - env->NZF = (T1 & 0x80000000) | ((T0 | T1) != 0); -} - /* memory access */ #define MEMSUFFIX _raw -- cgit v1.2.3