diff options
author | Paul Mackerras <paulus@samba.org> | 2005-11-10 14:29:18 +1100 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-11-10 14:29:18 +1100 |
commit | a7ddc5e85351931b67a48afa22788d77763837d8 (patch) | |
tree | 4b7b6ff70432f43e3aeab101445d74f0fd012722 /include/asm-powerpc/cputable.h | |
parent | cbe62e2b4a764aa3f9a2b9c9004f8e86a1f0ade8 (diff) |
powerpc: Add user CPU features for POWER4, POWER5, POWER5+ and Cell.
This is at the request of the glibc folks, who want to use these bits
to select libraries optimized for the microarchitecture and new
instructions in these processors.
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-powerpc/cputable.h')
-rw-r--r-- | include/asm-powerpc/cputable.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-powerpc/cputable.h b/include/asm-powerpc/cputable.h index f89fd883e89..04e2726002c 100644 --- a/include/asm-powerpc/cputable.h +++ b/include/asm-powerpc/cputable.h @@ -16,6 +16,10 @@ #define PPC_FEATURE_HAS_EFP_SINGLE 0x00400000 #define PPC_FEATURE_HAS_EFP_DOUBLE 0x00200000 #define PPC_FEATURE_NO_TB 0x00100000 +#define PPC_FEATURE_POWER4 0x00080000 +#define PPC_FEATURE_POWER5 0x00040000 +#define PPC_FEATURE_POWER5_PLUS 0x00020000 +#define PPC_FEATURE_CELL 0x00010000 #ifdef __KERNEL__ #ifndef __ASSEMBLY__ |