Commit 3c298c88 by Richard Henderson Committed by Richard Henderson

i386.md (movstrictqi, [...]): Check optimize_size as well.

        * config/i386/i386.md (movstrictqi, movstrictqi_1): Check
        optimize_size as well.

From-SVN: r64451
parent fe91bac5
2003-03-16 Richard Henderson <rth@redhat.com>
* config/i386/i386.md (movstrictqi, movstrictqi_1): Check
optimize_size as well.
2003-03-16 Stephane Carrez <stcarrez@nerim.fr> 2003-03-16 Stephane Carrez <stcarrez@nerim.fr>
* config/m68hc11/m68hc11.c (print_operand): Handle 'b' modifier * config/m68hc11/m68hc11.c (print_operand): Handle 'b' modifier
......
...@@ -1578,7 +1578,7 @@ ...@@ -1578,7 +1578,7 @@
(define_expand "movstrictqi" (define_expand "movstrictqi"
[(set (strict_low_part (match_operand:QI 0 "nonimmediate_operand" "")) [(set (strict_low_part (match_operand:QI 0 "nonimmediate_operand" ""))
(match_operand:QI 1 "general_operand" ""))] (match_operand:QI 1 "general_operand" ""))]
"! TARGET_PARTIAL_REG_STALL" "! TARGET_PARTIAL_REG_STALL || optimize_size"
{ {
/* Don't generate memory->memory moves, go through a register. */ /* Don't generate memory->memory moves, go through a register. */
if (GET_CODE (operands[0]) == MEM && GET_CODE (operands[1]) == MEM) if (GET_CODE (operands[0]) == MEM && GET_CODE (operands[1]) == MEM)
...@@ -1588,7 +1588,7 @@ ...@@ -1588,7 +1588,7 @@
(define_insn "*movstrictqi_1" (define_insn "*movstrictqi_1"
[(set (strict_low_part (match_operand:QI 0 "nonimmediate_operand" "+qm,q")) [(set (strict_low_part (match_operand:QI 0 "nonimmediate_operand" "+qm,q"))
(match_operand:QI 1 "general_operand" "*qn,m"))] (match_operand:QI 1 "general_operand" "*qn,m"))]
"! TARGET_PARTIAL_REG_STALL "(! TARGET_PARTIAL_REG_STALL || optimize_size)
&& (GET_CODE (operands[0]) != MEM || GET_CODE (operands[1]) != MEM)" && (GET_CODE (operands[0]) != MEM || GET_CODE (operands[1]) != MEM)"
"mov{b}\t{%1, %0|%0, %1}" "mov{b}\t{%1, %0|%0, %1}"
[(set_attr "type" "imov") [(set_attr "type" "imov")
......
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