English
Language : 

SH7750_08 Datasheet, PDF (148/1162 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer
Section 2 Programming Model
Floating-point status/control register, FPSCR (32 bits, initial value = H'0004 0001)
31
22 21 20 19 18 17
12 11
76
—
FR SZ PR DN
Cause
Enable
Note: —: Reserved. These bits are always read as 0, and should only be written with 0.
Flag
210
RM
• 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
Enable
Flag
FPU exception
cause field
FPU exception
enable field
FPU exception
flag field
FPU
Invalid
Division Overflow Underflow Inexact
Error (E) Operation (V) by Zero (Z) (O)
(U)
(I)
Bit 17
Bit 16
Bit 15
Bit 14
Bit 13
Bit 12
None
Bit 11
Bit 10
Bit 9
Bit 8
Bit 7
None
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Rev.7.00 Oct. 10, 2008 Page 64 of 1074
REJ09B0366-0700