tm1300 NXP Semiconductors, tm1300 Datasheet - Page 319

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 unsigned subtract
SYNTAX
FUNCTION
DESCRIPTION
unsigned range [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 = 0, r90 = 1
r70 = 0x80000001, r80 = 0xffffffff
As shown below, the
The
[ IF r guard ] dspusub r src1 r src2
if r guard then {
}
r src1
temp
if (signed)temp < 0 then
else
dspusub
r dest
r dest
3
Initial Values
zero_ext32to64(r src1 ) – zero_ext32to64(r src2 )
0
temp<31:0>
operation optionally takes a guard, specified in r guard . If a guard is present, its LSB controls the
32
–1..0] (or [0xffffffff..0]), and stores the clipped value into r dest .
dspusub
Full-precision
unsigned
33-bit result
r dest
3
dspusub r30 r40
IF r10 dspusub r30 r40
IF r20 dspusub r30 r40
dspusub r50 r90
dspusub r70 r80
operation computes unsigned difference r src1 –r src2 , clips the result into the
3
0
r dest
Clip to [2
Operation
unsigned
signed
32
–1..0]
PRODUCT SPECIFICATION
r src2
r60
r110
r120
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 dspiadd dspimul
dspisub dspuadd dspumul
unsigned
0x1101
0x1101
0
0
ATTRIBUTES
SEE ALSO
Result
dspusub
dspalu
1, 3
No
69
0
2
2
A-33

Related parts for tm1300