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
[AArch64] PR rtl-optimization/68796: Add patterns for QImode and HImode comparison...
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
aarch64
/
tst_6.c
blob
f15ec114c391fed79cc43b7740fde83fb3d4ea53
1
/* { dg-do compile } */
2
/* { dg-options "-O2" } */
3
4
int
5
foo
(
long
x
)
6
{
7
return
((
short
)
x
!=
0
) ?
x
:
1
;
8
}
9
10
/* { dg-final { scan-assembler "tst\t(x|w)\[0-9\]+,\[ \t\]*65535" } } */