Martin Storsjö
c76643021e
aarch64: Add Windows runtime detection of the dotprod instructions
...
For Windows, there's no publicly defined constant for checking for
the i8mm extension yet.
Signed-off-by: Martin Storsjö <martin@martin.st >
2023-06-06 12:50:15 +03:00
Martin Storsjö
9b0052200a
aarch64: Add Apple runtime detection of dotprod and i8mm using sysctl
...
For now, there's not much value in this since Clang don't support
enabling the dotprod or i8mm features with either .arch_extension
or .arch (it has to be enabled by the base arch flags passed to
the compiler). But it may be supported in the future.
Signed-off-by: Martin Storsjö <martin@martin.st >
2023-06-06 12:41:20 +03:00
Martin Storsjö
493fcde50a
aarch64: Add Linux runtime cpu feature detection using HWCAP_CPUID
...
Based partially on code by Janne Grunau.
Signed-off-by: Martin Storsjö <martin@martin.st >
2023-06-06 12:40:57 +03:00
Martin Storsjö
397cb623c8
aarch64: Add cpu flags for the dotprod and i8mm extensions
...
Set these available if they are available unconditionally for
the compiler.
Signed-off-by: Martin Storsjö <martin@martin.st >
2023-06-06 12:40:42 +03:00
James Almer
3b345d389b
avutil/cpu: split flag checks per arch in av_cpu_max_align()
...
Signed-off-by: James Almer <jamrial@gmail.com >
2017-09-27 23:10:09 -03:00
Michael Niedermayer
4c57c6a765
Merge commit '8675bcb0addb1c7fb0b04682d1f3f95d5b8dae14'
...
* commit '8675bcb0addb1c7fb0b04682d1f3f95d5b8dae14':
aarch64: add armv8 CPU flag
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2014-04-07 02:15:18 +02:00
Janne Grunau
8675bcb0ad
aarch64: add armv8 CPU flag
2014-04-06 21:18:49 +02:00
Michael Niedermayer
d5560f1fec
Merge commit 'b7b17ed66e199afc7246e642bf3b35c3f8eca217'
...
* commit 'b7b17ed66e199afc7246e642bf3b35c3f8eca217':
aarch64: add cpuflags support for NEON and VFP
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2014-01-15 14:42:49 +01:00
Janne Grunau
b7b17ed66e
aarch64: add cpuflags support for NEON and VFP
...
NEON and VFP are currently mandatory for all ARMv8 profiles. Both are
handled as extensions as far as cpuflags are concerned. This is
consistent with handling x86_64 which always has SSE2, but still
handles it as an extension.
2014-01-15 12:05:09 +01:00