English
Language : 

PNX1300 Datasheet, PDF (397/548 Pages) NXP Semiconductors – Media Processors
PNX1300/01/02/11 Data Book
igtri
Philips Semiconductors
Signed compare greater with immediate
SYNTAX
[ IF rguard ] igtri(n) rsrc1 → rdest
FUNCTION
if rguard then {
if rsrc1 > n then
rdest ← 1
else
rdest ← 0
}
ATTRIBUTES
Function unit
Operation code
Number of operands
Modifier
Modifier range
Latency
Issue slots
alu
0
1
7 bits
–64..63
1
1, 2, 3, 4, 5
SEE ALSO
igtr igeqi
DESCRIPTION
The igtri operation sets the destination register, rdest, to 1 if the first argument, rsrc1, is greater than the opcode
modifier, n; otherwise, rdest is set to 0. The arguments are treated as signed integers.
The igtri 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
r30 = 3
r30 = 3
r10 = 0, r40 = 0x100
r20 = 1, r40 = 0x100
r60 = 0x80000000
Operation
igtri(2) r30 → r80
igtri(3) r30 → r90
igtri(4) r30 → r100
IF r10 igtri(63) r40 → r50
IF r20 igtri(63) r40 → r100
igtri(-64) r60 → r120
Result
r80 ← 1
r90 ← 0
r100 ← 0
no change, since guard is false
r100 ← 1
r120 ← 0
A-99
PRELIMINARYSPECIFICATION