Home | History | Annotate | Download | only in gen
History log of /src/lib/libc/arch/alpha/gen/fpsetround.c
RevisionDateAuthorComments
 1.12  21-Mar-2012  he Add some casts to get rid of "bitwise op on signed value is non-portable"
warning from lint.
 1.11  12-Jun-2011  matt branches: 1.11.2;
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.
 1.10  24-Dec-2005  perry branches: 1.10.42;
__asm__ -> __asm
 1.9  12-Jun-2005  lukem Add missing __RCSID()
 1.8  27-Jul-2003  mrg add a cast appease gcc3.3
 1.7  26-Jul-2003  salo netbsd.org->NetBSD.org
 1.6  13-Jan-2002  thorpej Add internal names for fp{get,set}{mask,round,sticky}(), and
externally-visible weak aliases for the internal names.
 1.5  26-Apr-2001  ross tweak barrier ops some more
 1.4  26-Apr-2001  ross Delete the trapb ops bracketing mf_fpcr, they aren't needed.
Change the trapb ops bracketing mt_fpcr to excb ops.
 1.3  14-Jun-2000  cgd branches: 1.3.4;
sweep of my licenses (userland files w/o only my copyright) for
consistency. (no functional changes)
 1.2  14-Jun-2000  cgd fix up NetBSD RCS Ids to match the standard, and the leading comment as
to match as well. No functional changes.
 1.1  29-Apr-1995  cgd branches: 1.1.18;
get & set FP rounding direction. these actually seem to work.
 1.1.18.1  23-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.3.4.2  28-Jan-2002  nathanw Catch up to -current.
 1.3.4.1  08-Oct-2001  nathanw Catch up to -current.
 1.10.42.1  23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.11.2.1  17-Apr-2012  yamt sync with head

RSS XML Feed