tm1300 NXP Semiconductors, tm1300 Datasheet - Page 465

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 unsigned integer
to floating-point
SYNTAX
FUNCTION
DESCRIPTION
in r src1 to a single-precision IEEE floating-point value, 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 is according to the IEEE rounding mode
bits in PCSW.
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 = 3
r40 = 0xffffffff (4294967295)
r10 = 0, r50 = 0xfffffffd
r20 = 1, r50 = 0xfffffffd
r60 = 0x7fffffff (2147483647)
r70 = 0x80000000 (2147483648)
r80 = 0x7ffffff1 (2147483633)
The
The
[ IF r guard ] ufloatflags r src1
if r guard then
r dest
ufloatflags
ufloatflags
31
0
Initial Values
ieee_flags((float) ((unsigned long)r src1 ))
operation computes the IEEE exceptions that would result from converting the unsigned integer
operation optionally takes a guard, specified in r guard . If a guard is present, its LSB controls the
ufloatflags r30
ufloatflags r40
IF r10 ufloatflags r50
IF r20 ufloatflags r50
ufloatflags r60
ufloatflags r70
ufloatflags r80
r dest
Operation
PRODUCT SPECIFICATION
7
0
r100
r105
r117
r120
r122
OFZ
6
r115
r110
IFZ
5
DSPCPU Operations for TM1300
INV
r100
r105
no change, since guard is false
r115
r117
r120
r122
4
Function unit
Operation code
Number of operands
Modifier
Modifier range
Latency
Issue slots
OVF
0
0x02 (INX)
0x02 (INX)
0x02 (INX)
0
0x02 (INX)
3
ufloat ifloatflags
ifloatrzflags
ufloatrzflags
UNF
ATTRIBUTES
2
SEE ALSO
ufloatflags
Result
INX
1
DBZ
0
falu
128
1, 4
No
1
3
A-179

Related parts for tm1300