R01UH0822EJ0100 Rev.1.00
Page 68 of 1041
Jul 31, 2019
RX13T Group
2. CPU
?: Conditional operator
Note 1. floor(x): Max. integer that is smaller than x
Note 2. For the number of cycles for throughput and latency, refer to section 2.8.3, Calculation of the Instruction Processing Time.
Note 3. The PUSHM instruction is converted into multiple store operations. The pipeline processing is the same as the one for the store
operations of the MOV instruction, where the operation is repeated for the number of specified registers.
Note 4. The POPM instruction is converted into multiple load operations. The pipeline processing is the same as the one for the load
operations of the MOV instruction, where the operation is repeated for the number of specified registers.
Note 5. Each of the SCMPU, SMOVU, SWHILE, and SUNTIL instructions ends the execution regardless of the specified cycles, if the
end condition is satisfied during execution.
String manipulation instructions*
SCMPU
—
2+4×floor(n/4)+4×(n%4)
n: Number of comparison
bytes*
SMOVB
—
n>3?
6+3×floor(n/4)+3×(n%4):
2+3n
n: Number of transfer
bytes*
SMOVF, SMOVU
—
2+3×floor(n/4)+3×(n%4)
n: Number of transfer
bytes*
SSTR.B
—
2+floor(n/4)+n%4
n: Number of transfer
bytes*
SSTR.W
—
2+floor(n/2)+n%2
n: Number of transfer
words*
SSTR.L
—
2+n
n: Number of transfer
longwords
SUNTIL.B, SWHILE.B
—
3+3×floor(n/4)+3×(n%4)
n: Number of comparison
bytes*
SUNTIL.W, SWHILE.W
—
3+3×floor(n/2)+3×(n%2)
n: Number of comparison
words*
SUNTIL.L, SWHILE.L
—
3+3×n
n: Number of comparison
longwords
Floating-point operation
instructions (register-register,
immediate-register)
{FADD, FSUB} “#IMM, Rd”/“Rs, Rd”
4
FMUL “#IMM, Rd”/“Rs, Rd”
—
3
FDIV “#IMM, Rd”/“Rs, Rd”
—
16
{FTOI, ROUND, ITOF} “Rs, Rd”
—
2
Floating-point operation
instructions (memory source
operand)
{FADD, FSUB} “[Rs], Rd”/“dsp[Rs], Rd”
—
6
FCMP “[Rs], Rs2”/“dsp[Rs], Rs2”
—
3
FMUL “[Rs], Rd”/“dsp[Rs], Rd”
—
5
FDIV “[Rs], Rd”/“dsp[Rs], Rd”
—
18
{FTOI, ROUND, ITOF} “[Rs], Rd”/
“dsp[Rs], Rd”
—
4
System manipulation instructions
RTE
—
6
RTFI
—
3
Table 2.14
Instructions that are Converted into Multiple Micro-Operations (2/2)
Instruction
Mnemonic (indicates the common operation when
the size is omitted)
Reference
Figure
Number of Cycles