diff options
author | Richard Henderson <rth@redhat.com> | 2011-03-22 15:24:28 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2011-03-22 15:24:28 -0700 |
commit | 75db85d8a250909bd5acb63f366dc44415362dc3 (patch) | |
tree | a32f365d2dbe1ddd0a8e9a305cfaa04c0982f637 /gcc/config/alpha/predicates.md | |
parent | 96e4542172ff9a57b56370cdd65f1b1dacbdcdf8 (diff) | |
download | gcc-75db85d8a250909bd5acb63f366dc44415362dc3.tar.gz |
Remove alpha-unicosmk code from the backend.
From-SVN: r171309
Diffstat (limited to 'gcc/config/alpha/predicates.md')
-rw-r--r-- | gcc/config/alpha/predicates.md | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/gcc/config/alpha/predicates.md b/gcc/config/alpha/predicates.md index 2f17fb9e3c3..e41b07055db 100644 --- a/gcc/config/alpha/predicates.md +++ b/gcc/config/alpha/predicates.md @@ -295,14 +295,13 @@ ;; Return 1 if OP is a valid operand for the MEM of a CALL insn. ;; ;; For TARGET_ABI_OSF, we want to restrict to R27 or a pseudo. -;; For TARGET_ABI_UNICOSMK, we want to restrict to registers. (define_predicate "call_operand" - (if_then_else (match_code "reg") - (match_test "!TARGET_ABI_OSF - || REGNO (op) == 27 || REGNO (op) > LAST_VIRTUAL_REGISTER") - (and (match_test "!TARGET_ABI_UNICOSMK") - (match_code "symbol_ref")))) + (ior (match_code "symbol_ref") + (and (match_code "reg") + (ior (match_test "!TARGET_ABI_OSF") + (match_test "!HARD_REGISTER_P (op)") + (match_test "REGNO (op) == R27_REG"))))) ;; Return true if OP is a LABEL_REF, or SYMBOL_REF or CONST referencing ;; a (non-tls) variable known to be defined in this file. |