Hi, The following set of patches enable the generation of the __ARM_ARCH_EXT_IDIV__ predefine for ARM targets which support division instructions. This will fix PR17555.
clang_ext.diff: Targets having the hwdiv or hwdiv-arm feature will also the __ARM_ARCH_EXT_IDIV__ predefine. Also adds the -mhwdiv option to modify these features. The arguments to this option can be arm/thumb/arm,thumb and indicate in which mode the hardware division instructions are supported (for example passing -mhwdiv=arm means the target support hardware division instructions in arm mode but not in thumb mode). clang_defaults.diff: Depends on clang_ext.diff. Sets the default hwdiv/hwdiv-arm features for different targets. The feature is added by default for all AArch32 v8 targets, Cortex-A7, Cortex-A15, swift, Cortex-A53, Cortex-A57, Cortex-R5, Cortex-M4 and Cortex-M3. Please review! Thanks, Silviu -- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you. ARM Limited, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, Registered in England & Wales, Company No: 2557590 ARM Holdings plc, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, Registered in England & Wales, Company No: 2548782
clang_ext.diff
Description: clang_ext.diff
clang_defaults.diff
Description: clang_defaults.diff
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
