mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-27 10:57:34 +09:00
Update aom to slightly newer commit ID
This commit is contained in:
parent
1c8af26369
commit
76f1e6edca
311 changed files with 55292 additions and 33790 deletions
5
third_party/aom/aom_ports/aom_ports.cmake
vendored
5
third_party/aom/aom_ports/aom_ports.cmake
vendored
|
|
@ -8,6 +8,9 @@
|
|||
## Media Patent License 1.0 was not distributed with this source code in the
|
||||
## PATENTS file, you can obtain it at www.aomedia.org/license/patent.
|
||||
##
|
||||
if (NOT AOM_AOM_PORTS_AOM_PORTS_CMAKE_)
|
||||
set(AOM_AOM_PORTS_AOM_PORTS_CMAKE_ 1)
|
||||
|
||||
set(AOM_PORTS_INCLUDES
|
||||
"${AOM_ROOT}/aom_ports/aom_once.h"
|
||||
"${AOM_ROOT}/aom_ports/aom_timer.h"
|
||||
|
|
@ -64,3 +67,5 @@ function (setup_aom_ports_targets)
|
|||
endif ()
|
||||
endif ()
|
||||
endfunction ()
|
||||
|
||||
endif () # AOM_AOM_PORTS_AOM_PORTS_CMAKE_
|
||||
|
|
|
|||
26
third_party/aom/aom_ports/arm_cpudetect.c
vendored
26
third_party/aom/aom_ports/arm_cpudetect.c
vendored
|
|
@ -50,9 +50,6 @@ int arm_cpu_caps(void) {
|
|||
return flags;
|
||||
}
|
||||
mask = arm_cpu_env_mask();
|
||||
#if HAVE_MEDIA
|
||||
flags |= HAS_MEDIA;
|
||||
#endif /* HAVE_MEDIA */
|
||||
#if HAVE_NEON || HAVE_NEON_ASM
|
||||
flags |= HAS_NEON;
|
||||
#endif /* HAVE_NEON || HAVE_NEON_ASM */
|
||||
|
|
@ -76,17 +73,6 @@ int arm_cpu_caps(void) {
|
|||
* instructions via their assembled hex code.
|
||||
* All of these instructions should be essentially nops.
|
||||
*/
|
||||
#if HAVE_MEDIA
|
||||
if (mask & HAS_MEDIA) {
|
||||
__try {
|
||||
/*SHADD8 r3,r3,r3*/
|
||||
__emit(0xE6333F93);
|
||||
flags |= HAS_MEDIA;
|
||||
} __except (GetExceptionCode() == EXCEPTION_ILLEGAL_INSTRUCTION) {
|
||||
/*Ignore exception.*/
|
||||
}
|
||||
}
|
||||
#endif /* HAVE_MEDIA */
|
||||
#if HAVE_NEON || HAVE_NEON_ASM
|
||||
if (mask & HAS_NEON) {
|
||||
__try {
|
||||
|
|
@ -114,9 +100,6 @@ int arm_cpu_caps(void) {
|
|||
mask = arm_cpu_env_mask();
|
||||
features = android_getCpuFeatures();
|
||||
|
||||
#if HAVE_MEDIA
|
||||
flags |= HAS_MEDIA;
|
||||
#endif /* HAVE_MEDIA */
|
||||
#if HAVE_NEON || HAVE_NEON_ASM
|
||||
if (features & ANDROID_CPU_ARM_FEATURE_NEON) flags |= HAS_NEON;
|
||||
#endif /* HAVE_NEON || HAVE_NEON_ASM */
|
||||
|
|
@ -155,15 +138,6 @@ int arm_cpu_caps(void) {
|
|||
}
|
||||
}
|
||||
#endif /* HAVE_NEON || HAVE_NEON_ASM */
|
||||
#if HAVE_MEDIA
|
||||
if (memcmp(buf, "CPU architecture:", 17) == 0) {
|
||||
int version;
|
||||
version = atoi(buf + 17);
|
||||
if (version >= 6) {
|
||||
flags |= HAS_MEDIA;
|
||||
}
|
||||
}
|
||||
#endif /* HAVE_MEDIA */
|
||||
}
|
||||
fclose(fin);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue