aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/sh/sh.md
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1995-04-26 18:19:38 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1995-04-26 18:19:38 -0400
commit89f0bef317b8a5ee8ced03d91c794b113bcdf587 (patch)
tree5d1a6e082b0812d041a1c3a98b521b31e5b03ebd /gcc/config/sh/sh.md
parentd8ddc751ee9667b27a4b28f7a00fa550c23f65c2 (diff)
downloadgcc-89f0bef317b8a5ee8ced03d91c794b113bcdf587.zip
gcc-89f0bef317b8a5ee8ced03d91c794b113bcdf587.tar.gz
gcc-89f0bef317b8a5ee8ced03d91c794b113bcdf587.tar.bz2
(ashrsi2_31): Don't use dead_or_set_p after reload.
From-SVN: r9492
Diffstat (limited to 'gcc/config/sh/sh.md')
-rw-r--r--gcc/config/sh/sh.md14
1 files changed, 3 insertions, 11 deletions
diff --git a/gcc/config/sh/sh.md b/gcc/config/sh/sh.md
index d6b5475..b94f331 100644
--- a/gcc/config/sh/sh.md
+++ b/gcc/config/sh/sh.md
@@ -697,17 +697,9 @@
(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")])