Mapping Between Instructions and Functional Units
3-4
3.2
Mapping Between Instructions and Functional Units
Table 3–2 shows the mapping between instructions and functional units and
Table 3–3 shows the mapping between functional units and instructions.
Table 3–2. Instruction to Functional Unit Mapping
.L Unit
.M Unit
.S Unit
.D Unit
ABS
MPY
ADD
SET
ADD
STB
(15-bit offset)
‡
ADD
MPYU
ADDK
SHL
ADDAB
STH (15-bit offset)
‡
ADDU
MPYUS
ADD2
SHR
ADDAH
STW (15-bit offset)
‡
AND
MPYSU
AND
SHRU
ADDAW
SUB
CMPEQ
MPYH
B disp
SSHL
LDB
SUBAB
CMPGT
MPYHU
B IRP
†
SUB
LDBU
SUBAH
CMPGTU
MPYHUS
B NRP
†
SUBU
LDH
SUBAW
CMPLT
MPYHSU
B reg
SUB2
LDHU
ZERO
CMPLTU
MPYHL
CLR
XOR
LDW
LMBD
MPYHLU
EXT
ZERO
LDB (15-bit offset)
‡
MV
MPYHULS
EXTU
LDBU (15-bit offset)
‡
NEG
MPYHSLU
MV
LDH (15-bit offset)
‡
NORM
MPYLH
MVC
†
LDHU
(15-bit offset)
‡
NOT
MPYLHU
MVK
LDW (15-bit offset)
‡
OR
MPYLUHS
MVKH
MV
SADD
MPYLSHU
MVKLH
STB
SAT
SMPY
NEG
STH
SSUB
SMPYHL
NOT
STW
SUB
SMPYLH
OR
SUBU
SMPYH
SUBC
XOR
ZERO
† S2 only
‡ D2 only