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
0003-Add-driver-support-for-FP-SIMD-and-crypto-defaults.patch
Description: Binary data
0001-Teach-clang-driver-about-Cortex-A53-and-Cortex-A57.patch
Description: Binary data
0002-Set-appropriate-FPU-default-for-Linux-on-v8.patch
Description: Binary data
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
