Hitachi SH7750 series Hardware Manual page 36

Superh risc engine
Hide thumbs Also See for SH7750 series:
Table of Contents

Advertisement

Floating-point status/control register, FPSCR (32 bits, initial value = H'0004 0001)
31
Note: —: Reserved. These bits are always read as 0, and should only be written with 0.
• FR: Floating-point register bank
FR = 0: FPR0_BANK0–FPR15_BANK0 are assigned to FR0–FR15; FPR0_BANK1–
FPR15_BANK1 are assigned to XF0–XF15.
FR = 1: FPR0_BANK0–FPR15_BANK0 are assigned to XF0–XF15; FPR0_BANK1–
FPR15_BANK1 are assigned to FR0–FR15.
• SZ: Transfer size mode
SZ = 0: The data size of the FMOV instruction is 32 bits.
SZ = 1: The data size of the FMOV instruction is a 32-bit register pair (64 bits).
• PR: Precision mode
PR = 0: Floating-point instructions are executed as single-precision operations.
PR = 1: Floating-point instructions are executed as double-precision operations (the result of
instructions for which double-precision is not supported is undefined).
Do not set SZ and PR to 1 simultaneously; this setting is reserved.
[SZ, PR = 11]: Reserved (FPU operation instruction is undefined.)
• DN: Denormalization mode
DN = 0: A denormalized number is treated as such.
DN = 1: A denormalized number is treated as zero.
• Cause: FPU exception cause field
• Enable: FPU exception enable field
• Flag: FPU exception flag field
Cause
FPU exception
cause field
Enable
FPU exception
enable field
Flag
FPU exception
flag field
22 21 20 19 18 17
FR SZ PR DN
FPU
Invalid
Error (E)
Operation (V)
Bit 17
Bit 16
None
Bit 11
None
Bit 6
12 11
Cause
Enable
Division
Overflow
by Zero (Z)
(O)
Bit 15
Bit 14
Bit 10
Bit 9
Bit 5
Bit 4
Rev. 4.0, 04/00, page 19 of 850
7
6
2
1
Flag
RM
Underflow
Inexact
(U)
(I)
Bit 13
Bit 12
Bit 8
Bit 7
Bit 3
Bit 2
0

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sh7750sSh7750

Table of Contents