ARM: Define generic HINT instruction.
authorJim Grosbach <grosbach@apple.com>
Mon, 18 Jun 2012 19:45:50 +0000 (19:45 +0000)
committerJim Grosbach <grosbach@apple.com>
Mon, 18 Jun 2012 19:45:50 +0000 (19:45 +0000)
commit7e99a60857532ca2973cf9dabc790d84a2e15a8a
treea23f18aa057f260d97a803e5f60b751bc411dade
parent325bd661ff57787efddc6b302230f22e9c187655
ARM: Define generic HINT instruction.

The NOP, WFE, WFI, SEV and YIELD instructions are all hints w/
a different immediate value in bits [7,0]. Define a generic HINT
instruction and refactor NOP, WFI, WFI, SEV and YIELD to be
assembly aliases of that.

rdar://11600518

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158674 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMInstrInfo.cpp
lib/Target/ARM/ARMInstrInfo.td
lib/Target/ARM/ARMInstrThumb2.td
lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp
test/MC/ARM/basic-arm-instructions.s
test/MC/ARM/basic-thumb2-instructions.s