[PATCH] D63863: [ARM] Make coprocessor number restrictions consistent.

Szabolcs Nagy via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 17 06:13:57 PDT 2019


nsz added a comment.

In D63863#1589031 <https://reviews.llvm.org/D63863#1589031>, @simon_tatham wrote:

> Would some kind of architectural extension be a reasonable solution? `-march=armv8+oldcoprocessors`, or some such? That way `-march=armv8` continues to diagnose things that actually are illegal in the architecture you asked for.


that's a possible approach, another is to have some temporary .arch setting for special instructions and restore the original setting after them, i'm not sure how such code is handled across the various assemblers.

if mixing .arch works then we can try to annotate the asm with different .arch settings (unfortunately there is no push/pop for the setting so restoring is only possible if we know the -march).


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D63863/new/

https://reviews.llvm.org/D63863





More information about the llvm-commits mailing list