]> granicus.if.org Git - clang/commit
Add the __ARM_ARCH_EXT_IDIV__ predefine. It is set to 1 if we have hardware divide...
authorSilviu Baranga <silviu.baranga@arm.com>
Mon, 21 Oct 2013 10:54:53 +0000 (10:54 +0000)
committerSilviu Baranga <silviu.baranga@arm.com>
Mon, 21 Oct 2013 10:54:53 +0000 (10:54 +0000)
commit1db2e279114348d276e2dea03b8d6175743505e7
treef5fc36d32a413595639afde503f5d73f5ebdc28e
parentfb90266d8bb5a977de45d07e702277f4cb54d74e
Add the __ARM_ARCH_EXT_IDIV__ predefine. It is set to 1 if we have hardware divide in the mode that we are compiling in (depending on the target features), not defined if we don't. Should be compatible with the GCC conterpart. Also adding a -hwdiv option to overide the default behavior.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@193074 91177308-0d34-0410-b5e6-96231b3b80d8
docs/UsersManual.rst
include/clang/Driver/Options.td
lib/Basic/Targets.cpp
lib/Driver/Tools.cpp
test/Driver/arm-hwdiv.c [new file with mode: 0644]
test/Preprocessor/init.c