ARM: Make "SMC" instructions conditional on new TrustZone architecture feature.
authorTim Northover <Tim.Northover@arm.com>
Wed, 10 Apr 2013 12:08:35 +0000 (12:08 +0000)
committerTim Northover <Tim.Northover@arm.com>
Wed, 10 Apr 2013 12:08:35 +0000 (12:08 +0000)
commit8c9e52a9fc1f99cf80c499ef10e6c8a54ef899d4
treeb9506d93306a8ea590e51a69a8e489744f251a58
parent2318508117fbc567bfef5b67a63c91ff7fad2697
ARM: Make "SMC" instructions conditional on new TrustZone architecture feature.

These instructions aren't universally available, but depend on a specific
extension to the normal ARM architecture (rather than, say, v6/v7/...) so a new
feature is appropriate.

This also enables the feature by default on A-class cores which usually have
these extensions, to avoid breaking existing code and act as a sensible
default.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179171 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARM.td
lib/Target/ARM/ARMInstrInfo.td
lib/Target/ARM/ARMInstrThumb2.td
lib/Target/ARM/ARMSubtarget.cpp
lib/Target/ARM/ARMSubtarget.h
test/MC/ARM/arm-thumb-trustzone.s [new file with mode: 0644]
test/MC/ARM/arm-trustzone.s [new file with mode: 0644]
test/MC/ARM/basic-arm-instructions.s
test/MC/Disassembler/ARM/arm-thumb-trustzone.txt [new file with mode: 0644]
test/MC/Disassembler/ARM/arm-trustzone.txt [new file with mode: 0644]
test/MC/Disassembler/ARM/basic-arm-instructions.txt