[llvm] r232468 - [ARM] Add support for ARMV6K subtarget (LLVM)
renato.golin at linaro.org
Sat Mar 21 16:21:14 PDT 2015
On 21 March 2015 at 22:04, Dimitry Andric <dimitry at andric.com> wrote:
> 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 ?
No, this patch only added the basic support and made some hints
available. CLREX, LDREX, STREX were not changed.
> In FreeBSD, we have been using a rather inelegant hack  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...
It should be simple for you to send a patch to do that for all three
atomic instructions, with some tests of your own?
More information about the llvm-commits