English
Language : 

RM0004 Datasheet, PDF (563/1176 Pages) STMicroelectronics – Programmer’s reference manual for Book E processors
Instruction set
RM0004
evmheusiaaw
SPE APU User
evmheusiaaw
Vector multiply half words, even, unsigned, saturate, integer and accumulate into
words
evmheusiaaw
rD,rA,rB
0
56
000100
10 11
15 16
20 21
31
rD
rA
rB
10100000000
// high
temp0:31 ← rA0:15 ×ui rB0:15
temp0:63 ← EXTZ(ACC0:31) + EXTZ(temp0:31)
ovh ← temp31
rD0:31 ← SATURATE(ovh, 0, 0xFFFF_FFFF, 0xFFFF_FFFF, temp32:63)
//low
temp0:31 ← rA32:47 ×ui rB32:47
temp0:63 ← EXTZ(ACC32:63) + EXTZ(temp0:31)
ovl ← temp31
rD32:63 ← SATURATE(ovl, 0, 0xFFFF_FFFF, 0xFFFF_FFFF, temp32:63)
// update accumulator
ACC0:63 ← rD0:63
// update SPEFSCR
SPEFSCROVH ← ovh
SPEFSCROV ← ovl
SPEFSCRSOVH ← SPEFSCRSOVH | ovh
SPEFSCRSOV ← SPEFSCRSOV | ovl
For each word element in the accumulator, corresponding even-numbered half-word
unsigned integer elements in rA and rB are multiplied producing a 32-bit product. Each 32-
bit product is then added to the corresponding word in the accumulator, saturating if
overflow occurs, and the result is placed in rD and the accumulator.
If the addition causes overflow, the overflow and summary overflow bits are recorded in the
SPEFSCR.
Other registers altered: SPEFSCR ACC
563/1176