From: Paul Koning Date: Sun, 25 Nov 2018 17:39:27 +0000 (-0500) Subject: * config/pdp11/pdp11.h (TARGET_HAS_NO_HW_DIVIDE): Define. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=537db3a2bc0a0225d2d19d8123f09dd38d20e55e;p=gcc.git * config/pdp11/pdp11.h (TARGET_HAS_NO_HW_DIVIDE): Define. From-SVN: r266439 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 343ea3803e9..98dc32a3bad 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2018-11-25 Paul Koning + + * config/pdp11/pdp11.h (TARGET_HAS_NO_HW_DIVIDE): Define. + 2018-11-25 Rainer Orth * doc/sourcebuild.texi (Effective-Target Keywords, Environment diff --git a/gcc/config/pdp11/pdp11.h b/gcc/config/pdp11/pdp11.h index 92c237b3b7e..e525bba96e5 100644 --- a/gcc/config/pdp11/pdp11.h +++ b/gcc/config/pdp11/pdp11.h @@ -143,6 +143,11 @@ extern const struct real_format pdp11_d_format; /* Define this if move instructions will actually fail to work when given unaligned data. */ #define STRICT_ALIGNMENT 1 + +/* "HW_DIVIDE" actually means 64 by 32 bit divide. While some PDP11 + models have hardware divide, it is for 32 by 16 bits only, so we + call this platform "no hardware divide". */ +#define TARGET_HAS_NO_HW_DIVIDE 1 /* Standard register usage. */