tm1300 NXP Semiconductors, tm1300 Datasheet - Page 326

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
faddflags
SYNTAX
FUNCTION
DESCRIPTION
and stores 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
sum, and the IFZ bit in the result is set. If the sum 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-40
r10 = 0x7f7fffff (3.402823466e+38),
r20 = 0x3f800000 (1.0)
r30 = 0,
r10 = 0x7f7fffff (3.402823466e+38)
r40 = 1,
r10 = 0x7f7fffff (3.402823466e+38)
r80 = 0x00a00000 (1.469367939e–38),
r81 = 0x80800000 (–1.17549435e–38)
r95 = 0x7f800000 (+INF),
r96 = 0xff800000 (–INF)
r98 = 0x40400000 (3.0),
r99 = 0x00400000 (5.877471754e–39)
The
The
[ IF r guard ] faddflags r src1 r src2
if r guard then
faddflags
faddflags
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 sum r src1 +r src2
PRODUCT SPECIFICATION
faddflags r10 r20
IF r30 faddflags r10 r10
IF r40 faddflags r10 r10
faddflags r80 r81
faddflags r95 r96
faddflags r98 r99
IEEE status flags from floating-point add
r dest
Operation
7
0
OFZ
r60
r100
r105
r111
6
IFZ
5
r50
r70
INV
4
Function unit
Operation code
Number of operands
Modifier
Modifier range
Latency
Issue slots
r60
no change, since guard is false
r70
r100
r105
r111
fadd fsubflags readpcsw
OVF
3
Philips Semiconductors
0x2 (INX)
0xa (OVF INX)
0x46 (OFZ UNF INX)
0x10 (INV)
0x20 (IFZ)
UNF
ATTRIBUTES
2
SEE ALSO
Result
INX
1
DBZ
0
falu
112
1, 4
No
2
3

Related parts for tm1300