* [MMIX] Remove REG_OK_FOR_BASE_P and REG_OK_FOR_INDEX_P macros
@ 2011-08-08 21:42 Anatoly Sokolov
2011-08-08 22:51 ` Hans-Peter Nilsson
0 siblings, 1 reply; 2+ messages in thread
From: Anatoly Sokolov @ 2011-08-08 21:42 UTC (permalink / raw)
To: gcc-patches; +Cc: hp
Hello.
This patch remove unused REG_OK_FOR_BASE_P and REG_OK_FOR_INDEX_P macros
from the MMIX back end.
Regression tested on mmix-knuth-mmixware.
OK to install?
* config/mmix/mmix.h (REG_OK_FOR_BASE_P, REG_OK_FOR_INDEX_P): Remove.
Index: gcc/config/mmix/mmix.h
===================================================================
--- gcc/config/mmix/mmix.h (revision 177573)
+++ gcc/config/mmix/mmix.h (working copy)
@@ -597,18 +597,7 @@
#define MAX_REGS_PER_ADDRESS 2
-#ifndef REG_OK_STRICT
-# define REG_OK_FOR_BASE_P(X) \
- (REGNO (X) <= MMIX_LAST_GENERAL_REGISTER \
- || REGNO (X) == MMIX_ARG_POINTER_REGNUM \
- || REGNO (X) >= FIRST_PSEUDO_REGISTER)
-#else
-# define REG_OK_FOR_BASE_P(X) REGNO_OK_FOR_BASE_P (REGNO (X))
-#endif /* REG_OK_STRICT */
-#define REG_OK_FOR_INDEX_P(X) REG_OK_FOR_BASE_P (X)
-
-
/* Node: Condition Code */
#define SELECT_CC_MODE(OP, X, Y) \
Anatoly.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [MMIX] Remove REG_OK_FOR_BASE_P and REG_OK_FOR_INDEX_P macros
2011-08-08 21:42 [MMIX] Remove REG_OK_FOR_BASE_P and REG_OK_FOR_INDEX_P macros Anatoly Sokolov
@ 2011-08-08 22:51 ` Hans-Peter Nilsson
0 siblings, 0 replies; 2+ messages in thread
From: Hans-Peter Nilsson @ 2011-08-08 22:51 UTC (permalink / raw)
To: Anatoly Sokolov; +Cc: gcc-patches
On Mon, 8 Aug 2011, Anatoly Sokolov wrote:
> Hello.
>
> This patch remove unused REG_OK_FOR_BASE_P and REG_OK_FOR_INDEX_P macros
> from the MMIX back end.
>
> Regression tested on mmix-knuth-mmixware.
>
> OK to install?
>
> * config/mmix/mmix.h (REG_OK_FOR_BASE_P, REG_OK_FOR_INDEX_P): Remove.
Yes, thanks.
brgds, H-P
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-08-08 21:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-08 21:42 [MMIX] Remove REG_OK_FOR_BASE_P and REG_OK_FOR_INDEX_P macros Anatoly Sokolov
2011-08-08 22:51 ` Hans-Peter Nilsson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).