diff options
author | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-03-16 19:24:42 +0000 |
---|---|---|
committer | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-03-16 19:24:42 +0000 |
commit | 8879d139bbe4b8c608108fa04f36776051126dfa (patch) | |
tree | 91816245d1a58f8ae8603df9d016850d8a21fd81 /target-sparc/op.c | |
parent | 48d5c82bcc3cc1709038867e5ba99b7099155dcd (diff) |
Convert umul and smul to TCG
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4077 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-sparc/op.c')
-rw-r--r-- | target-sparc/op.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/target-sparc/op.c b/target-sparc/op.c index f4f05d2a67..9aaeacdd6d 100644 --- a/target-sparc/op.c +++ b/target-sparc/op.c @@ -171,30 +171,6 @@ #define FLAG_SET(x) ((env->psr&x)?1:0) -void OPPROTO op_umul_T1_T0(void) -{ - uint64_t res; - res = (uint64_t) T0 * (uint64_t) T1; -#ifdef TARGET_SPARC64 - T0 = res; -#else - T0 = res & 0xffffffff; -#endif - env->y = res >> 32; -} - -void OPPROTO op_smul_T1_T0(void) -{ - uint64_t res; - res = (int64_t) ((int32_t) T0) * (int64_t) ((int32_t) T1); -#ifdef TARGET_SPARC64 - T0 = res; -#else - T0 = res & 0xffffffff; -#endif - env->y = res >> 32; -} - void OPPROTO op_udiv_T1_T0(void) { uint64_t x0; |