bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for architectures that do not have hardware divide instruction.

2013-12-04  Kugan Vivekanandarajah  <kuganv@linaro.org>

	* config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
	architectures that do not have hardware divide instruction.
	i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.

From-SVN: r205666
This commit is contained in:
Kugan Vivekanandarajah 2013-12-04 11:34:39 +00:00 committed by Christophe Lyon
parent 6bc8df2439
commit ecd78fc9ab
2 changed files with 10 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
* config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
architectures that do not have hardware divide instruction.
i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
2013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
* longlong.h: Delete (moved to include/).

View file

@ -75,3 +75,7 @@
helper functions - not everything in libgcc - in the interests of
maintaining backward compatibility. */
#define LIBGCC2_FIXEDBIT_GNU_PREFIX
#if (!defined(__ARM_ARCH_EXT_IDIV__))
# define TARGET_HAS_NO_HW_DIVIDE
#endif