[x265] [PATCH] primitives: stubs for ARM cpu-detect functions (refs #155)

Steve Borho steve at borho.org
Mon Jul 6 18:26:42 CEST 2015


# HG changeset patch
# User Steve Borho <steve at borho.org>
# Date 1436199869 18000
#      Mon Jul 06 11:24:29 2015 -0500
# Node ID 4a8af66739dbce6e1d7b54417de66b088e443835
# Parent  bb167ce66cfa1a04436f1f3bedaee1f6e42cd37f
primitives: stubs for ARM cpu-detect functions (refs #155)

Support for ARM processors is still in the "we're happy if it builds" stage.
This is a step in that direction.

diff -r bb167ce66cfa -r 4a8af66739db source/common/primitives.cpp
--- a/source/common/primitives.cpp	Mon Jul 06 17:15:56 2015 +0530
+++ b/source/common/primitives.cpp	Mon Jul 06 11:24:29 2015 -0500
@@ -258,5 +258,7 @@
 void PFX(cpu_emms)(void) {}
 void PFX(cpu_cpuid)(uint32_t, uint32_t *eax, uint32_t *, uint32_t *, uint32_t *) { *eax = 0; }
 void PFX(cpu_xgetbv)(uint32_t, uint32_t *, uint32_t *) {}
+void PFX(cpu_neon_test)(void) {}
+int PFX(cpu_fast_neon_mrc_test)(void) { return 0; }
 }
 #endif


More information about the x265-devel mailing list