diff options
author | Jeffrey A Law <law@cygnus.com> | 1999-07-28 21:46:39 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1999-07-28 15:46:39 -0600 |
commit | 2a0a6f69ea9d8f74cbfe8b04d545ac9744554148 (patch) | |
tree | acb69eed6e9a4e9ccdc6cde450e7d042ad9880ac /gcc/config/pa/pa.md | |
parent | b70a1fb1c212d8da60498679cd4009f39519b390 (diff) | |
download | gcc-2a0a6f69ea9d8f74cbfe8b04d545ac9744554148.zip gcc-2a0a6f69ea9d8f74cbfe8b04d545ac9744554148.tar.gz gcc-2a0a6f69ea9d8f74cbfe8b04d545ac9744554148.tar.bz2 |
pa.c (legitimize_address): Consistently use Pmode rather than SImode.
* pa.c (legitimize_address): Consistently use Pmode rather than
SImode. Do not call gen_pic2_highpart directly anymore.
* pa.md (pic2_highpart): No longer a named pattern.
(pic2_lo_sum): Similarly. Reformat to make more readable.
From-SVN: r28326
Diffstat (limited to 'gcc/config/pa/pa.md')
-rw-r--r-- | gcc/config/pa/pa.md | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/config/pa/pa.md b/gcc/config/pa/pa.md index ea1c685..b441f3d 100644 --- a/gcc/config/pa/pa.md +++ b/gcc/config/pa/pa.md @@ -1610,7 +1610,7 @@ [(set_attr "type" "multi") (set_attr "length" "16")]) ; 12 or 16 -(define_insn "pic2_highpart" +(define_insn "" [(set (match_operand:SI 0 "register_operand" "=a") (plus:SI (match_operand:SI 1 "register_operand" "r") (high:SI (match_operand 2 "" ""))))] @@ -1624,11 +1624,12 @@ ; We need this to make sure CSE doesn't simplify a memory load with a ; symbolic address, whose content it think it knows. For PIC, what CSE ; think is the real value will be the address of that value. -(define_insn "pic2_lo_sum" +(define_insn "" [(set (match_operand:SI 0 "register_operand" "=r") - (mem:SI (lo_sum:SI (match_operand:SI 1 "register_operand" "r") - (unspec:SI [(match_operand:SI 2 "symbolic_operand" "")] 0))))] - "" + (mem:SI + (lo_sum:SI (match_operand:SI 1 "register_operand" "r") + (unspec:SI + [(match_operand:SI 2 "symbolic_operand" "")] 0))))] "* { if (flag_pic != 2) @@ -1638,7 +1639,6 @@ [(set_attr "type" "load") (set_attr "length" "4")]) - ;; Always use addil rather than ldil;add sequences. This allows the ;; HP linker to eliminate the dp relocation if the symbolic operand ;; lives in the TEXT space. |