[PATCH] Add AArch32 DCPS{1,2,3} and HLT instructions

Richard Barton richard.barton at arm.com
Thu Sep 5 02:55:53 PDT 2013


Hello

The attached patch adds ARMv8 AArch32 DCPS and HLT instructions to the
backend.

These were pretty straightforward instructions, with some assembly support
required for HLT.

The ARM assembler is keen to split the instruction mnemonic into a
(non-existent) 'H' instruction with the LT condition code. An exception for
HLT is needed.

HLT follows the same rules as BKPT when in IT blocks, so the special BKPT
handling code has been adapted to handle HLT also.

Regression tests added including diagnostic tests for out of range
immediates
and illegal condition codes, as well as negative tests for pre-ARMv8.

Please review.

Thanks
Rich
-------------- next part --------------
A non-text attachment was scrubbed...
Name: LLVM-843-HLT-DCPS.patch
Type: application/octet-stream
Size: 10890 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130905/4703aebe/attachment.obj>


More information about the llvm-commits mailing list