public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [patch] fix ia64_hint definition for intel compiler intrinsic
@ 2006-01-26  4:24 Chen, Kenneth W
  2006-01-26 15:14 ` H. J. Lu
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Chen, Kenneth W @ 2006-01-26  4:24 UTC (permalink / raw)
  To: linux-ia64

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




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-01-26 19:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-26  4:24 [patch] fix ia64_hint definition for intel compiler intrinsic Chen, Kenneth W
2006-01-26 15:14 ` H. J. Lu
2006-01-26 18:55 ` Luck, Tony
2006-01-26 19:09 ` Chen, Kenneth W

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox