[llvm] r232468 - [ARM] Add support for ARMV6K subtarget (LLVM)

Dimitry Andric dimitry at andric.com
Sat Mar 21 15:04:46 PDT 2015


On 17 Mar 2015, at 12:55, Renato Golin <renato.golin at linaro.org> wrote:
> 
> Author: rengolin
> Date: Tue Mar 17 06:55:28 2015
> New Revision: 232468
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=232468&view=rev
> Log:
> [ARM] Add support for ARMV6K subtarget (LLVM)
> 
> ARMv6K is another layer between ARMV6 and ARMV6T2. This is the LLVM
> 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.

Hi Renato,

I've been looking at importing this patch into the 3.6.0 version of llvm/clang we have in FreeBSD head.  However, I don't see that it adds support for the CLREX instruction on ARMv6K [1]?

In FreeBSD, we have been using a rather inelegant hack [2] for some time now, to enable this instruction for our default ARMv6 processor, e.g. arm1176jzf-s.  I would like to get rid of that...

-Dimitry

[1] http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.kui0100a/armasm_cjacahbf.htm
[2] https://svnweb.freebsd.org/base/head/contrib/llvm/patches/patch-05-enable-armv6-clrex.diff?view=markup

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150321/af15b398/attachment.sig>


More information about the llvm-commits mailing list