repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* gcc.target/i386/pr70021.c: Add -mtune=skylake.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
cmov8.c
blob
2d95c25da0f6edd3854fcd0a0b91e7eaed7ffb00
1
/* PR target/36936 */
2
/* { dg-do compile } */
3
/* { dg-require-effective-target ia32 } */
4
/* { dg-options "-O2 -march=i686" } */
5
/* { dg-final { scan-assembler "cmov\[^8\]" } } */
6
7
int
8
foo
(
int
x
)
9
{
10
if
(
x
<
0
)
11
x
=
1
;
12
return
x
;
13
}