]> granicus.if.org Git - clang/commit
[ARM] Add support for ARMV6K subtarget (Clang)
authorRenato Golin <renato.golin@linaro.org>
Tue, 17 Mar 2015 11:55:43 +0000 (11:55 +0000)
committerRenato Golin <renato.golin@linaro.org>
Tue, 17 Mar 2015 11:55:43 +0000 (11:55 +0000)
commit5d49667147237d2e0ead5e4745f0c1280eedb3bf
tree8a37d1aaacf106e4953e8e04e63c4f59a12979d2
parent8931755e80cd6624aebc0fa59ea78d609827d6ff
[ARM] Add support for ARMV6K subtarget (Clang)

ARMv6K is another layer between ARMV6 and ARMV6T2. This is the Clang
side of the changes.

ARMV6 family LLVM implementation.

+-------------------------------------+
| ARMV6                               |
+----------------+--------------------+
| ARMV6M (thumb) | ARMV6K (arm,thumb) | <- From ARMV6K and ARMV6M processors
+----------------+--------------------+    have support for hint instructions
| ARMV6T2 (arm,thumb,thumb2)          |    (SEV/WFE/WFI/NOP/YIELD). They can
+-------------------------------------+    be either real or default to NOP.
| ARMV7 (arm,thumb,thumb2)            |    The two processors also use
+-------------------------------------+    different encoding for them.

Patch by Vinicius Tinti.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@232469 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Basic/Targets.cpp
lib/Driver/Tools.cpp
test/Driver/arm-cortex-cpus.c
test/Driver/arm-mfpu.c
test/Driver/biarch.c
test/Driver/darwin-version.c