From f0dc3f49258249dcec798021e1d7dabbf02a6ed0 Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Fri, 9 May 1997 18:47:12 +0000 Subject: [PATCH] extend restrictions on combining lshiftrt with insv to all shifts From-SVN: r14057 --- gcc/config/rs6000/rs6000.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md index 8c4f0b37bf6..fc1323a7b3c 100644 --- a/gcc/config/rs6000/rs6000.md +++ b/gcc/config/rs6000/rs6000.md @@ -2102,7 +2102,7 @@ (match_operand:SI 2 "const_int_operand" "i")) (ashift:SI (match_operand:SI 3 "gpc_reg_operand" "r") (match_operand:SI 4 "const_int_operand" "i")))] - "" + "(32 - (INTVAL (operands[4]) & 31)) >= INTVAL (operands[1])" "* { int shift = INTVAL (operands[4]) & 31; @@ -2120,7 +2120,7 @@ (match_operand:SI 2 "const_int_operand" "i")) (ashiftrt:SI (match_operand:SI 3 "gpc_reg_operand" "r") (match_operand:SI 4 "const_int_operand" "i")))] - "" + "(32 - (INTVAL (operands[4]) & 31)) >= INTVAL (operands[1])" "* { int shift = INTVAL (operands[4]) & 31; -- 2.30.2