]> gcc.gnu.org Git - gcc.git/commitdiff
(movstrsi): mask move count after signed shift.
authorJames Van Artsdalen <jrv@gnu.org>
Mon, 9 Nov 1992 02:36:53 +0000 (02:36 +0000)
committerJames Van Artsdalen <jrv@gnu.org>
Mon, 9 Nov 1992 02:36:53 +0000 (02:36 +0000)
From-SVN: r2719

gcc/config/i386/i386.md

index 9bc6dd95a60ef2bece9d830b15e27d7a1c233c95..bc223703f2a1c0b3b2a46d75a2b3156b6023d6e1 100644 (file)
     {
       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);
This page took 0.090967 seconds and 5 git commands to generate.