aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/mips/mips.h
diff options
context:
space:
mode:
authorAnatoly Sokolov <aesok@post.ru>2011-04-07 23:58:24 +0400
committerAnatoly Sokolov <aesok@gcc.gnu.org>2011-04-07 23:58:24 +0400
commit14431f58e4d1d53d56e38bb34fb9c5880815f8ae (patch)
tree37cdd883635346edc0176b7a86921311ff85d8ee /gcc/config/mips/mips.h
parent3729983c938dcf0255ab306c481292f9ea554fcd (diff)
downloadgcc-14431f58e4d1d53d56e38bb34fb9c5880815f8ae.zip
gcc-14431f58e4d1d53d56e38bb34fb9c5880815f8ae.tar.gz
gcc-14431f58e4d1d53d56e38bb34fb9c5880815f8ae.tar.bz2
mips.h (REG_MODE_OK_FOR_BASE_P, [...]): Remove macros.
* config/mips/mips.h (REG_MODE_OK_FOR_BASE_P, REG_OK_FOR_INDEX_P): Remove macros. From-SVN: r172125
Diffstat (limited to 'gcc/config/mips/mips.h')
-rw-r--r--gcc/config/mips/mips.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/gcc/config/mips/mips.h b/gcc/config/mips/mips.h
index 55bdec8..ba226bf 100644
--- a/gcc/config/mips/mips.h
+++ b/gcc/config/mips/mips.h
@@ -2305,28 +2305,6 @@ typedef struct mips_args {
#define REGNO_OK_FOR_INDEX_P(REGNO) 0
#define REGNO_MODE_OK_FOR_BASE_P(REGNO, MODE) \
mips_regno_mode_ok_for_base_p (REGNO, MODE, 1)
-
-/* The macros REG_OK_FOR..._P assume that the arg is a REG rtx
- and check its validity for a certain class.
- We have two alternate definitions for each of them.
- The usual definition accepts all pseudo regs; the other rejects them all.
- The symbol REG_OK_STRICT causes the latter definition to be used.
-
- Most source files want to accept pseudo regs in the hope that
- they will get allocated to the class that the insn wants them to be in.
- Some source files that are used after register allocation
- need to be strict. */
-
-#ifndef REG_OK_STRICT
-#define REG_MODE_OK_FOR_BASE_P(X, MODE) \
- mips_regno_mode_ok_for_base_p (REGNO (X), MODE, 0)
-#else
-#define REG_MODE_OK_FOR_BASE_P(X, MODE) \
- mips_regno_mode_ok_for_base_p (REGNO (X), MODE, 1)
-#endif
-
-#define REG_OK_FOR_INDEX_P(X) 0
-
/* Maximum number of registers that can appear in a valid memory address. */