[PATCH] AArch32 target support

Bernie Ogden bogden at arm.com
Thu Oct 10 10:01:04 PDT 2013


The attached patches-for-review build on a pair of patches I've submitted to
llvm-commits for ARM v8 AArch32 support. They tell the clang driver about
the Cortex A53 & A57 CPUs, invoke the GNU linker with the right fpu option
and deal with the various combinations of FP/NEON/Crypto support. 

I've a couple of specific queries:

1) I've followed a policy of supporting non-Darwin targets only. Is the
right thing to do, or should I add support for Darwin too?

2) There is some support for dealing with different combinations of
FP/NEON/Crypto features. Here I've got some plumbing (in patch 0003) to add
a predefine for v8 FP, but I'm not sure what predefine to set here. The
existing code has predefines of the form __ARM_VFPV4__, which do not exist
in GCC. I would be grateful if someone could tell me what these predefines
are for and whether I need to add another for v8 FP.

Regards,

Bernie
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Add-driver-support-for-FP-SIMD-and-crypto-defaults.patch
Type: application/octet-stream
Size: 6639 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131010/a55effa1/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Teach-clang-driver-about-Cortex-A53-and-Cortex-A57.patch
Type: application/octet-stream
Size: 4270 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131010/a55effa1/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Set-appropriate-FPU-default-for-Linux-on-v8.patch
Type: application/octet-stream
Size: 1803 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131010/a55effa1/attachment-0002.obj>


More information about the cfe-commits mailing list