tm1300 NXP Semiconductors, tm1300 Datasheet - Page 353

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
Dual clipped absolute value of signed 16-bit
halfwords
SYNTAX
FUNCTION
DESCRIPTION
high and low 16-bit halfwords of rsrc2. Both absolute values are clipped into the range [0x0..0x7fff] and written into the
corresponding halfwords of r dest . All values are signed 16-bit integers. This operation requires a zero as first
argument. The programmer is advised to use the
the 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 = 0xffff0032
r10 = 0, r40 = 0x80008001
r20 = 1, r40 = 0x80008001
r50 = 0x0032ffff
r90 = 0x7fffffff
The h_
The h_
[ IF r guard ] h_dspidualabs r0 rsrc2
if r guard then {
}
temp1
temp2
if temp1 = 0xffff8000 then temp1
if temp2 = 0xffff8000 then temp2
if temp1 < 0 then temp1
if temp2 < 0 then temp2
r dest <31:16>
r dest <15:0>
dspidualabs
dspidualabs
Initial Values
sign_ext16to32(rsrc2<15:0>)
sign_ext16to32(rsrc2<31:16>)
temp1<15:0>
temp2<15:0>
operation performs two 16-bit clipped, signed absolute value computations separately on the
operation optionally takes a guard, specified in r guard . If a guard is present, its LSB controls
–temp1
–temp2
h_dspidualabs r0 r30
IF r10 h_dspidualabs r0 r40
IF r20 h_dspidualabs r0 r40
h_dspidualabs r0 r50
h_dspidualabs r0 r90
0x7fff
0x7fff
dspidualabs
Operation
r dest
PRODUCT SPECIFICATION
pseudo operation instead.
r60
r80
r110
r70
r100
DSPCPU Operations for TM1300
Function unit
Operation code
Number of operands
Modifier
Modifier range
Latency
Issue slots
dspidualadd dspidualmul
h_dspidualabs
r60
no change, since guard is false
r100
r80
r110
dspidualabs dspiabs
dspidualsub dspiabs
0x00010032
0x00320001
ATTRIBUTES
0x7fff7fff
0x7fff0001
SEE ALSO
Result
dspalu
1, 3
No
72
2
2
A-67

Related parts for tm1300