aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/pr101044.c
blob: 03df86debb80e1c2a3d248e497a47e5332ee86a4 (plain)
1
2
3
4
5
6
7
8
9
/* PR target/101044 */
/* { dg-do compile } */
/* { dg-options "-O2 -msse2 -mno-sse3 -mtune=generic" } */
/* { dg-final { scan-assembler-times "neg" 1 } } */

int foo (int x)
{
  return (x < 0) ? x : -x;
}