[llvm-dev] How to enable AArch64 V8.3A support in clang?

Zhang via llvm-dev llvm-dev at lists.llvm.org
Tue Apr 23 10:22:20 PDT 2019

Apple's version of Clang has support for ``-arch arm64e``which enables ARM PAC support. IIRC a few years ago someone from Apple/ARM says they are planning to merge the support back to upstream and judging by my very limited experience with backend it seems to be the case. However I just couldn't get that part to work. Directly using ``-arch arm64e`` doesn't seem to work and results in a ``invalid arch name '-arch arm64e'``.

I then tried multiple combinations like ``-target arm64-apple-ios5.0.0 -march=armv8.3-a`` but has no effect. The binary still doesn't have any V8.3A instructions. Am I missing something here?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190424/bce5ab38/attachment.html>

More information about the llvm-dev mailing list