projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b33d9e
)
microblaze: Add definitions for FSR reg fields
author
Edgar E. Iglesias
<edgar.iglesias@petalogix.com>
Thu, 9 Sep 2010 07:58:35 +0000
(09:58 +0200)
committer
Edgar E. Iglesias
<edgar.iglesias@gmail.com>
Thu, 9 Sep 2010 07:58:35 +0000
(09:58 +0200)
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@petalogix.com>
target-microblaze/cpu.h
patch
|
blob
|
history
diff --git
a/target-microblaze/cpu.h
b/target-microblaze/cpu.h
index 360ac0abaacb26e12461c3f7b5f0c1696a94ef38..dfcf25a166295e2381ddcfdbdb928f82f1ce10a4 100644
(file)
--- a/
target-microblaze/cpu.h
+++ b/
target-microblaze/cpu.h
@@
-91,6
+91,13
@@
struct CPUMBState;
#define ESR_EC_DATA_TLB 10
#define ESR_EC_INSN_TLB 11
+/* Floating Point Status Register (FSR) Bits */
+#define FSR_IO (1<<4) /* Invalid operation */
+#define FSR_DZ (1<<3) /* Divide-by-zero */
+#define FSR_OF (1<<2) /* Overflow */
+#define FSR_UF (1<<1) /* Underflow */
+#define FSR_DO (1<<0) /* Denormalized operand error */
+
/* Version reg. */
/* Basic PVR mask */
#define PVR0_PVR_FULL_MASK 0x80000000