summaryrefslogtreecommitdiffstats
path: root/target-i386/ops_template.h
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2008-05-17 16:10:38 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2008-05-17 16:10:38 +0000
commitf484d386226e2f31c9979ddb68f9dcf3a607c2eb (patch)
treea0270ee443bfd69029deee2cfa73ec39097eb2f1 /target-i386/ops_template.h
parent07d2c595580fecadb0e4113ae1be3e6421b91956 (diff)
downloadhqemu-f484d386226e2f31c9979ddb68f9dcf3a607c2eb.zip
hqemu-f484d386226e2f31c9979ddb68f9dcf3a607c2eb.tar.gz
converted bit test operations to TCG
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4473 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-i386/ops_template.h')
-rw-r--r--target-i386/ops_template.h43
1 files changed, 0 insertions, 43 deletions
diff --git a/target-i386/ops_template.h b/target-i386/ops_template.h
index 49c04b5..9a91c07 100644
--- a/target-i386/ops_template.h
+++ b/target-i386/ops_template.h
@@ -203,42 +203,6 @@ void OPPROTO glue(op_setle_T0_sub, SUFFIX)(void)
/* bit operations */
#if DATA_BITS >= 16
-void OPPROTO glue(glue(op_bt, SUFFIX), _T0_T1_cc)(void)
-{
- int count;
- count = T1 & SHIFT_MASK;
- CC_SRC = T0 >> count;
-}
-
-void OPPROTO glue(glue(op_bts, SUFFIX), _T0_T1_cc)(void)
-{
- int count;
- count = T1 & SHIFT_MASK;
- T1 = T0 >> count;
- T0 |= (((target_long)1) << count);
-}
-
-void OPPROTO glue(glue(op_btr, SUFFIX), _T0_T1_cc)(void)
-{
- int count;
- count = T1 & SHIFT_MASK;
- T1 = T0 >> count;
- T0 &= ~(((target_long)1) << count);
-}
-
-void OPPROTO glue(glue(op_btc, SUFFIX), _T0_T1_cc)(void)
-{
- int count;
- count = T1 & SHIFT_MASK;
- T1 = T0 >> count;
- T0 ^= (((target_long)1) << count);
-}
-
-void OPPROTO glue(glue(op_add_bit, SUFFIX), _A0_T1)(void)
-{
- A0 += ((DATA_STYPE)T1 >> (3 + SHIFT)) << SHIFT;
-}
-
void OPPROTO glue(glue(op_bsf, SUFFIX), _T0_cc)(void)
{
int count;
@@ -281,13 +245,6 @@ void OPPROTO glue(glue(op_bsr, SUFFIX), _T0_cc)(void)
#endif
-#if DATA_BITS == 32
-void OPPROTO op_update_bt_cc(void)
-{
- CC_SRC = T1;
-}
-#endif
-
/* string operations */
void OPPROTO glue(op_movl_T0_Dshift, SUFFIX)(void)
OpenPOWER on IntegriCloud