[PATCH] D113779: [Clang] Add mfp16, mfp16fml and mdotprod flags for ARM target features.
Florian Hahn via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Nov 12 09:05:41 PST 2021
fhahn created this revision.
fhahn added reviewers: aemerson, ab, dmgreen, SjoerdMeijer, scanon.
Herald added subscribers: dang, kristof.beyls.
fhahn requested review of this revision.
Herald added a project: clang.
This patch adds support for `-m[no]fpf16`, ` `-m[no]fpf16fml` and
`-m[no]dotprod` feature flags for ARM.
The flags behave similar to specifying an -march flag with
+/-{fp16,fp16fml,dotprod}, but is more convenient for users that do not
want to provide a specific architecture version. There are similar flags
alread, like `-mcrc`.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D113779
Files:
clang/include/clang/Driver/Options.td
clang/lib/Driver/ToolChains/Arch/AArch64.cpp
clang/lib/Driver/ToolChains/Arch/ARM.cpp
clang/test/Preprocessor/aarch64-target-features.c
clang/test/Preprocessor/arm-target-features.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D113779.386869.patch
Type: text/x-patch
Size: 10237 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20211112/9795bc2b/attachment-0001.bin>
More information about the cfe-commits
mailing list