2. Programming Model
Rev.1.00 Jan. 10, 2008 Page 38 of 1658
REJ09B0261-0100
<Bi
g
endian>
DR (2i)
FR (2i)
FR (2i+1)
8n+4
8n+7
8n
8n+3
63
0
63 32 31 0
Floatin
g
-point re
g
ister
Memory area
63
0
<Little endian>
Floatin
g
-point re
g
ister
Memory area
DR (2i)
FR (2i)
FR (2i+1)
4n
4m
4n+3
4m+3
63
0
63 32 31 0
DR (2i)
FR (2i+1)
FR (2i)
8n+4
8n+7
8n+3
8n
63
0
63 32 31 0
(1) SZ = 0
(2) SZ = 1, PR = 0
63
0
63
0
DR (2i)
FR (2i+1)
FR (2i)
8n
8n+3
8n+7
8n+4
63
0
63 32 31 0
(3) SZ = 1, PR = 1
63
0
*
1,
*
2
*
2
Notes: 1. In the case of SZ = 0 and PR = 0, DR re
g
ister can not be used.
2. The bit-location of DR re
g
ister is used for double precision format when PR = 1.
(In the case of (2), it is used when PR is chan
g
ed from 0 to 1.)
Figure 2.5 Relationship between SZ bit and Endian
Table 2.2
Bit Allocation for FPU Exception Handling
Field Name
FPU
Error (E)
Invalid
Operation (V)
Division
by Zero (Z)
Overflow
(O)
Underflow
(U)
Inexact
(I)
Cause FPU
exception
cause field
Bit 17
Bit 16
Bit 15
Bit 14
Bit 13
Bit 12
Enable FPU
exception
enable field
None
Bit 11
Bit 10
Bit 9
Bit 8
Bit 7
Flag
FPU exception flag
field
None
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
(5)
Floating-Point Communication Register (FPUL) (32 bits, Initial Value = Undefined)
Information is transferred between the FPU and CPU via FPUL.
Содержание SH7781
Страница 4: ...Rev 1 00 Jan 10 2008 Page iv of xxx REJ09B0261 0100 ...
Страница 74: ...2 Programming Model Rev 1 00 Jan 10 2008 Page 44 of 1658 REJ09B0261 0100 ...
Страница 272: ...8 Caches Rev 1 00 Jan 10 2008 Page 242 of 1658 REJ09B0261 0100 ...
Страница 376: ...10 Interrupt Controller INTC Rev 1 00 Jan 10 2008 Page 346 of 1658 REJ09B0261 0100 ...
Страница 694: ...13 PCI Controller PCIC Rev 1 00 Jan 10 2008 Page 664 of 1658 REJ09B0261 0100 ...
Страница 762: ...14 Direct Memory Access Controller DMAC Rev 1 00 Jan 10 2008 Page 732 of 1658 REJ09B0261 0100 ...
Страница 788: ...15 Clock Pulse Generator CPG Rev 1 00 Jan 10 2008 Page 758 of 1658 REJ09B0261 0100 ...
Страница 828: ...17 Power Down Mode Rev 1 00 Jan 10 2008 Page 798 of 1658 REJ09B0261 0100 ...
Страница 846: ...18 Timer Unit TMU Rev 1 00 Jan 10 2008 Page 816 of 1658 REJ09B0261 0100 ...
Страница 1292: ...24 Multimedia Card Interface MMCIF Rev 1 00 Jan 10 2008 Page 1262 of 1658 REJ09B0261 0100 ...
Страница 1326: ...25 Audio Codec Interface HAC Rev 1 00 Jan 10 2008 Page 1296 of 1658 REJ09B0261 0100 ...
Страница 1482: ...28 General Purpose I O Ports GPIO Rev 1 00 Jan 10 2008 Page 1452 of 1658 REJ09B0261 0100 ...
Страница 1538: ...30 User Debugging Interface H UDI Rev 1 00 Jan 10 2008 Page 1508 of 1658 REJ09B0261 0100 ...
Страница 1688: ...Appendix Rev 1 00 Jan 10 2008 Page 1658 of 1658 REJ09B0261 0100 ...
Страница 1691: ......
Страница 1692: ...SH7785 Hardware Manual ...