+2017-11-21 Uros Bizjak <ubizjak@gmail.com>
+
+ * gcc.target/i386/movbe-1.c: Update scan string for movbe
+ with integer suffix.
+ * gcc.target/i386/movbe-2.c: Ditto.
+ * gcc.target/i386/movbe-3.c: Ditto.
+ * gcc.target/i386/movbe-4.c: Ditto.
+ * gcc.target/i386/movbe-5.c: Ditto.
+
2017-11-21 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/83020
return __builtin_bswap32 (x);
}
-/* { dg-final { scan-assembler-times "movbe\[ \t\]" 2 } } */
+/* { dg-final { scan-assembler-times "movbel\[ \t\]" 2 } } */
return __builtin_bswap64 (x);
}
-/* { dg-final { scan-assembler-times "movbe\[ \t\]" 4 { target ia32 } } } */
-/* { dg-final { scan-assembler-times "movbe\[ \t\]" 2 { target { ! ia32 } } } } */
+/* { dg-final { scan-assembler-times "movbel\[ \t\]" 4 { target ia32 } } } */
+/* { dg-final { scan-assembler-times "movbeq\[ \t\]" 2 { target { ! ia32 } } } } */
s->i = i;
}
-/* { dg-final { scan-assembler-times "movbe\[ \t\]" 2 } } */
+/* { dg-final { scan-assembler-times "movbel\[ \t\]" 2 } } */
return __builtin_bswap32 (x);
}
-/* { dg-final { scan-assembler-times "movbe\[ \t\]" 2 } } */
+/* { dg-final { scan-assembler-times "movbel\[ \t\]" 2 } } */
/* PR tree-optimization/78821 */
/* { dg-do compile } */
/* { dg-options "-O2 -mmovbe" } */
-/* { dg-final { scan-assembler-times "movbe\[ \t\]" 2 } } */
unsigned short
foo (unsigned short *buf)
buf[0] = data >> 8;
buf[1] = data;
}
+
+/* { dg-final { scan-assembler-times "movbew\[ \t\]" 2 } } */