diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-05-21 13:29:45 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-05-21 13:29:45 +0000 |
commit | 07be379fb1d4d919384001a6732e1fa81b2212a2 (patch) | |
tree | 8c287dd420b329db1beb327c36ccd019f0f8b1f6 /target-i386/helper.c | |
parent | 9d0763c4c0bc7840a3113abf39aae6dd87e9be91 (diff) |
converted INTO/CMPXCHG8B to TCG
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4510 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-i386/helper.c')
-rw-r--r-- | target-i386/helper.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/target-i386/helper.c b/target-i386/helper.c index 53224919f8..0891ec9dc1 100644 --- a/target-i386/helper.c +++ b/target-i386/helper.c @@ -1849,6 +1849,15 @@ void helper_das(void) FORCE_RET(); } +void helper_into(int next_eip_addend) +{ + int eflags; + eflags = cc_table[CC_OP].compute_all(); + if (eflags & CC_O) { + raise_interrupt(EXCP04_INTO, 1, 0, next_eip_addend); + } +} + void helper_cmpxchg8b(target_ulong a0) { uint64_t d; |