[ARM] Enable conditional Armv8-M instructions
authorThomas Preud'homme <thomas.preudhomme@arm.com>
Mon, 15 Jan 2018 14:11:02 +0000 (14:11 +0000)
committerThomas Preud'homme <thomas.preudhomme@arm.com>
Mon, 15 Jan 2018 14:11:02 +0000 (14:11 +0000)
commit2875ce2b55bdda40107ef3500edfeccfb29f14e6
treeae0b35dfd39a8605accf6b3d0bcf2e11e7aed654
parentdf9909b8675c8c9b6fa88c5d13afd2efa66dcf68
[ARM] Enable conditional Armv8-M instructions

Newly introduced instructions common to ARMv8-M Baseline and Mainline
are currently all marked as unconditional. However, all instructions but
sg (ie. blxns, bxns, tt, ttt, tta, ttat, vlldm and vlstm) do actually
support conditional execution. This patch fixes the definition of these
instructions accordingly.

2018-01-15  Thomas Preud'homme  <thomas.preudhomme@arm.com>

gas/
* config/tc-arm.c (insns): Make blxns, bxns, tt, ttt, tta, ttat, vlldm
and vlstm conditionally executable and reindent parameters.
* testsuite/gas/arm/archv8m-cmse-main.s: Add conditional version of
aforementionned instructions.
gas/ChangeLog
gas/config/tc-arm.c
gas/testsuite/gas/arm/archv8m-cmse-main.s