From ffac9b665cd10d18c07ab72a3a961db8ea572b80 Mon Sep 17 00:00:00 2001 From: pkoning Date: Sun, 25 Nov 2018 17:39:27 +0000 Subject: [PATCH] * config/pdp11/pdp11.h (TARGET_HAS_NO_HW_DIVIDE): Define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@266439 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 4 ++++ gcc/config/pdp11/pdp11.h | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 343ea3803e94..98dc32a3badd 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 92c237b3b7e6..e525bba96e57 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. */ -- 2.47.2