English
Language : 

PNX1300 Datasheet, PDF (502/548 Pages) NXP Semiconductors – Media Processors
Philips Semiconductors
Unsigned compare not equal
pseudo-op for ineq
SYNTAX
[ IF rguard ] uneq rsrc1 rsrc2 → rdest
FUNCTION
if rguard then {
if rsrc1 != rsrc2 then
rdest ← 1
else
rdest ← 0
}
PNX1300/01/02/11 DSPCPU Operations
uneq
ATTRIBUTES
Function unit
Operation code
Number of operands
Modifier
Modifier range
Latency
Issue slots
alu
39
2
No
—
1
1, 2, 3, 4, 5
SEE ALSO
ineq igtr uneqi
DESCRIPTION
The uneq operation is a pseudo operation transformed by the scheduler into an ineq. (Note: pseudo operations
cannot be used in assembly source files.)
The uneq operation sets the destination register, rdest, to 1 if the two arguments, r src1 and rsrc2, are not equal;
otherwise, rdest is set to 0.
The uneq 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 = 0x1000, r30 = 3
r20 = 1, r50 = 0x1000, r60 = 0x1000
r70 = 0x80000000, r40 = 4
r70 = 0x80000000
Operation
uneq r30 r40 → r80
IF r10 uneq r60 r30 → r50
IF r20 uneq r50 r60 → r90
uneq r70 r40 → r100
uneq r70 r70 → r110
Result
r80 ← 1
no change, since guard is false
r90 ← 0
r100 ← 1
r110 ← 0
PRELIMINARY SPECIFICATION
A-204