summaryrefslogtreecommitdiffstats
path: root/include/asm-alpha/fpu.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1998-03-18 17:17:51 +0000
committerRalf Baechle <ralf@linux-mips.org>1998-03-18 17:17:51 +0000
commitf1382dc4850bb459d24a81c6cb0ef93ea7bd4a79 (patch)
tree225271a3d5dcd4e9dea5ee393556abd754c964b1 /include/asm-alpha/fpu.h
parent135b00fc2e90e605ac2a96b20b0ebd93851a3f89 (diff)
o Merge with Linux 2.1.90.
o Divide L1 cache sizes by 1024 before printing, makes the numbers a bit more credible ...
Diffstat (limited to 'include/asm-alpha/fpu.h')
-rw-r--r--include/asm-alpha/fpu.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/include/asm-alpha/fpu.h b/include/asm-alpha/fpu.h
index ab9b28f6e..333e5caeb 100644
--- a/include/asm-alpha/fpu.h
+++ b/include/asm-alpha/fpu.h
@@ -37,21 +37,21 @@
* compatibly. The corresponding definitions are in
* /usr/include/machine/fpu.h under OSF/1.
*/
-#define IEEE_TRAP_ENABLE_INV (1<<1) /* invalid op */
-#define IEEE_TRAP_ENABLE_DZE (1<<2) /* division by zero */
-#define IEEE_TRAP_ENABLE_OVF (1<<3) /* overflow */
-#define IEEE_TRAP_ENABLE_UNF (1<<4) /* underflow */
-#define IEEE_TRAP_ENABLE_INE (1<<5) /* inexact */
+#define IEEE_TRAP_ENABLE_INV (1UL<<1) /* invalid op */
+#define IEEE_TRAP_ENABLE_DZE (1UL<<2) /* division by zero */
+#define IEEE_TRAP_ENABLE_OVF (1UL<<3) /* overflow */
+#define IEEE_TRAP_ENABLE_UNF (1UL<<4) /* underflow */
+#define IEEE_TRAP_ENABLE_INE (1UL<<5) /* inexact */
#define IEEE_TRAP_ENABLE_MASK (IEEE_TRAP_ENABLE_INV | IEEE_TRAP_ENABLE_DZE |\
IEEE_TRAP_ENABLE_OVF | IEEE_TRAP_ENABLE_UNF |\
IEEE_TRAP_ENABLE_INE)
/* status bits coming from fpcr: */
-#define IEEE_STATUS_INV (1<<17)
-#define IEEE_STATUS_DZE (1<<18)
-#define IEEE_STATUS_OVF (1<<19)
-#define IEEE_STATUS_UNF (1<<20)
-#define IEEE_STATUS_INE (1<<21)
+#define IEEE_STATUS_INV (1UL<<17)
+#define IEEE_STATUS_DZE (1UL<<18)
+#define IEEE_STATUS_OVF (1UL<<19)
+#define IEEE_STATUS_UNF (1UL<<20)
+#define IEEE_STATUS_INE (1UL<<21)
#define IEEE_STATUS_MASK (IEEE_STATUS_INV | IEEE_STATUS_DZE | \
IEEE_STATUS_OVF | IEEE_STATUS_UNF | \
@@ -64,7 +64,7 @@
#define IEEE_INHERIT (1UL<<63) /* inherit on thread create? */
/*
- * Convert the spftware IEEE trap enable and status bits into the
+ * Convert the software IEEE trap enable and status bits into the
* hardware fpcr format.
*/