tm1300 NXP Semiconductors, tm1300 Datasheet - Page 309

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
Clipped signed add
SYNTAX
FUNCTION
DESCRIPTION
[2
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 = 0x1200, r40 = 0xff
r10 = 0, r30 = 0x1200, r40 = 0xff
r20 = 1, r30 = 0x1200, r40 = 0xff
r50 = 0x7fffffff, r90 = 1
r70 = 0x80000000, r80 = 0xffffffff
As shown below, the
The
31
[ IF r guard ] dspiadd r src1 r src2
if r guard then {
}
r src1
–1..–2
temp
if temp < 0xffffffff80000000 then
else if temp > 0x000000007fffffff then
else
dspiadd
r dest
r dest
r dest
3
31
Initial Values
sign_ext32to64(r src1 ) + sign_ext32to64(r src2 )
] (or [0x7fffffff..0x80000000]), and stores the clipped value into r dest . All values are signed integers.
0x80000000
0x7fffffff
temp
operation optionally takes a guard, specified in r guard . If a guard is present, its LSB controls the
dspiadd
Full-precision
33-bit result
signed
r dest
operation computes the sum r src1 +r src2 , clips the result into the 32-bit signed range
3
dspiadd r30 r40
IF r10 dspiadd r30 r40
IF r20 dspiadd r30 r40
dspiadd r50 r90
dspiadd r70 r80
3
0
Clip to [2
r dest
Operation
signed
signed
31
–1..–2
PRODUCT SPECIFICATION
r src2
r60
r110
r120
31
3
]
r80
r100
DSPCPU Operations for TM1300
0
0
Function unit
Operation code
Number of operands
Modifier
Modifier range
Latency
Issue slots
r60
no change, since guard is false
r100
r110
r120
dspiabs dspimul dspisub
dspuadd dspumul dspusub
signed
0x12ff
0x12ff
0x7fffffff
0x80000000
ATTRIBUTES
SEE ALSO
Result
dspiadd
dspalu
1, 3
No
66
0
2
2
A-23

Related parts for tm1300