This introduces the new __ARM_FEATURE_MOPS ACLE feature test macro,
which signals the availability of the new Armv8.8-A/Armv9.3-A
instructions for standardising memcpy, memset and memmove operations.
Details
- Reviewers
tmatheson
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
I think the most important use of the __ARM_FEATURE_MOPS is to check whether it's safe to use the new intrinsics, so it should only be defined by the compiler once it supports the intrinsics proposed in https://github.com/ARM-software/acle/pull/38/files
clang/lib/Basic/Targets/AArch64.cpp | ||
---|---|---|
666 | So, this is enabled by default (as in "is mandatory part") of 8.8-a and 9.3-a? Why don't we handle it like other extensions in AArch64TargetParser.def like https://reviews.llvm.org/D115694#inline-1110596 |
This is superseded by https://reviews.llvm.org/D118199. Comments have been addressed in the new patch. I should have commandeered this patch instead (did not know about this, sorry...).
So, this is enabled by default (as in "is mandatory part") of 8.8-a and 9.3-a? Why don't we handle it like other extensions in AArch64TargetParser.def like https://reviews.llvm.org/D115694#inline-1110596