aboutsummaryrefslogtreecommitdiff
path: root/target-sh4/cpu.h
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-06-25 13:53:11 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-06-25 13:53:11 +0000
commite04ea3dc1a6997aa0d2eb8b21170b81f9151d37d (patch)
tree60f7712489bedabee79fa8ba6ddacc4f45f58ed9 /target-sh4/cpu.h
parent0ae045ae439ad83692ad039a554f7d62acf9de5c (diff)
downloadqemu-e04ea3dc1a6997aa0d2eb8b21170b81f9151d37d.zip
qemu-e04ea3dc1a6997aa0d2eb8b21170b81f9151d37d.tar.gz
qemu-e04ea3dc1a6997aa0d2eb8b21170b81f9151d37d.tar.bz2
Handle endianness of double floats, by Magnus Damm.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3020 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-sh4/cpu.h')
-rw-r--r--target-sh4/cpu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-sh4/cpu.h b/target-sh4/cpu.h
index 5290dd2..9fc0eda 100644
--- a/target-sh4/cpu.h
+++ b/target-sh4/cpu.h
@@ -80,7 +80,7 @@ typedef struct tlb_t {
typedef struct CPUSH4State {
uint32_t flags; /* general execution flags */
uint32_t gregs[24]; /* general registers */
- uint32_t fregs[32]; /* floating point registers */
+ float32 fregs[32]; /* floating point registers */
uint32_t sr; /* status register */
uint32_t ssr; /* saved status register */
uint32_t spc; /* saved program counter */