summaryrefslogtreecommitdiffstats
path: root/core/clang/arm.mk
Commit message (Collapse)AuthorAgeFilesLines
* Add -mfpu=neon-vfpv4 if cpu is kraitPirama Arumuga Nainar2015-10-311-1/+1
| | | | | | | | | | | | | | | | | Upstream clang r239152 (http://reviews.llvm.org/D10239) caused a pretty significant change in behavior. Passing an FPU feature via -mfpu disables any feature not supported by those flags (in addition to the old behavior of enabling features supported by the flags). For e.g., -mfpu=neon used to just pass +neon, +vfp3 as target features to the backend. Now, -mfpu=neon also passes -vfp4, -fp16, -fp-armv8. The backend has always disabled implied feature bits if a feature is disabled. Upon seeing the target feature -vfp4, it will disable any processor/feature that implies vfp4, including the bit that the processor is a Krait. Since Krait has both Neon and vfp4, it is safe to pass '-mfpu=neon-vfpv4'. Change-Id: Ibbb992e80b8cbc8dc36d5df556885d0912baea22
* Allow -mcpu=cortex-a15 for clangBernhard Rosenkränzer2015-03-251-2/+1
| | | | | | | | | Clang 3.6 (including the snapshot present in AOSP) added support for -mcpu=cortex-a15 -- there's no need to fall back to generic armv7-a anymore. Change-Id: I8a582261ac35e32f8f1def1d244cf83f2096520d Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
* disable Krait for Mac builds to avoid assembler issuesTim Murray2014-12-091-0/+5
| | | | Change-Id: Ie98f4dbc2cef92798ec08b43b93e7e0339a92a92
* Specify -mcpu=krait for clang.Ian Rogers2014-10-281-0/+6
| | | | Change-Id: I64682cddf57246341c1727ca16c56f7ce0c6fd0a
* Set default to Clang integrated assembler.Chih-Hung Hsieh2014-10-221-8/+4
| | | | | BUG: 17820427 Change-Id: I10a6ddd94aad083665164d7939990e148b3b6efb
* Add GCC only flags to clang .mk files.Chih-Hung Hsieh2014-08-251-1/+7
| | | | | BUG: 17258227 Change-Id: Iec9fdb21a9fa31e18a17704beb27bb493c9b7192
* Build changes necessary for LLVM 3.5 switch.Tim Murray2014-04-241-3/+8
| | | | | | | Change-Id: Icb6065daada7cb1d7425206830a4ef9e23454c03 Conflicts: core/clang/arm.mk
* Refactor llvm_config.mk and support the 2nd archYing Wang2014-02-071-0/+27
1. Following the setup of gcc in build/core/combo/, we added the [HOST|TARGET]_<arch>.mk clang config files, and load only the configs needed by the current product. 2. Added support for the 2nd arch. Change-Id: I2a383418a9688a050b39492f8e489d40eeeb5f2d