patch-1.3.50 linux/arch/alpha/math-emu/fp-emul.h

Next file: linux/arch/alpha/math-emu/ieee-math.c
Previous file: linux/arch/alpha/math-emu/fp-emul.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.49/linux/arch/alpha/math-emu/fp-emul.h linux/arch/alpha/math-emu/fp-emul.h
@@ -0,0 +1,10 @@
+/*
+ * These defines correspond to the dynamic rounding mode bits in the
+ * Floating Point Control Register.  They also happen to correspond to
+ * the instruction encodings except that 0x03 signifies dynamic
+ * rounding mode in that case.
+ */
+#define ROUND_CHOP	0x00	/* chopped (aka round twards zero) */
+#define ROUND_NINF	0x01	/* round towards negative infinity */
+#define ROUND_NEAR	0x02	/* round towards nearest number */
+#define ROUND_PINF	0x03	/* round towards positive infinity */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this