Add the __ARM_ARCH_EXT_IDIV__ predefine. It is set to 1 if we have hardware...
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
Showing
- docs/UsersManual.rst 11 additions, 0 deletionsdocs/UsersManual.rst
- include/clang/Driver/Options.td 2 additions, 0 deletionsinclude/clang/Driver/Options.td
- lib/Basic/Targets.cpp 16 additions, 0 deletionslib/Basic/Targets.cpp
- lib/Driver/Tools.cpp 23 additions, 0 deletionslib/Driver/Tools.cpp
- test/Driver/arm-hwdiv.c 39 additions, 0 deletionstest/Driver/arm-hwdiv.c
- test/Preprocessor/init.c 20 additions, 0 deletionstest/Preprocessor/init.c
Loading
Please register or sign in to comment