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
This commit is contained in:
Uros Bizjak 2013-05-13 19:37:48 +02:00
parent 4264bfaaab
commit 40042849ed
2 changed files with 26 additions and 6 deletions

View file

@ -1,11 +1,15 @@
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.

View file

@ -0,0 +1,18 @@
/* { 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" } } */