aboutsummaryrefslogtreecommitdiff
path: root/translate-i386.c
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-07-01 15:07:14 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-07-01 15:07:14 +0000
commitc39d5b78f62b0bdc10b9371c33e754ee1ba50f73 (patch)
treeb05c0c4467b85182e6b928eb69d6da691dfc8f43 /translate-i386.c
parent4d40895f2c30354c48ad9181e366e8d738f9b4d7 (diff)
make FPU load exception safe
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@305 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'translate-i386.c')
-rw-r--r--translate-i386.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/translate-i386.c b/translate-i386.c
index bfc988446e..c8bd12f3d9 100644
--- a/translate-i386.c
+++ b/translate-i386.c
@@ -2489,7 +2489,6 @@ long disas_insn(DisasContext *s, uint8_t *pc_start)
switch(op & 7) {
case 0:
- gen_op_fpush();
switch(op >> 4) {
case 0:
gen_op_flds_ST0_A0();
@@ -2540,7 +2539,6 @@ long disas_insn(DisasContext *s, uint8_t *pc_start)
gen_op_fnstcw_A0();
break;
case 0x1d: /* fldt mem */
- gen_op_fpush();
gen_op_fldt_ST0_A0();
break;
case 0x1f: /* fstpt mem */
@@ -2557,7 +2555,6 @@ long disas_insn(DisasContext *s, uint8_t *pc_start)
gen_op_fnstsw_A0();
break;
case 0x3c: /* fbld */
- gen_op_fpush();
gen_op_fbld_ST0_A0();
break;
case 0x3e: /* fbstp */
@@ -2565,7 +2562,6 @@ long disas_insn(DisasContext *s, uint8_t *pc_start)
gen_op_fpop();
break;
case 0x3d: /* fildll */
- gen_op_fpush();
gen_op_fildll_ST0_A0();
break;
case 0x3f: /* fistpll */