diff options
author | Akinobu Mita <mita@miraclelinux.com> | 2006-03-26 01:39:01 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-26 08:57:09 -0800 |
commit | 4b417d0c7cb6af4afb7bad6463f7f3227d8a5074 (patch) | |
tree | 514ad66b1ee3286d877aa5d1cf18dc970bbe5722 /include/asm-alpha/fpu.h | |
parent | 20548664aa2d98ba0ee3dde4482b0a96b9273b6f (diff) | |
download | blackbird-obmc-linux-4b417d0c7cb6af4afb7bad6463f7f3227d8a5074.tar.gz blackbird-obmc-linux-4b417d0c7cb6af4afb7bad6463f7f3227d8a5074.zip |
[PATCH] bitops: alpha: use config options instead of __alpha_fix__ and __alpha_cix__
Use config options instead of gcc builtin definition to tell the use of
instruction set extensions (CIX and FIX).
This is introduced to tell the kbuild system the use of opmized hweight*()
routines on alpha architecture.
Signed-off-by: Akinobu Mita <mita@miraclelinux.com>
Cc: Richard Henderson <rth@twiddle.net>
Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-alpha/fpu.h')
-rw-r--r-- | include/asm-alpha/fpu.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-alpha/fpu.h b/include/asm-alpha/fpu.h index c203fc2fa5cd..ecb17a72acc3 100644 --- a/include/asm-alpha/fpu.h +++ b/include/asm-alpha/fpu.h @@ -130,7 +130,7 @@ rdfpcr(void) { unsigned long tmp, ret; -#if defined(__alpha_cix__) || defined(__alpha_fix__) +#if defined(CONFIG_ALPHA_EV6) || defined(CONFIG_ALPHA_EV67) __asm__ __volatile__ ( "ftoit $f0,%0\n\t" "mf_fpcr $f0\n\t" @@ -154,7 +154,7 @@ wrfpcr(unsigned long val) { unsigned long tmp; -#if defined(__alpha_cix__) || defined(__alpha_fix__) +#if defined(CONFIG_ALPHA_EV6) || defined(CONFIG_ALPHA_EV67) __asm__ __volatile__ ( "ftoit $f0,%0\n\t" "itoft %1,$f0\n\t" |