aboutsummaryrefslogtreecommitdiff
path: root/target/openrisc/cpu.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2015-02-18 15:05:05 -0800
committerRichard Henderson <rth@twiddle.net>2017-02-14 08:15:00 +1100
commit6f7332ba713bc4d36f1078990c5a48618933d6c3 (patch)
tree27342c4192a2343633e42c0eeec9d58f206d69f6 /target/openrisc/cpu.h
parent24fc5c0feb0d8ed3367c6628c14ac3ba6ebcbb89 (diff)
target/openrisc: Represent MACHI:MACLO as a single unit
Significantly simplifies the implementation of the use of MAC. Reviewed-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de> Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'target/openrisc/cpu.h')
-rw-r--r--target/openrisc/cpu.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/target/openrisc/cpu.h b/target/openrisc/cpu.h
index e693461118..9528277c87 100644
--- a/target/openrisc/cpu.h
+++ b/target/openrisc/cpu.h
@@ -277,8 +277,7 @@ typedef struct CPUOpenRISCState {
target_ulong ppc; /* Prev PC */
target_ulong jmp_pc; /* Jump PC */
- target_ulong machi; /* Multiply register MACHI */
- target_ulong maclo; /* Multiply register MACLO */
+ uint64_t mac; /* Multiply registers MACHI:MACLO */
target_ulong fpmaddhi; /* Multiply and add float register FPMADDHI */
target_ulong fpmaddlo; /* Multiply and add float register FPMADDLO */