Commit 6b3783de by Alexandre Oliva Committed by Alexandre Oliva

* config/sh/sh.md (symPLT_label2reg): Use operand3 for PIC reg.

From-SVN: r36266
parent 9af354b7
2000-09-08 Alexandre Oliva <aoliva@redhat.com>
* config/sh/sh.md (symPLT_label2reg): Use operand3 for PIC reg.
2000-09-08 Bernd Schmidt <bernds@redhat.co.uk>
* combine.c (combine_simplify_rtx): Try to simplify VEC_SELECT of a
......
......@@ -3516,7 +3516,7 @@ else
(unspec [(match_operand:SI 1 "" "")] 9))
(const (plus:SI (label_ref (match_operand:SI 2 "" ""))
(const_int 2))))))
(use (match_dup 2))]
(use (match_dup 3))]
;; Even though the PIC register is not really used by the call
;; sequence in which this is expanded, the PLT code assumes the PIC
;; register is set, so we must not skip its initialization. Since
......@@ -3530,7 +3530,7 @@ else
;; shared libraries.
"" "
{
operands[2] = pic_offset_table_rtx;
operands[3] = pic_offset_table_rtx;
current_function_uses_pic_offset_table = 1;
}")
......
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