tm1300 NXP Semiconductors, tm1300 Datasheet - Page 328

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
fdivflags
SYNTAX
FUNCTION
DESCRIPTION
r src1 r src2 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 quotient, and the IFZ bit in the result is set. If the quotient 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-42
r30 = 0x7f7fffff (3.402823466e+38),
r40 = 0x3f800000 (1.0)
r10 = 0,
r50 = 0x7f7fffff (3.402823466e+38)
r60 = 0x3e000000 (0.125)
r20 = 1,
r50 = 0x7f7fffff (3.402823466e+38)
r60 = 0x3e000000 (0.125)
r70 = 0x40400000 (3.0),
r80 = 0x00400000 (5.877471754e–39)
r85 = 0x7f800000 (+INF),
r86 = 0xff800000 (–INF)
The
The
[ IF r guard ] fdivflags r src1 r src2
if r guard then
fdivflags
r dest
fdivflags
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 quotient
PRODUCT SPECIFICATION
fdivflags r30 r40
IF r10 fdivflags r50 r60
IF r20 fdivflags r50 r60
fdivflags r70 r80
fdivflags r85 r86
IEEE status flags from floating-point divide
r dest
Operation
7
0
OFZ
r100
r112
r113
6
IFZ
5
r110
r111
INV
4
Function unit
Operation code
Number of operands
Modifier
Modifier range
Latency
Recovery
Issue slots
fdiv faddflags readpcsw
r100
no change, since guard is false
r111
r112
r113
OVF
3
Philips Semiconductors
UNF
0
0xa (OVF INX)
0x21 (IFZ DBZ)
0x10 (INV)
ATTRIBUTES
2
SEE ALSO
Result
INX
1
DBZ
0
ftough
109
No
17
16
2
2

Related parts for tm1300