tm1300 NXP Semiconductors, tm1300 Datasheet - Page 375

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
integer with round toward zero
SYNTAX
FUNCTION
DESCRIPTION
IEEE floating-point value in r src1 to a signed 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 r src1 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 ] ifixrzflags r src1
if r guard then
r dest
ifixrzflags
ifixrzflags
31
0
Initial Values
ieee_flags((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
ifixrzflags r30
ifixrzflags r35
IF r10 ifixrzflags r40
IF r20 ifixrzflags r40
ifixrzflags r45
ifixrzflags r50
ifixrzflags r60
ifixrzflags r70
ifixrzflags 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
ifixrz ufixrzflags
0
0x02 (INX)
0x10 (INV)
0x10 (INV)
0x02 (INX)
0x20 (IFZ)
0x10 (INV)
0x10 (INV)
ifixieeeflags
ufixieeeflags
UNF
ATTRIBUTES
2
SEE ALSO
ifixrzflags
Result
INX
1
DBZ
0
falu
129
1, 4
No
1
3
A-89

Related parts for tm1300