aboutsummaryrefslogtreecommitdiff
path: root/target-i386/op.c
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-07-05 21:25:26 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-07-05 21:25:26 +0000
commit83fb7adf6c653a0285a89d51b746cb642d2859cf (patch)
tree24791ee7957dae766c687945939ef17291306b32 /target-i386/op.c
parent1d43a717730346de2c664c0eccf0592eb4ba2cd8 (diff)
Darwin patch (initial patch by Pierre d'Herbemont)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@980 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-i386/op.c')
-rw-r--r--target-i386/op.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/target-i386/op.c b/target-i386/op.c
index b9aef6aae2..2438499ec3 100644
--- a/target-i386/op.c
+++ b/target-i386/op.c
@@ -1955,24 +1955,6 @@ void OPPROTO op_fldcw_A0(void)
int rnd_type;
env->fpuc = lduw((void *)A0);
/* set rounding mode */
-#ifdef _BSD
- switch(env->fpuc & RC_MASK) {
- default:
- case RC_NEAR:
- rnd_type = FP_RN;
- break;
- case RC_DOWN:
- rnd_type = FP_RM;
- break;
- case RC_UP:
- rnd_type = FP_RP;
- break;
- case RC_CHOP:
- rnd_type = FP_RZ;
- break;
- }
- fpsetround(rnd_type);
-#else
switch(env->fpuc & RC_MASK) {
default:
case RC_NEAR:
@@ -1989,7 +1971,6 @@ void OPPROTO op_fldcw_A0(void)
break;
}
fesetround(rnd_type);
-#endif
}
void OPPROTO op_fclex(void)