mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 17:53:56 -06:00
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>
This commit is contained in:
parent
bdc0bf29c6
commit
97694c57d7
4 changed files with 358 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue