OSDN Git Service

ARM thumb assembly parsing for arithmetic flag setting instructions.
authorJim Grosbach <grosbach@apple.com>
Tue, 16 Aug 2011 20:45:50 +0000 (20:45 +0000)
committerJim Grosbach <grosbach@apple.com>
Tue, 16 Aug 2011 20:45:50 +0000 (20:45 +0000)
commit47a0d52b69056250a1edaca8b28f705993094542
tree34bc8ba4bdb4c49b1a94da0f6e9514708e3a5ab3
parent5b6f42f57e730c2d968c313a27fa505a3c3e5efa
ARM thumb assembly parsing for arithmetic flag setting instructions.

Thumb one requires that many arithmetic instruction forms have an 'S'
suffix. For Thumb2, the whether the suffix is required or precluded depends
on whether the instruction is in an IT block. Use target parser predicates
to check for these sorts of context-sensitive constraints.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137746 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMInstrFormats.td
lib/Target/ARM/AsmParser/ARMAsmParser.cpp
lib/Target/ARM/MCTargetDesc/ARMBaseInfo.h
test/MC/ARM/mode-switch.s
test/MC/ARM/nop-thumb-padding.s
test/MC/ARM/nop-thumb2-padding.s