[patch] fix ia64_hint definition for intel compiler intrinsic

From: Chen, Kenneth W <kenneth.w.chen_at_intel.com>
Date: 2006-01-26 15:24:33
Map ia64_hint() to internal intel compiler intrinsic.

Signed-off-by: Ken Chen <kenneth.w.chen@intel.com>

---
Compile tested on selective files.  icc 9.0 appears to have
memory clobber behavior for the hint@pause intrinsic similar
to gcc with "memory" clobber modifier. Your mileage may vary.


--- ./include/asm-ia64/intel_intrin.h.orig	2006-01-25 17:40:12.468497883 -0800
+++ ./include/asm-ia64/intel_intrin.h	2006-01-25 21:04:41.921472582 -0800
@@ -122,7 +122,8 @@ __s64 _m64_popcnt(__s64 a);
 #define ia64_getreg		__getReg
 #define ia64_setreg		__setReg
 
-#define ia64_hint(x)
+#define ia64_hint		__hint
+#define ia64_hint_pause		0
 
 #define ia64_mux1_brcst	 0
 #define ia64_mux1_mix		 8



-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Thu Jan 26 15:25:10 2006

This archive was generated by hypermail 2.1.8 : 2006-01-26 15:25:18 EST