aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Van Artsdalen <jrv@gnu.org>1992-11-09 02:36:53 +0000
committerJames Van Artsdalen <jrv@gnu.org>1992-11-09 02:36:53 +0000
commitd009991095b0fbfc2703b1899717926fb89cd504 (patch)
treeaf7f73dfec2b732ffdf76b64fe0be0336df0b1f5
parent3e398742483dada614a391ec53cc1432f57ef3a9 (diff)
downloadgcc-d009991095b0fbfc2703b1899717926fb89cd504.zip
gcc-d009991095b0fbfc2703b1899717926fb89cd504.tar.gz
gcc-d009991095b0fbfc2703b1899717926fb89cd504.tar.bz2
(movstrsi): mask move count after signed shift.
From-SVN: r2719
-rw-r--r--gcc/config/i386/i386.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md
index 9bc6dd9..bc22370 100644
--- a/gcc/config/i386/i386.md
+++ b/gcc/config/i386/i386.md
@@ -3955,7 +3955,7 @@
{
if (INTVAL (operands[2]) & ~0x03)
{
- xops[0] = GEN_INT (INTVAL (operands[2]) >> 2);
+ xops[0] = GEN_INT ((INTVAL (operands[2]) >> 2) & 0x3fffffff);
xops[1] = operands[4];
output_asm_insn (AS2 (mov%L1,%0,%1), xops);