tm1300 NXP Semiconductors, tm1300 Datasheet - Page 462

no-image

tm1300

Manufacturer Part Number
tm1300
Description
Tm-1300 Media Processor
Manufacturer
NXP Semiconductors
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
tm1300-1.2
Quantity:
380
TM1300 Data Book
ufixrz
SYNTAX
FUNCTION
DESCRIPTION
writes the result into r dest . Rounding toward zero is performed; the IEEE rounding mode bits in PCSW are ignored.
This is the preferred rounding mode for ANSI C. If r src1 is denormalized, zero is substituted before conversion, and
the IFZ flag in the PCSW is set. If
corresponding 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
PCSW exception flags occurs at the same time as r dest 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 r guard is 1, r dest and the exception flags in PCSW are written;
otherwise, r dest is not changed and the operation does not affect the exception flags in PCSW.
EXAMPLES
A-176
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 r guard ] ufixrz r src1
if r guard then {
}
r dest
ufixrzflags
ufixrz
ufixrz
Initial Values
(unsigned long) ((float)r src1 )
operation converts the single-precision IEEE floating-point value in r src1 to an unsigned integer and
operation optionally takes a guard, specified in r guard . If a guard is present, its LSB controls the
operation computes the exception flags that would result from an individual
PRODUCT SPECIFICATION
ufixrz r30
ufixrz r35
IF r10 ufixrz r40
IF r20 ufixrz r40
ufixrz r45
ufixrz r50
ufixrz r60
ufixrz r70
ufixrz r80
ufixrz
Convert floating-point to unsigned integer with
r dest
causes an IEEE exception, such as overflow or underflow, the
Operation
r100
r102
r112
r115
r117
r120
r122
r105
r110
writepcsw
Function unit
Operation code
Number of operands
Modifier
Modifier range
Latency
Issue slots
r100
r102
no change, since guard is false
r110
r112
r115
r117
r120
r122
ifixieee ufixieee ifixrz
round toward zero
Philips Semiconductors
operation. The update of the
3
2, INX flag set
0x0, INV flag set
0xffffffff (2
0, INV flag set
0, IFZ set
0, INV flag set
0, INV flag set
ATTRIBUTES
SEE ALSO
Result
32
ufixrz
-1), INV flag set
.
falu
125
1, 4
No
1
3

Related parts for tm1300