patch-2.3.2 linux/include/asm-alpha/bitops.h
Next file: linux/include/asm-alpha/init.h
Previous file: linux/fs/vfat/vfatfs_syms.c
Back to the patch index
Back to the overall index
-  Lines: 24
-  Date:
Fri May 14 12:41:23 1999
-  Orig file: 
v2.3.1/linux/include/asm-alpha/bitops.h
-  Orig date: 
Sun Sep  6 10:34:33 1998
diff -u --recursive --new-file v2.3.1/linux/include/asm-alpha/bitops.h linux/include/asm-alpha/bitops.h
@@ -172,7 +172,10 @@
 
 extern inline unsigned long ffz(unsigned long word)
 {
-#ifdef __alpha_cix__
+#if 0 && defined(__alpha_cix__)
+	/* Swine architects -- a year after they publish v3 of the
+	   handbook, in the 21264 data sheet they quietly change CIX
+	   to FIX and remove the spiffy counting instructions.  */
 	/* Whee.  EV6 can calculate it directly.  */
 	unsigned long result;
 	__asm__("ctlz %1,%0" : "=r"(result) : "r"(~word));
@@ -208,7 +211,10 @@
  * of bits set) of a N-bit word
  */
 
-#ifdef __alpha_cix__
+#if 0 && defined(__alpha_cix__)
+/* Swine architects -- a year after they publish v3 of the handbook, in
+   the 21264 data sheet they quietly change CIX to FIX and remove the
+   spiffy counting instructions.  */
 /* Whee.  EV6 can calculate it directly.  */
 extern __inline__ unsigned long hweight64(unsigned long w)
 {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)