summaryrefslogtreecommitdiff
path: root/target-i386/op.c
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-07-23 17:41:26 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-07-23 17:41:26 +0000
commit8f091a59605092994c4b52c20b7173c514411e38 (patch)
tree15c2bc6210cc181e0b8a58ce3cc8df3d6d90d889 /target-i386/op.c
parent2efbe911d3ea518f5d4648954379f9d5aa02e806 (diff)
downloadqemu-8f091a59605092994c4b52c20b7173c514411e38.tar.gz
x86_64 fixes (initial patch by Filip Navara)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1517 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-i386/op.c')
-rw-r--r--target-i386/op.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/target-i386/op.c b/target-i386/op.c
index 2af4e8eb37..3574576ab8 100644
--- a/target-i386/op.c
+++ b/target-i386/op.c
@@ -898,6 +898,11 @@ void op_addw_ESP_im(void)
}
#ifdef TARGET_X86_64
+void op_subq_A0_2(void)
+{
+ A0 -= 2;
+}
+
void op_subq_A0_8(void)
{
A0 -= 8;
@@ -929,6 +934,13 @@ void OPPROTO op_enter_level(void)
helper_enter_level(PARAM1, PARAM2);
}
+#ifdef TARGET_X86_64
+void OPPROTO op_enter64_level(void)
+{
+ helper_enter64_level(PARAM1, PARAM2);
+}
+#endif
+
void OPPROTO op_sysenter(void)
{
helper_sysenter();