pa.c: References to TARGET_SHARED_LIBS deleted.
* pa.c: References to TARGET_SHARED_LIBS deleted. * pa.md: Likewise. From-SVN: r4726
This commit is contained in:
parent
5a079bea22
commit
d5e87e5eed
@ -841,8 +841,7 @@ emit_move_sequence (operands, mode, scratch_reg)
|
||||
emit_insn (gen_rtx (SET, VOIDmode,
|
||||
temp,
|
||||
gen_rtx (HIGH, mode, operand1)));
|
||||
if (TARGET_SHARED_LIBS
|
||||
&& function_label_operand (operand1, mode))
|
||||
if (function_label_operand (operand1, mode))
|
||||
{
|
||||
rtx temp = reload_in_progress ? scratch_reg
|
||||
: gen_reg_rtx (mode);
|
||||
@ -3117,7 +3116,7 @@ secondary_reload_class (class, mode, in)
|
||||
{
|
||||
int regno = true_regnum (in);
|
||||
|
||||
if ((TARGET_SHARED_LIBS && function_label_operand (in, mode))
|
||||
if (function_label_operand (in, mode)
|
||||
|| ((regno >= FIRST_PSEUDO_REGISTER || regno == -1)
|
||||
&& GET_MODE_CLASS (mode) == MODE_INT
|
||||
&& FP_REG_CLASS_P (class))
|
||||
|
@ -1122,11 +1122,11 @@
|
||||
[(set_attr "type" "binary,binary")
|
||||
(set_attr "length" "1,2")])
|
||||
|
||||
;; For function addresses when TARGET_SHARED_LIBS
|
||||
;; For function addresses.
|
||||
(define_insn ""
|
||||
[(set (match_operand:SI 0 "register_operand" "=r")
|
||||
(high:SI (match_operand:SI 1 "function_label_operand" "")))]
|
||||
"TARGET_SHARED_LIBS"
|
||||
""
|
||||
"ldil LP'%G1,%0"
|
||||
[(set_attr "type" "move")
|
||||
(set_attr "length" "1")])
|
||||
@ -1139,13 +1139,13 @@
|
||||
[(set_attr "type" "move")
|
||||
(set_attr "length" "1")])
|
||||
|
||||
;; lo_sum of a function address when TARGET_SHARED_LIBS
|
||||
;; lo_sum of a function address.
|
||||
(define_insn ""
|
||||
[(set (match_operand:SI 0 "register_operand" "=r")
|
||||
(lo_sum:SI (match_operand:SI 1 "register_operand" "r")
|
||||
(match_operand:SI 2 "function_label_operand" "")))
|
||||
(clobber (match_operand:SI 3 "register_operand" "=r"))]
|
||||
"TARGET_SHARED_LIBS"
|
||||
""
|
||||
"ldo RP'%G2(%1),%0\;extru,= %0,31,1,%3\;ldw -4(0,%%r27),%3\;add %0,%3,%0"
|
||||
[(set_attr "type" "multi")
|
||||
(set_attr "length" "4")])
|
||||
|
Loading…
Reference in New Issue
Block a user