Luigi Baldoni
62084be817
- disable armv7 asm for armv6 builds OBS-URL: https://build.opensuse.org/request/show/702706 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/dav1d?expand=0&rev=18
19 lines
561 B
Diff
19 lines
561 B
Diff
--- a/tests/checkasm/checkasm.h
|
|
+++ b/tests/checkasm/checkasm.h
|
|
@@ -145,6 +145,7 @@ static inline uint64_t readtime(void) {
|
|
#define readtime readtime
|
|
#endif
|
|
#elif ARCH_ARM && !defined(_MSC_VER)
|
|
+#if __ARM_ARCH > 6
|
|
static inline uint64_t readtime(void) {
|
|
uint32_t cycle_counter;
|
|
/* This requires enabling user mode access to the cycle counter (which
|
|
@@ -156,6 +157,7 @@ static inline uint64_t readtime(void) {
|
|
}
|
|
#define readtime readtime
|
|
#endif
|
|
+#endif
|
|
|
|
/* Verifies that clobbered callee-saved registers
|
|
* are properly saved and restored */
|