diff options
author | Richard Henderson <rth@cygnus.com> | 1999-10-14 18:52:29 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 1999-10-14 18:52:29 -0700 |
commit | 556ffcc55247d9c77e0cca31a764dc56741da789 (patch) | |
tree | a2c9bf0ce2a7fd8466de760ea4c4fdc8aa203a22 /gcc/recog.c | |
parent | 104140890ae1b03e68e58122aeb64177ac37f544 (diff) | |
download | gcc-556ffcc55247d9c77e0cca31a764dc56741da789.zip gcc-556ffcc55247d9c77e0cca31a764dc56741da789.tar.gz gcc-556ffcc55247d9c77e0cca31a764dc56741da789.tar.bz2 |
recog.c (pmode_register_operand): New.
* recog.c (pmode_register_operand): New.
* recog.h: Declare it.
* genrecog.c (pred_codes): Likewise.
(special_mode_pred_table): Likewise.
(validate_pattern): Don't warn no mode for address_operand.
* print-rtl.c (print_rtx) [LABEL_REF]: Only do full subexpression
if the operand is not insn-like.
From-SVN: r29995
Diffstat (limited to 'gcc/recog.c')
-rw-r--r-- | gcc/recog.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/recog.c b/gcc/recog.c index 1d27730..3b50b83 100644 --- a/gcc/recog.c +++ b/gcc/recog.c @@ -1027,6 +1027,16 @@ register_operand (op, mode) || REGNO_REG_CLASS (REGNO (op)) != NO_REGS)); } +/* Return 1 for a register in Pmode; ignore the tested mode. */ + +int +pmode_register_operand (op, mode) + rtx op; + enum machine_mode mode ATTRIBUTE_UNUSED; +{ + return register_operand (op, Pmode); +} + /* Return 1 if OP should match a MATCH_SCRATCH, i.e., if it is a SCRATCH or a hard register. */ |