summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/ARM/coprocessors.s
Commit message (Collapse)AuthorAgeFilesLines
* [ARM] Make coprocessor number restrictions consistent.Simon Tatham2019-06-271-0/+74
Different versions of the Arm architecture disallow the use of generic coprocessor instructions like MCR and CDP on different sets of coprocessors. This commit centralises the check of the coprocessor number so that it's consistent between assembly and disassembly, and also updates it for the new restrictions in Arm v8.1-M. New tests added that check all the coprocessor numbers; old tests updated, where they used a number that's now become illegal in the context in question. Reviewers: DavidSpickett, ostannard Subscribers: javed.absar, kristof.beyls, hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D63863 llvm-svn: 364532
OpenPOWER on IntegriCloud