English
Language : 

PNX1300 Datasheet, PDF (481/548 Pages) NXP Semiconductors – Media Processors
PNX1300/01/02/11 Data Book
ugeq
Philips Semiconductors
Unsigned compare greater or equal
SYNTAX
[ IF rguard ] ugeq rsrc1 rsrc2 → rdest
FUNCTION
if rguard then {
if (unsigned)rsrc1 >= (unsigned)rsrc2 then
rdest ← 1
else
rdest ← 0
}
ATTRIBUTES
Function unit
Operation code
Number of operands
Modifier
Modifier range
Latency
Issue slots
alu
35
2
No
—
1
1, 2, 3, 4, 5
SEE ALSO
igeq ugeqi
DESCRIPTION
The ugeq operation sets the destination register, rdest, to 1 if the first argument, rsrc1, is greater than or equal to
the second argument, rsrc2; otherwise, rdest is set to 0. The arguments are treated as unsigned integers.
The ugeq operation optionally takes a guard, specified in rguard. If a guard is present, its LSB controls the
modification of the destination register. If the LSB of rguard is 1, rdest is written; otherwise, rdest is not changed.
EXAMPLES
Initial Values
r30 = 3, r40 = 4
r10 = 0, r60 = 0x100, r30 = 3
r20 = 1, r50 = 0x1000, r60 = 0x100
r70 = 0x80000000, r40 = 4
r70 = 0x80000000
Operation
ugeq r30 r40 → r80
IF r10 ugeq r60 r30 → r50
IF r20 ugeq r50 r60 → r90
ugeq r70 r40 → r100
ugeq r70 r70 → r110
Result
r80 ← 0
no change, since guard is false
r90 ← 1
r100 ← 1
r110 ← 1
A-183
PRELIMINARYSPECIFICATION