1 /* $NetBSD: flt_rounds_softfloat.S,v 1.5 2013/07/18 21:36:08 matt Exp $ */
4 * Written by J.T. Conklin, Apr 6, 1995
7 * Broken by Bruce O'Neel Aug 4 2003
8 gcc no longer seems to export fpCCR so this fails.
12 #include <machine/asm.h>
16 /* NB: this is tied to the gcc-2.95 lb1sf68.asm: */
18 .byte 1 /* round to nearest */
19 .byte 0 /* round to zero */
20 .byte 2 /* round to positive infinity */
21 .byte 3 /* round to negative infinity */
25 /* lea _C_LABEL(_fpCCR),%a0 | check the rounding mode */
26 /* movew 6(%a0),%d0 | rounding mode in d0 */