Commit 8e84cfdd by Jeff Law

pa.md (pic_load_label): Fix test for using just an ldo rather than an addil;ldo…

pa.md (pic_load_label): Fix test for using just an ldo rather than an addil;ldo sequence to load the...

        * pa/pa.md (pic_load_label): Fix test for using just an
        ldo rather than an addil;ldo sequence to load the label's
        address.

From-SVN: r13384
parent 08bbd316
;;- Machine description for HP PA-RISC architecture for GNU C compiler ;;- Machine description for HP PA-RISC architecture for GNU C compiler
;; Copyright (C) 1992, 1993, 1994, 1995, 1996 Free Software Foundation, Inc. ;; Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997
;; Free Software Foundation, Inc.
;; Contributed by the Center for Software Science at the University ;; Contributed by the Center for Software Science at the University
;; of Utah. ;; of Utah.
...@@ -1499,7 +1500,7 @@ ...@@ -1499,7 +1500,7 @@
if (GET_CODE (operands[1]) == LABEL_REF if (GET_CODE (operands[1]) == LABEL_REF
&& insn_addresses && insn_addresses
&& abs (insn_addresses[INSN_UID (XEXP (operands[1], 0))] && abs (insn_addresses[INSN_UID (XEXP (operands[1], 0))]
- insn_current_address) < 8100) - insn_addresses[INSN_UID (insn)]) < 8100)
{ {
/* Prefixing with R% here is wrong, it extracts just 11 bits and is /* Prefixing with R% here is wrong, it extracts just 11 bits and is
always non-negative. */ always non-negative. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment