| Index: source/libvpx/vpx_ports/arm_cpudetect.c
|
| ===================================================================
|
| --- source/libvpx/vpx_ports/arm_cpudetect.c (revision 293081)
|
| +++ source/libvpx/vpx_ports/arm_cpudetect.c (working copy)
|
| @@ -49,9 +49,6 @@
|
| return flags;
|
| }
|
| mask = arm_cpu_env_mask();
|
| -#if HAVE_EDSP
|
| - flags |= HAS_EDSP;
|
| -#endif /* HAVE_EDSP */
|
| #if HAVE_MEDIA
|
| flags |= HAS_MEDIA;
|
| #endif /* HAVE_MEDIA */
|
| @@ -78,17 +75,6 @@
|
| * instructions via their assembled hex code.
|
| * All of these instructions should be essentially nops.
|
| */
|
| -#if HAVE_EDSP
|
| - if (mask & HAS_EDSP) {
|
| - __try {
|
| - /*PLD [r13]*/
|
| - __emit(0xF5DDF000);
|
| - flags |= HAS_EDSP;
|
| - } __except (GetExceptionCode() == EXCEPTION_ILLEGAL_INSTRUCTION) {
|
| - /*Ignore exception.*/
|
| - }
|
| - }
|
| -#endif /* HAVE_EDSP */
|
| #if HAVE_MEDIA
|
| if (mask & HAS_MEDIA)
|
| __try {
|
| @@ -127,9 +113,6 @@
|
| mask = arm_cpu_env_mask();
|
| features = android_getCpuFeatures();
|
|
|
| -#if HAVE_EDSP
|
| - flags |= HAS_EDSP;
|
| -#endif /* HAVE_EDSP */
|
| #if HAVE_MEDIA
|
| flags |= HAS_MEDIA;
|
| #endif /* HAVE_MEDIA */
|
| @@ -163,23 +146,15 @@
|
| */
|
| char buf[512];
|
| while (fgets(buf, 511, fin) != NULL) {
|
| -#if HAVE_EDSP || HAVE_NEON || HAVE_NEON_ASM
|
| +#if HAVE_NEON || HAVE_NEON_ASM
|
| if (memcmp(buf, "Features", 8) == 0) {
|
| char *p;
|
| -#if HAVE_EDSP
|
| - p = strstr(buf, " edsp");
|
| - if (p != NULL && (p[5] == ' ' || p[5] == '\n')) {
|
| - flags |= HAS_EDSP;
|
| - }
|
| -#endif /* HAVE_EDSP */
|
| -#if HAVE_NEON || HAVE_NEON_ASM
|
| p = strstr(buf, " neon");
|
| if (p != NULL && (p[5] == ' ' || p[5] == '\n')) {
|
| flags |= HAS_NEON;
|
| }
|
| + }
|
| #endif /* HAVE_NEON || HAVE_NEON_ASM */
|
| - }
|
| -#endif /* HAVE_EDSP || HAVE_NEON || HAVE_NEON_ASM */
|
| #if HAVE_MEDIA
|
| if (memcmp(buf, "CPU architecture:", 17) == 0) {
|
| int version;
|
|
|