Commit 647c593038ea677c11eafa14a7e234d88ea67c90
1 parent
9540a78b
Add missing FORCE_RET()
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1770 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
4 additions
and
0 deletions
target-i386/op.c
@@ -1032,6 +1032,7 @@ void OPPROTO op_aaa(void) | @@ -1032,6 +1032,7 @@ void OPPROTO op_aaa(void) | ||
1032 | } | 1032 | } |
1033 | EAX = (EAX & ~0xffff) | al | (ah << 8); | 1033 | EAX = (EAX & ~0xffff) | al | (ah << 8); |
1034 | CC_SRC = eflags; | 1034 | CC_SRC = eflags; |
1035 | + FORCE_RET(); | ||
1035 | } | 1036 | } |
1036 | 1037 | ||
1037 | void OPPROTO op_aas(void) | 1038 | void OPPROTO op_aas(void) |
@@ -1056,6 +1057,7 @@ void OPPROTO op_aas(void) | @@ -1056,6 +1057,7 @@ void OPPROTO op_aas(void) | ||
1056 | } | 1057 | } |
1057 | EAX = (EAX & ~0xffff) | al | (ah << 8); | 1058 | EAX = (EAX & ~0xffff) | al | (ah << 8); |
1058 | CC_SRC = eflags; | 1059 | CC_SRC = eflags; |
1060 | + FORCE_RET(); | ||
1059 | } | 1061 | } |
1060 | 1062 | ||
1061 | void OPPROTO op_daa(void) | 1063 | void OPPROTO op_daa(void) |
@@ -1083,6 +1085,7 @@ void OPPROTO op_daa(void) | @@ -1083,6 +1085,7 @@ void OPPROTO op_daa(void) | ||
1083 | eflags |= parity_table[al]; /* pf */ | 1085 | eflags |= parity_table[al]; /* pf */ |
1084 | eflags |= (al & 0x80); /* sf */ | 1086 | eflags |= (al & 0x80); /* sf */ |
1085 | CC_SRC = eflags; | 1087 | CC_SRC = eflags; |
1088 | + FORCE_RET(); | ||
1086 | } | 1089 | } |
1087 | 1090 | ||
1088 | void OPPROTO op_das(void) | 1091 | void OPPROTO op_das(void) |
@@ -1113,6 +1116,7 @@ void OPPROTO op_das(void) | @@ -1113,6 +1116,7 @@ void OPPROTO op_das(void) | ||
1113 | eflags |= parity_table[al]; /* pf */ | 1116 | eflags |= parity_table[al]; /* pf */ |
1114 | eflags |= (al & 0x80); /* sf */ | 1117 | eflags |= (al & 0x80); /* sf */ |
1115 | CC_SRC = eflags; | 1118 | CC_SRC = eflags; |
1119 | + FORCE_RET(); | ||
1116 | } | 1120 | } |
1117 | 1121 | ||
1118 | /* segment handling */ | 1122 | /* segment handling */ |