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] SVE tests
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
aarch64
/
neg_abs_1.c
blob
cb2a387088cc5874cd5e95f0c3ea6750537db9c1
1
/* { dg-do compile } */
2
/* { dg-options "-save-temps -O2" } */
3
4
int
5
f1
(
int
x
)
6
{
7
return
x
<
0
?
x
: -
x
;
8
}
9
10
long long
11
f2
(
long long
x
)
12
{
13
return
x
<
0
?
x
: -
x
;
14
}
15
16
/* { dg-final { scan-assembler-not "\tneg\tw\[0-9\]*.*" } } */
17
/* { dg-final { scan-assembler-not "\tneg\tx\[0-9\]*.*" } } */