Commit 4eae5fe1 by Richard Kenner

(movdf): Don't have reload choose alternative of loading a constant

into a GPR.

From-SVN: r6001
parent 3a322c50
...@@ -3059,8 +3059,14 @@ ...@@ -3059,8 +3059,14 @@
operands[4] = operand_subword (operands[0], 1, 0, DFmode); operands[4] = operand_subword (operands[0], 1, 0, DFmode);
operands[5] = operand_subword (operands[1], 1, 0, DFmode); }") operands[5] = operand_subword (operands[1], 1, 0, DFmode); }")
(define_insn "" ;; Don't have reload use general registers to load a constant. First,
[(set (match_operand:DF 0 "nonimmediate_operand" "=!r,r,o,r,f,f,m") ;; it might not work if the output operand has is the equivalent of
;; a non-offsettable memref, but also it is less efficient than loading
;; the constant into an FP register, since it will probably be used there.
;; The "??" is a kludge until we can figure out a more reasonable way
;; of handling these non-offsettable values.
(define_insn ""
[(set (match_operand:DF 0 "nonimmediate_operand" "=!r,??r,o,!r,f,f,m")
(match_operand:DF 1 "input_operand" "r,o,r,G,f,m,f"))] (match_operand:DF 1 "input_operand" "r,o,r,G,f,m,f"))]
"register_operand (operands[0], DFmode) "register_operand (operands[0], DFmode)
|| register_operand (operands[1], DFmode)" || register_operand (operands[1], DFmode)"
......
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