[AArch64] ACLE feature macro for Armv8.8-A MOPS
authortyb0807 <sontuan.vu@arm.com>
Tue, 25 Jan 2022 22:51:49 +0000 (22:51 +0000)
committertyb0807 <sontuan.vu@arm.com>
Tue, 8 Feb 2022 21:07:49 +0000 (21:07 +0000)
commitd379ec99085e33ace51740f2b93bda5e5c72326f
tree127fae37a337060ba09d88bf955db973c219732a
parent7403c02f06d4c405215aa97452f1af18dfc02dc0
[AArch64] ACLE feature macro for Armv8.8-A MOPS

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.

This patch supersedes the one from https://reviews.llvm.org/D116160.

Differential Revision: https://reviews.llvm.org/D118199
clang/lib/Basic/Targets/AArch64.cpp
clang/test/CodeGen/aarch64-mops.c
clang/test/Preprocessor/aarch64-target-features.c