diff options
author | Michael B. Brutman <brutman@us.ibm.com> | 2010-10-24 21:47:33 -0400 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2010-10-24 21:47:33 -0400 |
commit | d0b9e94faf18f2585e7d0ae0b10daefb12f93059 (patch) | |
tree | 2e2425857acc7838a069761bf11b4b36d2d120b2 /sysdeps/powerpc/dl-procinfo.h | |
parent | 8e9f92e9d5d7737afdacf79b76d98c4c42980508 (diff) | |
download | glibc-d0b9e94faf18f2585e7d0ae0b10daefb12f93059.tar.gz |
powerpc: PPCA2/A2 optimized memcpy function
Diffstat (limited to 'sysdeps/powerpc/dl-procinfo.h')
-rw-r--r-- | sysdeps/powerpc/dl-procinfo.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sysdeps/powerpc/dl-procinfo.h b/sysdeps/powerpc/dl-procinfo.h index 254195a94c..2ae35644a8 100644 --- a/sysdeps/powerpc/dl-procinfo.h +++ b/sysdeps/powerpc/dl-procinfo.h @@ -31,7 +31,7 @@ #define HWCAP_IMPORTANT (PPC_FEATURE_HAS_ALTIVEC \ + PPC_FEATURE_HAS_DFP) -#define _DL_PLATFORMS_COUNT 8 +#define _DL_PLATFORMS_COUNT 9 #define _DL_FIRST_PLATFORM 32 /* Mask to filter out platforms. */ @@ -47,6 +47,7 @@ #define PPC_PLATFORM_CELL_BE 5 #define PPC_PLATFORM_POWER6X 6 #define PPC_PLATFORM_POWER7 7 +#define PPC_PLATFORM_PPCA2 8 static inline const char * __attribute__ ((unused)) @@ -123,6 +124,10 @@ _dl_string_platform (const char *str) GLRO(dl_powerpc_platforms)[PPC_PLATFORM_CELL_BE] + 3) == 0) return _DL_FIRST_PLATFORM + PPC_PLATFORM_CELL_BE; + else if (strcmp (str + 3, + GLRO(dl_powerpc_platforms)[PPC_PLATFORM_PPCA2] + 3) + == 0) + return _DL_FIRST_PLATFORM + PPC_PLATFORM_PPCA2; } return -1; |