Commit d0fc7bea by Jim Wilson

(reload_insi): Delete.

(*): Fix all callers of legitimize_pic_address and emit_move_sequence.

From-SVN: r5143
parent a78bdb38
...@@ -778,25 +778,10 @@ ...@@ -778,25 +778,10 @@
"" ""
" "
{ {
if (emit_move_sequence (operands, SImode, NULL_RTX)) if (emit_move_sequence (operands, SImode))
DONE; DONE;
}") }")
(define_expand "reload_insi"
[(set (match_operand:SI 0 "register_operand" "=r")
(match_operand:SI 1 "general_operand" ""))
(clobber (match_operand:SI 2 "register_operand" "=&r"))]
""
"
{
if (emit_move_sequence (operands, SImode, operands[2]))
DONE;
/* We don't want the clobber emitted, so handle this ourselves. */
emit_insn (gen_rtx (SET, VOIDmode, operands[0], operands[1]));
DONE;
}")
;; We must support both 'r' and 'f' registers here, because combine may ;; We must support both 'r' and 'f' registers here, because combine may
;; convert SFmode hard registers to SImode hard registers when simplifying ;; convert SFmode hard registers to SImode hard registers when simplifying
;; subreg sets. ;; subreg sets.
...@@ -952,7 +937,7 @@ ...@@ -952,7 +937,7 @@
"" ""
" "
{ {
if (emit_move_sequence (operands, HImode, NULL_RTX)) if (emit_move_sequence (operands, HImode))
DONE; DONE;
}") }")
...@@ -993,7 +978,7 @@ ...@@ -993,7 +978,7 @@
"" ""
" "
{ {
if (emit_move_sequence (operands, QImode, NULL_RTX)) if (emit_move_sequence (operands, QImode))
DONE; DONE;
}") }")
...@@ -1108,7 +1093,7 @@ ...@@ -1108,7 +1093,7 @@
"" ""
" "
{ {
if (emit_move_sequence (operands, TFmode, NULL_RTX)) if (emit_move_sequence (operands, TFmode))
DONE; DONE;
}") }")
...@@ -1192,7 +1177,7 @@ ...@@ -1192,7 +1177,7 @@
"" ""
" "
{ {
if (emit_move_sequence (operands, DFmode, NULL_RTX)) if (emit_move_sequence (operands, DFmode))
DONE; DONE;
}") }")
...@@ -1261,7 +1246,7 @@ ...@@ -1261,7 +1246,7 @@
"" ""
" "
{ {
if (emit_move_sequence (operands, DImode, NULL_RTX)) if (emit_move_sequence (operands, DImode))
DONE; DONE;
}") }")
...@@ -1310,7 +1295,7 @@ ...@@ -1310,7 +1295,7 @@
"" ""
" "
{ {
if (emit_move_sequence (operands, SFmode, NULL_RTX)) if (emit_move_sequence (operands, SFmode))
DONE; DONE;
}") }")
...@@ -2949,7 +2934,7 @@ ...@@ -2949,7 +2934,7 @@
" "
{ {
operands[1] = legitimize_pic_address (operands[1], GET_MODE (operands[0]), operands[1] = legitimize_pic_address (operands[1], GET_MODE (operands[0]),
operands[3], 0); operands[3]);
}") }")
(define_split (define_split
...@@ -2962,7 +2947,7 @@ ...@@ -2962,7 +2947,7 @@
" "
{ {
operands[2] = legitimize_pic_address (operands[2], GET_MODE (operands[1]), operands[2] = legitimize_pic_address (operands[2], GET_MODE (operands[1]),
operands[0], 0); operands[0]);
}") }")
;; Sign- and Zero-extend operations can have symbolic memory operands. ;; Sign- and Zero-extend operations can have symbolic memory operands.
...@@ -2978,7 +2963,7 @@ ...@@ -2978,7 +2963,7 @@
" "
{ {
operands[3] = legitimize_pic_address (operands[3], GET_MODE (operands[2]), operands[3] = legitimize_pic_address (operands[3], GET_MODE (operands[2]),
operands[0], 0); operands[0]);
}") }")
(define_split (define_split
...@@ -3002,7 +2987,7 @@ ...@@ -3002,7 +2987,7 @@
[(set (match_dup 0) (match_dup 1))] [(set (match_dup 0) (match_dup 1))]
" "
{ {
operands[1] = legitimize_pic_address (operands[1], Pmode, operands[0], 0); operands[1] = legitimize_pic_address (operands[1], Pmode, operands[0]);
}") }")
;; These split sne/seq insns. The forms of the resulting insns are ;; These split sne/seq insns. The forms of the resulting insns are
......
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