Rev. 1.50, 10/04, page 40 of 448
Table 3.10 Floating-Point Single-Precision Instructions
Instruction
Operation
Instruction Code
Privileged
T Bit
New
FLDI0 FRn
H'0000
0000
→
FRn
1111nnnn10001101
— —
—
FLDI1 FRn
H'3F80
0000
→
FRn
1111nnnn10011101
— —
—
FMOV FRm,FRn FRm
→
FRn
1111nnnnmmmm1100
— —
—
FMOV.S @Rm,FRn (Rm)
→
FRn
1111nnnnmmmm1000
— —
—
FMOV.S
@(R0,Rm),FRn (R0 + Rm)
→
FRn
1111nnnnmmmm0110
— —
—
FMOV.S @Rm+,FRn (Rm)
→
FRn, Rm + 4
→
Rm
1111nnnnmmmm1001
— —
—
FMOV.S FRm,@Rn FRm
→
(Rn)
1111nnnnmmmm1010
— —
—
FMOV.S FRm,@-Rn Rn-4
→
Rn, FRm
→
(Rn)
1111nnnnmmmm1011
— —
—
FMOV.S FRm,@(R0,Rn)
FRm
→
(R0 + Rn)
1111nnnnmmmm0111
— —
—
FMOV DRm,DRn DRm
→
DRn
1111nnn0mmm01100
— —
—
FMOV @Rm,DRn (Rm)
→
DRn
1111nnn0mmmm1000
— —
—
FMOV
@(R0,Rm),DRn (R0 + Rm)
→
DRn
1111nnn0mmmm0110
— —
—
FMOV @Rm+,DRn
(Rm)
→
DRn, Rm + 8
→
Rm
1111nnn0mmmm1001
— —
—
FMOV DRm,@Rn DRm
→
(Rn)
1111nnnnmmm01010
— —
—
FMOV DRm,@-Rn
Rn-8
→
Rn, DRm
→
(Rn)
1111nnnnmmm01011
— —
—
FMOV DRm,@(R0,Rn)
DRm
→
(R0 + Rn)
1111nnnnmmm00111
— —
—
FLDS FRm,FPUL
FRm
→
FPUL
1111mmmm00011101
— —
—
FSTS FPUL,FRn FPUL
→
FRn
1111nnnn00001101
— —
—
FABS
FRn
FRn & H'7FFF FFFF
→
FRn
1111nnnn01011101
— —
—
FADD
FRm,FRn
FRn + FRm
→
FRn
1111nnnnmmmm0000
— —
—
FCMP/EQ
FRm,FRn
When FRn = FRm, 1
→
T
Otherwise, 0
→
T
1111nnnnmmmm0100
—
Comparis
on result
—
FCMP/GT
FRm,FRn
When FRn > FRm, 1
→
T
Otherwise, 0
→
T
1111nnnnmmmm0101
—
Comparis
on result
—
FDIV FRm,FRn FRn/FRm
→
FRn
1111nnnnmmmm0011
— —
—
FLOAT FPUL,FRn (float)
FPUL
→
FRn
1111nnnn00101101
— —
—
FMAC FR0,FRm,FRn
FR0
*
FRm + FRn
→
FRn
1111nnnnmmmm1110
— —
—
FMUL FRm,FRn FRn
*
FRm
→
FRn
1111nnnnmmmm0010
— —
—
FNEG FRn
FRn
∧
H'8000 0000
→
FRn
1111nnnn01001101
— —
—
FSQRT FRn
√
FRn
→
FRn
1111nnnn01101101
— —
—
FSUB FRm,FRn FRn
–
FRm
→
FRn
1111nnnnmmmm0001
— —
—
FTRC FRm,FPUL
(long)
FRm
→
FPUL
1111mmmm00111101
— —
—
Summary of Contents for SuperH SH-4A
Page 2: ...Rev 1 50 10 04 page ii of xx ...
Page 8: ...Rev 1 50 10 04 page viii of xx ...
Page 116: ...Rev 1 50 10 04 page 96 of 448 ...
Page 178: ...Rev 1 50 10 04 page 158 of 448 ...
Page 206: ...Rev 1 50 10 04 page 186 of 448 ...
Page 231: ...Rev 1 50 10 04 page 211 of 448 Possible Exceptions Slot illegal instruction exception ...
Page 235: ...Rev 1 50 10 04 page 215 of 448 Possible Exceptions Slot illegal instruction exception ...
Page 238: ...Rev 1 50 10 04 page 218 of 448 Possible Exceptions Slot illegal instruction exception ...
Page 408: ...Rev 1 50 10 04 page 388 of 448 Possible Exceptions Inexact Not generated when FPSCR PR 1 ...
Page 446: ...Rev 1 50 10 04 page 426 of 448 ...
Page 468: ...Rev 1 50 10 04 page 448 of 448 ...
Page 471: ......
Page 472: ...SH 4A Software Manual ...