tm1300 NXP Semiconductors, tm1300 Datasheet - Page 463

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
Philips Semiconductors
IEEE status flags from convert floating-point to
unsigned integer with round toward zero
SYNTAX
FUNCTION
DESCRIPTION
IEEE floating-point value in r src1 to an unsigned integer, and an integer bit vector representing the computed
exception flags is written into r dest . The bit vector stored in r dest has the same format as the IEEE exception bits in
the PCSW. The exception flags in PCSW are left unchanged by this operation. Rounding toward zero is performed;
the IEEE rounding mode bits in PCSW are ignored. If an argument is denormalized, zero is substituted before
computing the conversion, and the IFZ bit in the result is set.
modification of the destination register. If the LSB of r guard is 1, r dest is written; otherwise, r dest is not changed.
EXAMPLES
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
[ IF r guard ] ufixrzflags r src1
if r guard then
r dest
ufixrzflags
ufixrzflags
31
0
Initial Values
ieee_flags((unsigned long) ((float)r src1 ))
operation optionally takes a guard, specified in r guard . If a guard is present, its LSB controls the
operation computes the IEEE exceptions that would result from converting the single-precision
ufixrzflags r30
ufixrzflags r35
IF r10 ufixrzflags r40
IF r20 ufixrzflags r40
ufixrzflags r45
ufixrzflags r50
ufixrzflags r60
ufixrzflags r70
ufixrzflags r80
r dest
Operation
PRODUCT SPECIFICATION
7
0
r100
r102
r112
r115
r117
r120
r122
OFZ
6
r105
r110
IFZ
5
DSPCPU Operations for TM1300
INV
4
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
OVF
3
ufixrz ifixrzflags
0
0x02 (INX)
0x10 (INV)
0x10 (INV)
0x10 (INV)
0x20 (IFZ)
0x10 (INV)
0x10 (INV)
ifixieeeflags
ufixieeeflags
UNF
ATTRIBUTES
2
SEE ALSO
ufixrzflags
Result
INX
1
DBZ
0
falu
126
1, 4
No
1
3
A-177

Related parts for tm1300