<div dir="ltr">Hi Tom,<div><br></div><div>Thanks for working on this. I can see this feature is very useful for "power users" doing architectural exploration.</div><div><br></div><div>However, the change makes the production compiler less strict, and I don't think that's right. This change should be enabled behind a flag so that a user explicitly has to opt-in to it.</div><div><br></div><div>Cheers,</div><div><br></div><div>James</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 18 September 2014 14:57, Tom Coxon <span dir="ltr"><<a href="mailto:tom.coxon@arm.com" target="_blank">tom.coxon@arm.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
The attached patch enables access to the whole space of ARMv8-A system registers through the S<op0>_<op1>_<Cn>_<Cm>_<op2> syntax.<br>
<br>
This is useful to anyone needing to write assembly code supporting new system registers before the assembler has learned the official names for them.<br>
<br>
Although this is a real use case, it is niche and most users should still use the official system registers names. In order to avoid encouraging general use of this syntax, ARM is not planning to document this in the ARMARM.<br>
<br>
Regards,<br>
Tom<br>
<br>
Files changed:<br>
 lib/Target/AArch64/AArch64InstrFormats.td          |   12 +++----<br>
 .../AArch64/Disassembler/AArch64Disassembler.cpp   |   24 +++----------<br>
 .../AArch64/InstPrinter/AArch64InstPrinter.cpp     |   12 +++----<br>
 lib/Target/AArch64/Utils/AArch64BaseInfo.cpp       |   36 +++++++-------------<br>
 lib/Target/AArch64/Utils/AArch64BaseInfo.h         |    2 +-<br>
 test/MC/AArch64/arm64-system-encoding.s            |    4 +++<br>
 test/MC/AArch64/basic-a64-diagnostics.s            |   16 ++++-----<br>
 test/MC/AArch64/basic-a64-instructions.s           |    8 +++--<br>
 8 files changed, 44 insertions(+), 70 deletions(-)<br>
<br>_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br>
<br></blockquote></div><br></div>