aboutsummaryrefslogtreecommitdiff
path: root/target/m68k/cpu.h
diff options
context:
space:
mode:
authorLaurent Vivier <laurent@vivier.eu>2016-10-28 20:42:23 +0200
committerLaurent Vivier <laurent@vivier.eu>2016-12-27 18:16:42 +0100
commit0ccb9c1d8128a020720d5c6abf99a470742a1b94 (patch)
tree912612d600490ef4a0e22d9f365ce2f6b784d0a6 /target/m68k/cpu.h
parent8be95defd6ab10d2c9f986879a0afa82417cb8e5 (diff)
downloadqemu-0ccb9c1d8128a020720d5c6abf99a470742a1b94.zip
qemu-0ccb9c1d8128a020720d5c6abf99a470742a1b94.tar.gz
qemu-0ccb9c1d8128a020720d5c6abf99a470742a1b94.tar.bz2
target-m68k: add 680x0 divu/divs variants
Update helper to set the throwing location in case of div-by-0. Cleanup divX.w and add quad word variants of divX.l. Signed-off-by: Laurent Vivier <laurent@vivier.eu> Reviewed-by: Richard Henderson <rth@twidle.net> [laurent: modified to clear Z on overflow, as found with risu]
Diffstat (limited to 'target/m68k/cpu.h')
-rw-r--r--target/m68k/cpu.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/target/m68k/cpu.h b/target/m68k/cpu.h
index 6dfb54e..0b4ed7b 100644
--- a/target/m68k/cpu.h
+++ b/target/m68k/cpu.h
@@ -95,10 +95,6 @@ typedef struct CPUM68KState {
uint32_t macsr;
uint32_t mac_mask;
- /* Temporary storage for DIV helpers. */
- uint32_t div1;
- uint32_t div2;
-
/* MMU status. */
struct {
uint32_t ar;