aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorDavid S. Miller <davem@gcc.gnu.org>2002-05-06 14:31:56 -0700
committerDavid S. Miller <davem@gcc.gnu.org>2002-05-06 14:31:56 -0700
commit8d8563aebac33f1f72727f8a6c8fdd2d6670ad01 (patch)
tree4b7f37a88441ee490cc2a9f23431a7745f785077 /gcc
parent97320a3f230eb28eae3f084c7e4543dbd64a1d8e (diff)
downloadgcc-8d8563aebac33f1f72727f8a6c8fdd2d6670ad01.zip
gcc-8d8563aebac33f1f72727f8a6c8fdd2d6670ad01.tar.gz
gcc-8d8563aebac33f1f72727f8a6c8fdd2d6670ad01.tar.bz2
sparc.md (shift insns): Do not mask off second operand...
2002-05-06 David S. Miller <davem@redhat.com> * config/sparc/sparc.md (shift insns): Do not mask off second operand, 'I' constraint and SHIFT_COUNT_TRUNCATED take care of it. From-SVN: r53238
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/sparc/sparc.md24
1 files changed, 0 insertions, 24 deletions
diff --git a/gcc/config/sparc/sparc.md b/gcc/config/sparc/sparc.md
index 2af9153..98fd14e 100644
--- a/gcc/config/sparc/sparc.md
+++ b/gcc/config/sparc/sparc.md
@@ -7241,10 +7241,6 @@
""
"*
{
- if (GET_CODE (operands[2]) == CONST_INT
- && (unsigned HOST_WIDE_INT) INTVAL (operands[2]) > 31)
- operands[2] = GEN_INT (INTVAL (operands[2]) & 0x1f);
-
if (operands[2] == const1_rtx)
return \"add\\t%1, %1, %0\";
return \"sll\\t%1, %2, %0\";
@@ -7276,10 +7272,6 @@
"TARGET_ARCH64"
"*
{
- if (GET_CODE (operands[2]) == CONST_INT
- && (unsigned HOST_WIDE_INT) INTVAL (operands[2]) > 63)
- operands[2] = GEN_INT (INTVAL (operands[2]) & 0x3f);
-
if (operands[2] == const1_rtx)
return \"add\\t%1, %1, %0\";
return \"sllx\\t%1, %2, %0\";
@@ -7344,10 +7336,6 @@
""
"*
{
- if (GET_CODE (operands[2]) == CONST_INT
- && (unsigned HOST_WIDE_INT) INTVAL (operands[2]) > 31)
- operands[2] = GEN_INT (INTVAL (operands[2]) & 0x1f);
-
return \"sra\\t%1, %2, %0\";
}"
[(set_attr "type" "shift")])
@@ -7405,10 +7393,6 @@
"TARGET_ARCH64"
"*
{
- if (GET_CODE (operands[2]) == CONST_INT
- && (unsigned HOST_WIDE_INT) INTVAL (operands[2]) > 63)
- operands[2] = GEN_INT (INTVAL (operands[2]) & 0x3f);
-
return \"srax\\t%1, %2, %0\";
}"
[(set_attr "type" "shift")])
@@ -7431,10 +7415,6 @@
""
"*
{
- if (GET_CODE (operands[2]) == CONST_INT
- && (unsigned HOST_WIDE_INT) INTVAL (operands[2]) > 31)
- operands[2] = GEN_INT (INTVAL (operands[2]) & 0x1f);
-
return \"srl\\t%1, %2, %0\";
}"
[(set_attr "type" "shift")])
@@ -7502,10 +7482,6 @@
"TARGET_ARCH64"
"*
{
- if (GET_CODE (operands[2]) == CONST_INT
- && (unsigned HOST_WIDE_INT) INTVAL (operands[2]) > 63)
- operands[2] = GEN_INT (INTVAL (operands[2]) & 0x3f);
-
return \"srlx\\t%1, %2, %0\";
}"
[(set_attr "type" "shift")])