diff options
author | Jeff Law <law@gcc.gnu.org> | 1997-01-06 00:01:49 -0700 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1997-01-06 00:01:49 -0700 |
commit | 8e84cfdd7c0d0ba1c1da92f64d83e7b72058e510 (patch) | |
tree | 440d2e68c7f91066b07d82dd1a1e9d3af733332b /gcc | |
parent | 08bbd316d8bc69ec7f80b5f4229e7288fb63c935 (diff) | |
download | gcc-8e84cfdd7c0d0ba1c1da92f64d83e7b72058e510.zip gcc-8e84cfdd7c0d0ba1c1da92f64d83e7b72058e510.tar.gz gcc-8e84cfdd7c0d0ba1c1da92f64d83e7b72058e510.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/config/pa/pa.md | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/config/pa/pa.md b/gcc/config/pa/pa.md index ed7b654..9c4b814 100644 --- a/gcc/config/pa/pa.md +++ b/gcc/config/pa/pa.md @@ -1,5 +1,6 @@ ;;- 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 ;; of Utah. @@ -1499,7 +1500,7 @@ if (GET_CODE (operands[1]) == LABEL_REF && insn_addresses && 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 always non-negative. */ |