commit | 1db2e279114348d276e2dea03b8d6175743505e7 | [log] [tgz] |
---|---|---|
author | Silviu Baranga <silviu.baranga@arm.com> | Mon Oct 21 10:54:53 2013 +0000 |
committer | Silviu Baranga <silviu.baranga@arm.com> | Mon Oct 21 10:54:53 2013 +0000 |
tree | f5fc36d32a413595639afde503f5d73f5ebdc28e | |
parent | fb90266d8bb5a977de45d07e702277f4cb54d74e [diff] |
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