From 3c377a2a6a981ef37ce06a5534d90034c40612f5 Mon Sep 17 00:00:00 2001 From: Joern Rennecke Date: Tue, 29 Oct 1996 01:08:53 +0000 Subject: [PATCH] (shl_sext_ext): Don't accept simple left/right shift variant. From-SVN: r13060 --- gcc/config/sh/sh.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/config/sh/sh.md b/gcc/config/sh/sh.md index 1a225439c66..5e99bfd3caa 100644 --- a/gcc/config/sh/sh.md +++ b/gcc/config/sh/sh.md @@ -1262,7 +1262,7 @@ (match_operand:SI 3 "const_int_operand" "n") (const_int 0))) (clobber (reg:SI 18))] - "shl_sext_kind (operands[2], operands[3], 0) <= 5" + "(unsigned)shl_sext_kind (operands[2], operands[3], 0) - 1 < 5" "#" [(set (attr "length") (cond [(eq (symbol_ref "shl_sext_length (insn)") (const_int 1)) -- 2.30.2