From 2993ce4c3401454caeb24675fd242b709c5b6ba8 Mon Sep 17 00:00:00 2001 From: "J\"orn Rennecke" Date: Wed, 4 Feb 1998 17:48:38 +0000 Subject: [PATCH] Undo this change (the problem was actually in reload): Fri Jan 23 23:28:59 1998 J"orn Rennecke * sh.md (movqi_i+1): New peephole. From-SVN: r17663 --- gcc/ChangeLog | 6 ++++++ gcc/config/sh/sh.md | 12 ------------ 2 files changed, 6 insertions(+), 12 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 69148fe49420..abe1af2632f6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +Thu Feb 5 01:45:19 1998 J"orn Rennecke + Undo this change (the problem was actually in reload): + Fri Jan 23 23:28:59 1998 J"orn Rennecke + + * sh.md (movqi_i+1): New peephole. + Tue Feb 3 01:11:12 1998 Jeffrey A Law (law@cygnus.com) * jump.c (jump_optimize): Lose calls to modified_in_p they are diff --git a/gcc/config/sh/sh.md b/gcc/config/sh/sh.md index 3b367d8f6133..e865b881d009 100644 --- a/gcc/config/sh/sh.md +++ b/gcc/config/sh/sh.md @@ -1885,18 +1885,6 @@ 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" ""))] -- 2.43.5