History

libavutil/aarch64/cpu.c: HWCAPS requires inline asm support.

Fixes compilation with tcc, which does not have aarch64 inline asm support.

Reimar Döffinger committed 3 years ago

Commit 0ea184f1 parent a3199261 file · +1 −1Browse files

Unified · Split

libavutil/aarch64/cpu.c+1−1
@@ -31,7 +31,7 @@ static int detect_flags(void) · 30 unmodified lines
31{31{
32 int flags = 0;32 int flags = 0;
33 33
34#if defined(HWCAP_CPUID)34#if defined(HWCAP_CPUID) && HAVE_INLINE_ASM
35 unsigned long hwcap = getauxval(AT_HWCAP);35 unsigned long hwcap = getauxval(AT_HWCAP);
36 // We can check for DOTPROD and I8MM using HWCAP_ASIMDDP and36 // We can check for DOTPROD and I8MM using HWCAP_ASIMDDP and
37 // HWCAP2_I8MM too, avoiding to read the CPUID registers (which triggers37 // HWCAP2_I8MM too, avoiding to read the CPUID registers (which triggers

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t