Commit d2d58b10 by Eric Botcazou

Add missing file

From-SVN: r240972
parent ff7e7ee0
/* { dg-do compile } */
/* { dg-require-effective-target lp64 } */
/* { dg-options "-O1 -msubxc" } */
long foo2 (long a, long i)
{
return a - (i != 0);
}
long foo4 (long a, long b, long i)
{
return a - b - (i != 0);
}
long foo5 (long a, long i)
{
return a + (i == 0);
}
/* { dg-final { scan-assembler-times "subxc\t%" 3 } } */
/* { dg-final { scan-assembler-times "cmp\t%" 3 } } */
/* { dg-final { scan-assembler-not "add\t%" } } */
/* { dg-final { scan-assembler-not "sub\t%" } } */
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