diff options
author | Torbjorn Granlund <tege@gnu.org> | 1993-03-17 20:57:22 +0000 |
---|---|---|
committer | Torbjorn Granlund <tege@gnu.org> | 1993-03-17 20:57:22 +0000 |
commit | a9a54fe80d50adac44457f49bc0b67524ed04c05 (patch) | |
tree | 6159c23d426adcdc81b411fb2df62c15b6da3e55 /gcc | |
parent | e19ee6593aa1659a51cffd84139131f6922c52b3 (diff) | |
download | gcc-a9a54fe80d50adac44457f49bc0b67524ed04c05.zip gcc-a9a54fe80d50adac44457f49bc0b67524ed04c05.tar.gz gcc-a9a54fe80d50adac44457f49bc0b67524ed04c05.tar.bz2 |
(pc_or_label_operand): New predicate.
From-SVN: r3765
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/config/pa/pa.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c index 3294f92..fa93c66 100644 --- a/gcc/config/pa/pa.c +++ b/gcc/config/pa/pa.c @@ -442,6 +442,14 @@ arith32_operand (op, mode) { return register_operand (op, mode) || GET_CODE (op) == CONST_INT; } + +int +pc_or_label_operand (op, mode) + rtx op; + enum machine_mode mode; +{ + return (GET_CODE (op) == PC || GET_CODE (op) == LABEL_REF); +} /* Legitimize PIC addresses. If the address is already position-independent, we return ORIG. Newly generated |