[PATCH]: finish .cpu support for ARM

Roman Divacky rdivacky at vlakno.cz
Mon Dec 1 15:00:33 PST 2014


Hi,

The attached patch and test case finished support for .cpu for ARM.
We need this for FreeBSD kernel.

Thanks for reviewing!

Roman
-------------- next part --------------
A non-text attachment was scrubbed...
Name: arm.cpu.patch
Type: text/x-diff
Size: 1480 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141202/aa6abc25/attachment.patch>
-------------- next part --------------
// RUN: llvm-mc -triple arm-gnueabi-freebsd11.0 %s | FileCheck %s
.cpu cortex-a8
dsb
.cpu arm9       
// CHECK: error: instruction requires: data-barriers
dsb
// CHECK: error: Unknown CPU name
.cpu foobar


More information about the llvm-commits mailing list