|
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
|
▷ |