]> gcc.gnu.org Git - gcc.git/blobdiff - gcc/config/sh/sh.md
Undo this change (the problem was actually in reload):
[gcc.git] / gcc / config / sh / sh.md
index 3b367d8f6133c5ef1cf7461c7cc0803392b945d4..e865b881d0090c17ecc4c24727235c4ff082b8b9 100644 (file)
        lds     %1,%0"
  [(set_attr "type" "move,load,store,move,move,move")])
 
-;; For Big-endian, reload now sometimes generates something like
-;; (insn 2107 2104 2099 (set (reg:QI 3 r3)
-;;         (subreg:QI (mem:SI (reg:SI 0 r0)) 0)) -1 (nil)
-;;     (nil))
-;; To avoid clutter in the movqi pattern, we express this as a peephole.
-
-(define_peephole
-  [(set (match_operand:QI 0 "arith_reg_operand" "r")
-       (subreg:QI (match_operand:SI 1 "memory_operand"  "m") 0))]
-  ""
-  "mov.l       %1,%0")
-
 (define_expand "movqi"
   [(set (match_operand:QI 0 "general_operand" "")
        (match_operand:QI 1 "general_operand"  ""))]
This page took 0.028648 seconds and 5 git commands to generate.