diff options
author | Edgar E. Iglesias <edgar.iglesias@petalogix.com> | 2010-09-09 10:20:17 +0200 |
---|---|---|
committer | Edgar E. Iglesias <edgar.iglesias@gmail.com> | 2010-09-09 10:20:17 +0200 |
commit | 97694c57d73b150296c5f5333960eb4d56225cd7 (patch) | |
tree | b778a82fb00be1572d202b92ecd6c0a290de127f /target-microblaze/cpu.h | |
parent | bdc0bf29c65dbd4f7d5119435e0d05da5de2b5c4 (diff) | |
download | qemu-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.h | 2 |
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 |