(ashrsi2_31): Don't use dead_or_set_p after reload.
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 26 Apr 1995 22:19:38 +0000 (22:19 +0000)
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 26 Apr 1995 22:19:38 +0000 (22:19 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9492 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/config/sh/sh.md

index d6b5475..b94f331 100644 (file)
                      (const_int 31)))
    (clobber (reg:SI 18))]
   ""
-  "*
-{
-  if (which_alternative == 1)
-    {
-      if (dead_or_set_p (insn, operands[1]))
-        return \"shll  %1\;subc        %0,%0\";
-      else
-        return \"mov   %1,%0\;shll     %0\;subc        %0,%0\";
-    }
-  return \"shll        %0\;subc        %0,%0\";
-}"
+  "@
+   shll        %0\;subc        %0,%0
+   mov %1,%0\;shll     %0\;subc        %0,%0"
   [(set_attr "length" "4,6")])