tm1300 NXP Semiconductors, tm1300 Datasheet - Page 348

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
fsubflags
SYNTAX
FUNCTION
DESCRIPTION
r src2 and writes a bit vector representing the exception flags into r dest . The argument values are in IEEE single-
precision floating-point format; the result is an integer bit vector. 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. If an argument is denormalized, zero is substituted before
computing the difference, and the IFZ bit in the result is set. If the difference would be denormalized, the OFZ 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
A-62
r60 = 0xc0400000 (–3.0),
r30 = 0x3f800000 (1.0)
r40 = 0x40400000 (3.0),
r60 = 0xc0400000 (–3.0)
r10 = 0, r40 = 0x40400000 (3.0),
r80 = 0x00800000 (1.17549435e-38)
r20 = 1, r40 = 0x40400000 (3.0),
r80 = 0x00800000 (1.17549435e-38)
r40 = 0x40400000 (3.0),
r81 = 0x00400000 (5.877471754e–39)
r82 = 0x00c00000 (1.763241526e-38),
r83 = 0x0080000 (1.175494351e-38)
r84 = 0x7f800000 (+INF),
r85 = 0x7f800000 (+INF)
r70 = 0x7f7fffff (3.402823466e+38)
r86 = 0xff7fffff (-3.402823466e+38)
r87 = 0xffffffff (QNaN))
r30 = 0x3f800000 (1.0
r87 = 0xffbfffff (SNaN))
r30 = 0x3f800000 (1.0
r83 = 0x0080001 (1.175494421e-38),
r89 = 0x0080000 (1.175494351e-38)
The
The
[ IF r guard ] fsubflags r src1 r src2
if r guard then
fsubflags
fsubflags
r dest
31
0
Initial Values
ieee_flags((float)r src1 – (float)r src2 )
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 computing the difference r src1 –
PRODUCT SPECIFICATION
fsubflags r60 r30
fsubflags r40 r60
IF r10 fsubflags r40 r80
IF r20 fsubflags r40 r80
fsubflags r40 r81
fsubflags r82 r83
fsubflags r84 r85
fsubflags r70 r86
fsubflags r87 r30
fsubflags r87 r30
fsubflags r83 r89
IEEE status flags from floating-point subtract
r dest
Operation
7
0
OFZ
r90
r95
r111
r112
r113
r120
r125
r125
r126
6
IFZ
5
r100
r110
INV
4
Function unit
Operation code
Number of operands
Modifier
Modifier range
Latency
Issue slots
fsub faddflags readpcsw
r90
r95
no change, since guard is false
r110
r111
r112
r113
r120
r125
r125
r126
OVF
3
Philips Semiconductors
0
0
UNF
0x2 (INX)
0x20 (IFZ)
0x40 (OFZ)
0x10 (INV)
0xA (OVF,INX)
0x0
0x10 (INV)
0x4 (UNF)
ATTRIBUTES
2
SEE ALSO
Result
INX
1
DBZ
0
falu
114
1, 4
No
2
3

Related parts for tm1300