PNX1311EH/G NXP Semiconductors, PNX1311EH/G Datasheet - Page 387

PNX1311EH/G

Manufacturer Part Number
PNX1311EH/G
Description
Manufacturer
NXP Semiconductors
Datasheet

Specifications of PNX1311EH/G

Lead Free Status / RoHS Status
Compliant
PNX1300/01/02/11 Data Book
ifixrz
SYNTAX
FUNCTION
DESCRIPTION
writes the result into rdest. Rounding toward zero is performed; the IEEE rounding mode bits in PCSW are ignored.
This is the preferred rounding for ANSI C. If rsrc1 is denormalized, zero is substituted before conversion, and the IFZ
flag in the PCSW is set. If
exception flags in the PCSW are set. The PCSW exception flags are sticky: the flags can be set as a side-effect of any
floating-point operation but can only be reset by an explicit
exception flags occurs at the same time as rdest is written. If any other floating-point compute operations update the
PCSW at the same time, the net result in each exception flag is the logical OR of all simultaneous updates ORed with
the existing PCSW value for that exception flag.
modification of the destination register. If the LSB of rguard is 1, rdest and the exception flags in PCSW are written;
otherwise, rdest is not changed and the operation does not affect the exception flags in PCSW.
EXAMPLES
A-89
r30 = 0x40400000 (3.0)
r35 = 0x40247ae1 (2.57)
r10 = 0,
r40 = 0xff4fffff (–3.402823466e+38)
r20 = 1,
r40 = 0xff4fffff (–3.402823466e+38)
r45 = 0x7f800000 (+INF))
r50 = 0xbfc147ae (-1.51)
r60 = 0x00400000 (5.877471754e-39)
r70 = 0xffffffff (QNaN)
r80 = 0xffbfffff (SNaN)
The
The
The
[ IF rguard ] ifixrz rsrc1 → rdest
if rguard then {
}
rdest ← (long) ((float)rsrc1)
ifixrzflags
ifixrz
ifixrz
Initial Values
operation optionally takes a guard, specified in rguard. If a guard is present, its LSB controls the
operation converts the single-precision IEEE floating-point value in rsrc1 to a signed integer and
PRELIMINARY SPECIFICATION
operation computes the exception flags that would result from an individual
ifixrz
ifixrz r30 → r100
ifixrz r35 → r102
IF r10 ifixrz r40 → r105
IF r20 ifixrz r40 → r110
ifixrz r45 → r112
ifixrz r50 → r115
ifixrz r60 → r117
ifixrz r70 → r120
ifixrz r80 → r122
causes an IEEE exception, such as overflow or underflow, the corresponding
Convert floating-point to integer with round
Operation
writepcsw
operation. The update of the PCSW
Function unit
Operation code
Number of operands
Modifier
Modifier range
Latency
Issue slots
r100 ← 3
r102 ← 2, INX flag set
no change, since guard is false
r110 ← 0x80000000 (-2
set
r112 ← 0x7fffffff (2
r115 ← -1, INX flag set
r117 ← 0, IFZ set
r120 ← 0, INV flag set
r122 ← 0, INV flag set
ifixieee ufixieee ufixrz
Philips Semiconductors
ATTRIBUTES
SEE ALSO
Result
toward zero
31
ifixrz
-1), INV flag set
31
), INV flag
.
1, 4
falu
No
21
1
3

Related parts for PNX1311EH/G