tm1300 NXP Semiconductors, tm1300 Datasheet - Page 359

no-image

tm1300

Manufacturer Part Number
tm1300
Description
Tm-1300 Media Processor
Manufacturer
NXP Semiconductors
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
tm1300-1.2
Quantity:
380
Philips Semiconductors
Absolute value
pseudo-op for h_iabs
SYNTAX
FUNCTION
DESCRIPTION
argument and a second argument equal to the
assembly source files.)
integer; the result is an unsigned integer.
modification of the destination register. If the LSB of r guard is 1, r dest is written; otherwise, r dest is not changed.
EXAMPLES
r30 = 0xffffffff
r10 = 0, r40 = 0xfffffff4
r20 = 1, r40 = 0xfffffff4
r50 = 0x80000001
r60 = 0x80000000
r20 = 1
The
The
The
[ IF r guard ] iabs r src1
if r guard then {
}
if rsrc1 < 0 then
else
iabs
iabs
iabs
r dest
r dest
Initial Values
operation computes the absolute value of r src1 and stores the result into r dest . The argument is a signed
operation is a pseudo operation transformed by the scheduler into an
operation optionally takes a guard, specified in r guard . If a guard is present, its LSB controls the
–rsrc1
rsrc1
iabs r30
IF r10 iabs r40
IF r20 iabs r40
iabs r50
iabs r60
iabs r20
r dest
iabs
r60
r100
r110
r120
Operation
argument. (Note: pseudo operations cannot be used in
PRODUCT SPECIFICATION
r80
r90
DSPCPU Operations for TM1300
h_iabs dspiabs dspidualabs
Function unit
Operation code
Number of operands
Modifier
Modifier range
Latency
Issue slots
r60
no change, since guard is false
r90
r100
r110
r120
h_iabs
0x00000001
0xc
0x7fffffff
0x80000000
1
ATTRIBUTES
SEE ALSO
fabsval
with zero as the first
Result
1, 2, 3, 4, 5
iabs
alu
No
44
1
1
A-73

Related parts for tm1300