From: James Van Artsdalen Date: Mon, 9 Nov 1992 02:36:53 +0000 (+0000) Subject: (movstrsi): mask move count after signed shift. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d009991095b0fbfc2703b1899717926fb89cd504;p=gcc.git (movstrsi): mask move count after signed shift. From-SVN: r2719 --- diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md index 9bc6dd95a60..bc223703f2a 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);