User’s Manual
Preliminary PPC440x5 CPU Core
instalfa.fm.
September 12, 2002
Page 553 of 589
subfze
RT, RA, RB
Subtract (RA) from zero with carry-in.
(RT) ←¬(RA) + XER[CA].
Place carry-out in XER[CA].
434
subfze.
CR[CR0]
subfzeo
XER[SO, OV]
subfzeo.
CR[CR0]
XER[SO, OV]
subi
RT, RA, IM
Subtract EXTS(IM) from (RA|0).
Place result in RT.
Extended mnemonic for
addi RT,RA,−IM
258
subic
RT, RA, IM
Subtract EXTS(IM) from (RA).
Place result in RT.
Place carry-out in XER[CA].
Extended mnemonic for
addic RT,RA,−IM
259
subic.
RT, RA, IM
Subtract EXTS(IM) from (RA).
Place result in RT.
Place carry-out in XER[CA].
Extended mnemonic for
addic. RT,RA,−IM
CR[CR0] 260
subis
RT, RA, IM
Subtract (IM ||
16
0) from (RA|0).
Place result in RT.
Extended mnemonic for
addis RT,RA,−IM
261
tlbre
RT, RA,WS
tlbentry ← TLB[(RA)
26:31
]
if WS = 0
(RT)
0:27
← tlbentry[EPN,V,TS,SIZE]
(RT)
28:31
←
4
0
MMUCR[STID] ← tlbentry[TID]
else if WS = 1
(RT)
0:21
← tlbentry[RPN]
(RT)
22:27
←
6
0
(RT)
28:31
← tlbentry[ERPN]
else if WS = 2
(RT)
0:15
←
16
0
(RT)
16:24
← tlbentry[U0,U1,U2,U3,W,I,M,G,E]
(RT)
25
← 0
(RT)
26:31
← tlbentry[UX,UW,UR,SX,SW,SR]
else (RT), MMUCR[STID] ← undefined
435
tlbsx
RT,RA,RB
Search the TLB for a valid entry that translates the EA.
EA = (RA|0) + (RB)
if Rc = 1
CR[CR0]
0
← 0
CR[CR0]
1
← 0
CR[CR0]
3
← XER[SO}
if Valid TLB entry matching EA and MMUCR[STID,STS] is in
the TLB then
(RT) ← Index of matching TLB Entry
if Rc = 1
CR[CR0]
2
← 1
else
(RT) ← Undefined
if Rc = 1
CR[CR0]
2
← 0
437
tlbsx.
CR[CR0]
Table A-1. PPC440x5 Instruction Syntax Summary (continued)
Mnemonic Operands Function
Other Registers
Changed
Page