The NetBSD Project

CVS log for src/lib/libc/arch/alpha/gen/fpsetround.c

[BACK] Up to [cvs.NetBSD.org] / src / lib / libc / arch / alpha / gen

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: netbsd-6-0-3-RELEASE


Revision 1.11 / (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-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Branch point for: yamt-pagecache
Changes since 1.10: +15 -15 lines
Diff to previous 1.10 (unified)

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.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>