Skip to content

Commit

Permalink
[IA64] use icc defined constant
Browse files Browse the repository at this point in the history
Use icc defined constant instead of magic number.

Signed-off-by: Ken Chen <kenneth.w.chen@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
  • Loading branch information
Chen, Kenneth W authored and Tony Luck committed Feb 7, 2006
1 parent 9df79de commit 412e6a3
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions include/asm-ia64/intel_intrin.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@
#define ia64_hint __hint
#define ia64_hint_pause __hint_pause

#define ia64_mux1_brcst 0
#define ia64_mux1_mix 8
#define ia64_mux1_shuf 9
#define ia64_mux1_alt 10
#define ia64_mux1_rev 11
#define ia64_mux1_brcst _m64_mux1_brcst
#define ia64_mux1_mix _m64_mux1_mix
#define ia64_mux1_shuf _m64_mux1_shuf
#define ia64_mux1_alt _m64_mux1_alt
#define ia64_mux1_rev _m64_mux1_rev

#define ia64_mux1(x,v) _m_to_int64(_m64_mux1(_m_from_int64(x), (v)))
#define ia64_popcnt _m64_popcnt
Expand Down Expand Up @@ -56,7 +56,7 @@
#define ia64_stf8 __stf8
#define ia64_stf_spill __stf_spill

#define ia64_mf __mf
#define ia64_mf __mf
#define ia64_mfa __mfa

#define ia64_fetchadd4_acq __fetchadd4_acq
Expand Down Expand Up @@ -132,10 +132,10 @@

/* Values for lfhint in __lfetch and __lfetch_fault */

#define ia64_lfhint_none 0
#define ia64_lfhint_nt1 1
#define ia64_lfhint_nt2 2
#define ia64_lfhint_nta 3
#define ia64_lfhint_none __lfhint_none
#define ia64_lfhint_nt1 __lfhint_nt1
#define ia64_lfhint_nt2 __lfhint_nt2
#define ia64_lfhint_nta __lfhint_nta

#define ia64_lfetch __lfetch
#define ia64_lfetch_excl __lfetch_excl
Expand Down

0 comments on commit 412e6a3

Please sign in to comment.