PNX1301 PHILIPS [NXP Semiconductors], PNX1301 Datasheet - Page 346

no-image

PNX1301

Manufacturer Part Number
PNX1301
Description
Media Processors
Manufacturer
PHILIPS [NXP Semiconductors]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PNX1301EH
Manufacturer:
MARVELL
Quantity:
335
Part Number:
PNX1301EH
Manufacturer:
HAR
Quantity:
8
Part Number:
PNX1301EH,557
Manufacturer:
NXP Semiconductors
Quantity:
10 000
Part Number:
PNX1301EH/G(ROHS)
Manufacturer:
PHILIPS/飞利浦
Quantity:
20 000
Philips Semiconductors
Floating-point compare greater
SYNTAX
FUNCTION
DESCRIPTION
argument, rsrc2; otherwise, rdest is set to 0. The arguments are treated as IEEE single-precision floating-point values;
the result is an integer. If an argument is denormalized, zero is substituted for the argument before computing the
comparison, and the IFZ flag in the PCSW is set. If
flags in the PCSW are set. The PCSW exception flags are sticky: the flags can be set as a side-effect of any floating-
point operation but can only be reset by an explicit
occurs at the same time as rdest is written. If any other floating-point compute operations update the PCSW at the
same time, the net result in each exception flag is the logical OR of all simultaneous updates ORed with the existing
PCSW value for that exception flag.
modification of the destination register. If the LSB of r guard is 1, rdest and the exception flags in PCSW are written;
otherwise, rdest is not changed and the operation does not affect the exception flags in PCSW.
EXAMPLES
r30 = 0x40400000 (3.0), r40 = 0 (0.0)
r30 = 0x40400000 (3.0)
r10 = 0, r60 = 0x3f800000 (1.0),
r30 = 0x40400000 (3.0)
r20 = 1, r60 = 0x3f800000 (1.0),
r30 = 0x40400000 (3.0)
r30 = 0x40400000 (3.0),
r60 = 0x3f800000 (1.0)
r30 = 0x40400000 (3.0),
r61 = 0xffffffff (QNaN)
r50 = 0x7f800000 (+INF)
r55 = 0xff800000 (-INF)
r60 = 0x3f800000 (1.0),
r65 = 0x00400000 (5.877471754e-39)
r50 = 0x7f800000 (+INF)
The
The
The
[ IF rguard ] fgtr rsrc1 rsrc2
if rguard then {
}
if (float)rsrc1 > (float)rsrc2 then
else
fgtr
fgtrflags
rdest
rdest
fgtr
Initial Values
operation sets the destination register, rdest, to 1 if the first argument, rsrc1, is greater than the second
operation optionally takes a guard, specified in rguard. If a guard is present, its LSB controls the
1
0
operation computes the exception flags that would result from an individual
fgtr r30 r40
fgtr r30 r30
IF r10 fgtr r60 r30
IF r20 fgtr r60 r30
fgtr r30 r60
fgtr r30 r61
fgtr r50 r55
fgtr r60 r65
fgtr r50 r50
rdest
writepcsw
Operation
fgtr
r80
r90
r120
r121
r125
r126
r127
causes an IEEE exception, the corresponding exception
PRELIMINARY SPECIFICATION
operation. The update of the PCSW exception flags
r100
r110
PNX1300/01/02/11 DSPCPU Operations
r80
r90
no change, since guard is false
r110
r120
r121
r125
r126
r127
Function unit
Operation code
Number of operands
Modifier
Modifier range
Latency
Issue slots
1
0
0
1
0, INV flag set
1
1, IFZ flag set
0
igtr fgtrflags fgeq
readpcsw writepcsw
ATTRIBUTES
SEE ALSO
Result
fgtr
.
fcomp
144
No
fgtr
2
1
3
A-48

Related parts for PNX1301