Download Variable-Length Encoding (VLE) extension

Transcript
UM0438
A.10
Simplified mnemonics for VLE instructions
EIS-Specific simplified mnemonics
This section describes simplified mnemonics used by auxiliary processing units (APUs)
defined as part of the Book E implementation standards (EIS).
A.10.1
Integer Select (isel)
The following mnemonics simplify the most common variants of the isel instruction that
access CR0:
Integer Select Less Than
isellt rD,rA,rB
equivalent to
isel rD,rA,rB,0
equivalent to
isel rD,rA,rB,1
equivalent to
isel rD,rA,rB,2
Integer Select Greater Than
iselgt rD,rA,rB
Integer Select Equal
iseleq rD,rA,rB
A.11
Comprehensive list of simplified mnemonics
Table 32 lists simplified mnemonics. Note that compiler designers may implement additional
simplified mnemonics not listed here.
Table 32.
Simplified mnemonics
Simplified mnemonic
Mnemonic
e_bdnz target(1)
e_bc 2,0,target
Decrement CTR, branch if CTR ≠ 0 (e_bc without
LR update)
e_bdnzl target 1
e_bcl 2,0,target
Decrement CTR, branch if CTR ≠ 0 (e_bcl with LR
update)
e_bdz target 1
e_bc 3,0,target
Decrement CTR, branch if CTR = 0 (e_bc without
LR update)
e_bdzl target 1
e_bcl 3,BI32,target
Decrement CTR, branch if CTR = 0 (e_bcl with LR
update)
e_beq crS,target
e_bc 1,BI32(2),target
se_beq target
e_beql crS,target
Branch if equal (e_bc without LR updating)
2
Branch if equal (se_bc)
2,target
Branch if equal (e_bcl with LR updating)
se_bc 1,BI16 ,target
e_bcl 1,BI32
Instruction
e_bf BI32,target
e_bc 0,BI32,target
Branch if condition false (3) (e_bc without LR
update)
se_bf BI16,target
se_bc 0,BI16,target
Branch if condition false3 (se_bc)
e_bfl BI32,target
e_bcl 0,BI32,target
Branch if condition false 3 (e_bcl with LR update)
e_bge crS,target
e_bc 0,BI32(4),target
Branch if greater than or equal (e_bc without LR
updating)
se_bge target
se_bc 0,BI164,target
Branch if greater than or equal (se_bc)
e_bgel crS,target
e_bcl 0,BI324,target
Branch if greater than or equal (e_bcl with LR
updating)
41/50