* config/rs6000/rs6000.md (macho_correct_pic): Correct pattern.
From-SVN: r64548
This commit is contained in:
parent
91d167bb61
commit
8291cc0e52
@ -1,3 +1,7 @@
|
||||
2003-03-18 Geoffrey Keating <geoffk@apple.com>
|
||||
|
||||
* config/rs6000/rs6000.md (macho_correct_pic): Correct pattern.
|
||||
|
||||
2003-03-18 Richard Henderson <rth@redhat.com>
|
||||
|
||||
* config/ia64/ia64.md (UNSPECV_SETJMP_RECEIVER): New.
|
||||
|
@ -9843,12 +9843,12 @@
|
||||
|
||||
(define_insn "macho_correct_pic"
|
||||
[(set (match_operand:SI 0 "gpc_reg_operand" "=r")
|
||||
(plus:SI (match_operand:SI 1 "gpc_reg_operand" "=r")
|
||||
(plus:SI (match_operand:SI 1 "gpc_reg_operand" "r")
|
||||
(unspec:SI [(match_operand:SI 2 "immediate_operand" "s")
|
||||
(match_operand:SI 3 "immediate_operand" "s")]
|
||||
16)))]
|
||||
"DEFAULT_ABI == ABI_DARWIN"
|
||||
"addis %0,%1,ha16(%2-%3)\n\taddi %1,%1,lo16(%2-%3)"
|
||||
"addis %0,%1,ha16(%2-%3)\n\taddi %0,%0,lo16(%2-%3)"
|
||||
[(set_attr "length" "8")])
|
||||
|
||||
;; If the TOC is shared over a translation unit, as happens with all
|
||||
|
Loading…
x
Reference in New Issue
Block a user