Commit 40042849 by Uros Bizjak

re PR target/57264 (cld not emitted when string instructions used, and '-mcld' on command line)

	PR target/57264
	* gcc.target/i386/pr57264.c: New test.

From-SVN: r198839
parent 4264bfaa
2013-05-13 Uros Bizjak <ubizjak@gmail.com>
PR target/57264
* gcc.target/i386/pr57264.c: New test.
2013-05-13 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/vector-shift-2.c: Add -O to dg-options.
2013-05-13 Greta Yorsh <Greta.Yorsh@arm.com>
* gcc.dg/tree-ssa/forwprop-26.c: Add -fno-short-enums
to dg-options.
* gcc.dg/tree-ssa/forwprop-26.c: Add -fno-short-enums to dg-options.
2013-05-13 Jakub Jelinek <jakub@redhat.com>
......@@ -13,12 +17,10 @@
PR tree-optimization/57157
* c-c++-common/rotate-1.c: Add 32 tests with +.
* c-c++-common/rotate-1a.c: Adjust.
* c-c++-common/rotate-2.c: Add 32 tests with +, expect
only 48 rotates.
* c-c++-common/rotate-2.c: Add 32 tests with +, expect only 48 rotates.
* c-c++-common/rotate-2b.c: New test.
* c-c++-common/rotate-3.c: Add 32 tests with +.
* c-c++-common/rotate-4.c: Add 32 tests with +, expect
only 48 rotates.
* c-c++-common/rotate-4.c: Add 32 tests with +, expect only 48 rotates.
* c-c++-common/rotate-4b.c: New test.
* c-c++-common/rotate-5.c: New test.
......
/* { dg-do compile } */
/* { dg-options "-O1 -mcld" } */
void test (int x, int **pp)
{
while (x)
{
int *ip = *pp;
int *op = *pp;
while (*ip)
{
int v = *ip++;
*op++ = v + 1;
}
}
}
/* { dg-final { scan-assembler-not "stosl" } } */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment