3.11.1 Instructions Specific
to
IBM PowerPC Embedded Processors
To
support functions required in embedded real-time applications, the IBM PowerPG 400 family of
embedded processors defines instructions that are not defined
in
the PowerPG Architecture.
Table 3-22 lists the instructions specific to IBM PowerPG embedded processors. Programs using
these instructions are not
portable
to
PowerPG implementations that are not part of the IBM PowerPG
400
family of embedded processors.
In the table, the syntax [s] indicates that the instruction has a signed form. The syntax [u] indicates
that the instruction has an unsigned form. The syntax
"[.]" indicates that the instruction has a "record"
form that updates GR[GRO], and a "non-record" form.
Table 3-22. Implementation-specific Instructions
dccci
macchw[s][u] mulchw[u]
mfdcr
dcread machhw[s][u]
mulhhw[u]
mtdcr
iccci
maclhw[s][u] mullhw[u]
rfci
icread
nmacchw[s]
tlbre
nmachhw[s]
tlbsx[.]
nmaclhw[s]
tlbwe
wrtee
wrteei
3.11.2 . Storage Reference Instructions
Table 3-23 lists the PPG405GP storage reference instructions. Load/store instructions transfer data
between memory and the
GPRs. These instructions operate on bytes, halfwords, and words. Storage
reference instructions
also support loading or storing multiple registers, character strings, and byte-
reversed data.
In the table, the syntax "[u]" indicates that an instruction has an "update" form that updates the RA
addressing register with the
calculated address, and a "non-update" form. The syntax "[x]" indicates
that an instruction has an
"indexed" form, which forms the address by adding the contents of the RA
and
RB
GPRs) and a "base + displacement" form (in which the address is formed by adding a 16-bit
signed immediate
value (included as part of the instruction word) to the contents of RA GPR.
Table 3-23. Storage Reference Instructions
Loads
Stores
Byte Halfword Word
Multiple/String Byte Halfword Word
Multiple/String
Ibz[u][x] Iha[u][x] Iwarx
Imw
stb[u][x] sth[u][x] stw[u][x]
stmw
Ihbrx
Iwbrx
Iswi
sthbrx
stwbrx
stswi
Ihz[u][x] Iwz[u][x]
Iswx
stwcx.
s~swx
3-48
PPC405GP User's
Manual Preliminary