Skip to content

Commit

Permalink
microblaze: Add definitions for FSR reg fields
Browse files Browse the repository at this point in the history
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@petalogix.com>
  • Loading branch information
Edgar E. Iglesias authored and edgarigl committed Sep 9, 2010
1 parent 8b33d9e commit bdc0bf2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions target-microblaze/cpu.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bdc0bf2

Please sign in to comment.