Up to [cvs.NetBSD.org] / src / lib / libc / arch / alpha / gen
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: netbsd-6-base
Revision 1.5 / (download) - annotate - [select for diffs], Sun Jun 12 05:44:36 2011 UTC (12 years, 10 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-tag8,
yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
yamt-pagecache-base5,
yamt-pagecache-base4,
yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
netbsd-6-base,
netbsd-6-1-RC1,
netbsd-6-0-RELEASE,
netbsd-6-0-RC2,
netbsd-6-0-RC1,
netbsd-6-0-1-RELEASE,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus
Branch point for: yamt-pagecache,
tls-maxphys,
netbsd-6-0,
netbsd-6
Changes since 1.4: +3 -1
lines
Diff to previous 1.4 (colored)
Use excb before and after the mt_fpcr/mf_fpcr instructions as specified in the alpha ARM 4.7.8.1 (Accessing the FPCR): Because Alpha floating-point hardware can overlap the execution of a number of floating-point instructions, accessing the FPCR must be synchronized with other floating-point instructions. An EXCB instruction must be issued both prior to and after accessing the FPCR to ensure that the FPCR access is synchronized with the execution of previous and subsequent floating-point instructions; otherwise synchronization is not ensured. Use unions to convert between double and uint64_t to avoid casting.