diff options
| author | davem <davem@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-05-06 21:31:56 +0000 |
|---|---|---|
| committer | davem <davem@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-05-06 21:31:56 +0000 |
| commit | 4c5fc395adb15cc96f2b746cb32f52df5a1b93fb (patch) | |
| tree | 4b7f37a88441ee490cc2a9f23431a7745f785077 | |
| parent | 02bff180801515dfb155759bcd38179dec8914bf (diff) | |
| download | ppe42-gcc-4c5fc395adb15cc96f2b746cb32f52df5a1b93fb.tar.gz ppe42-gcc-4c5fc395adb15cc96f2b746cb32f52df5a1b93fb.zip | |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53238 138bc75d-0d04-0410-961f-82ee72b054a4
| -rw-r--r-- | gcc/config/sparc/sparc.md | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/gcc/config/sparc/sparc.md b/gcc/config/sparc/sparc.md index 2af9153a0c3..98fd14e6207 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")]) |

