diff options
author | Martin Storsjö <martin@martin.st> | 2023-05-25 14:57:37 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2023-06-06 12:40:26 +0300 |
commit | fb1b88af77cd39034cef4b6d08af79496cd75ed8 (patch) | |
tree | f11f26af022b7c0a11d7f58bd53f8302051892a2 /tools/enum_options.c | |
parent | fa11c4c7fa3961b0101daaa0032bb26a7a1a9c0f (diff) | |
download | ffmpeg-fb1b88af77cd39034cef4b6d08af79496cd75ed8.tar.gz |
configure: aarch64: Support assembling the dotprod and i8mm arch extensions
These are available since ARMv8.4-a and ARMv8.6-a respectively,
but can also be available optionally since ARMv8.2-a.
Check if ".arch armv8.2-a" and ".arch_extension {dotprod,i8mm}" are
supported, and check if the instructions can be assembled.
Current clang versions fail to support the dotprod and i8mm
features in the .arch_extension directive, but do support them
if enabled with -march=armv8.4-a on the command line. (Curiously,
lowering the arch level with ".arch armv8.2-a" doesn't make the
extensions unavailable if they were enabled with -march; if that
changes, Clang should also learn to support these extensions via
.arch_extension for them to remain usable here.)
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'tools/enum_options.c')
0 files changed, 0 insertions, 0 deletions