aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorDavid S. Miller <davem@nuts.davemloft.net>2004-07-13 01:36:38 +0000
committerDavid S. Miller <davem@gcc.gnu.org>2004-07-12 18:36:38 -0700
commitd7ae4c28e00b8aeab7f0e67a96ec7ac342fbb9b2 (patch)
tree2d464fc556bab585cd7eccf72f7b70b0b8ed91fe /gcc/config
parent7ea18c086b6128de4aec84fe69da2102e2b60dec (diff)
downloadgcc-d7ae4c28e00b8aeab7f0e67a96ec7ac342fbb9b2.zip
gcc-d7ae4c28e00b8aeab7f0e67a96ec7ac342fbb9b2.tar.gz
gcc-d7ae4c28e00b8aeab7f0e67a96ec7ac342fbb9b2.tar.bz2
sparc.md (ashlsi3): Eliminate const 1 special case.
2004-07-12 David S. Miller <davem@nuts.davemloft.net> * config/sparc/sparc.md (ashlsi3): Eliminate const 1 special case. (ashldi3_sp64): Likewise. From-SVN: r84599
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/sparc/sparc.md4
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/config/sparc/sparc.md b/gcc/config/sparc/sparc.md
index dc7ef6e..f81482a 100644
--- a/gcc/config/sparc/sparc.md
+++ b/gcc/config/sparc/sparc.md
@@ -6951,8 +6951,6 @@
(match_operand:SI 2 "arith_operand" "rI")))]
""
{
- if (operands[2] == const1_rtx)
- return "add\t%1, %1, %0";
if (GET_CODE (operands[2]) == CONST_INT)
operands[2] = GEN_INT (INTVAL (operands[2]) & 0x1f);
return "sll\t%1, %2, %0";
@@ -6982,8 +6980,6 @@
(match_operand:SI 2 "arith_operand" "rI")))]
"TARGET_ARCH64"
{
- if (operands[2] == const1_rtx)
- return "add\t%1, %1, %0";
if (GET_CODE (operands[2]) == CONST_INT)
operands[2] = GEN_INT (INTVAL (operands[2]) & 0x3f);
return "sllx\t%1, %2, %0";