aboutsummaryrefslogtreecommitdiff
path: root/target-microblaze/cpu.h
diff options
context:
space:
mode:
authorEdgar E. Iglesias <edgar.iglesias@petalogix.com>2010-09-09 10:20:17 +0200
committerEdgar E. Iglesias <edgar.iglesias@gmail.com>2010-09-09 10:20:17 +0200
commit97694c57d73b150296c5f5333960eb4d56225cd7 (patch)
treeb778a82fb00be1572d202b92ecd6c0a290de127f /target-microblaze/cpu.h
parentbdc0bf29c65dbd4f7d5119435e0d05da5de2b5c4 (diff)
downloadqemu-97694c57d73b150296c5f5333960eb4d56225cd7.zip
qemu-97694c57d73b150296c5f5333960eb4d56225cd7.tar.gz
qemu-97694c57d73b150296c5f5333960eb4d56225cd7.tar.bz2
microblaze: Add basic FPU emulation
Missing: * fcmp.un insn * Denormalized exceptions * Exception model is not accurate Signed-off-by: Edgar E. Iglesias <edgar.iglesias@petalogix.com>
Diffstat (limited to 'target-microblaze/cpu.h')
-rw-r--r--target-microblaze/cpu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/target-microblaze/cpu.h b/target-microblaze/cpu.h
index dfcf25a..3aa28bf 100644
--- a/target-microblaze/cpu.h
+++ b/target-microblaze/cpu.h
@@ -24,6 +24,7 @@
#define CPUState struct CPUMBState
#include "cpu-defs.h"
+#include "softfloat.h"
struct CPUMBState;
#if !defined(CONFIG_USER_ONLY)
#include "mmu.h"
@@ -215,6 +216,7 @@ typedef struct CPUMBState {
uint32_t imm;
uint32_t regs[33];
uint32_t sregs[24];
+ float_status fp_status;
/* Internal flags. */
#define IMM_FLAG 4