17.4.3 FPSR register information

The FPSR register information defines the following item.

1 ) FPSR register information: fpsr

The initial FPSR register value specified in this item is loaded in the FPSR register at the initial activation of a processing program (such as a task, a cyclic handler, or an interrupt handler).

The following shows the FPSR register information format.

 [ DEF_FPSR ( fpsr ); ]


The item constituting the FPSR register information is shown below.

1 ) Initial FPSR register value: fpsr
Specifies the initial value to be loaded in the FPSR at initial activation of a processing program.
A value from 0x0 to 0xffffffff can be specified for fpsr.
Note that operation is not guaranteed if a value outside the range allowed by hardware is specified. See the hardware manual for the specific values.



If omitted The initial FPSR register value is "0x00020000".

Note 1 This item setting is only valid for a PE incorporating an FPU. If this item is specified for a PE that does not have an FPU, an error will occur.

Note 2 When using floating-point operation in the imprecise exception mode in a user routine, issue the syncp and synce instructions for synchronization to complete the floating-point operation before terminating the user routine processing by issuing a service call such as ext_tsk.