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] Fix SVE testsuite failures for ILP32 (PR 83846)
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
aarch64
/
tst_5.c
blob
0de40a6c47a7d63c1b7a81aeba438a096c0041b8
1
/* { dg-do compile } */
2
/* { dg-options "-O2" } */
3
4
int
5
f255
(
int
x
)
6
{
7
if
(
x
&
255
)
8
return
1
;
9
return
x
;
10
}
11
12
int
13
f65535
(
int
x
)
14
{
15
if
(
x
&
65535
)
16
return
1
;
17
return
x
;
18
}
19
20
/* { dg-final { scan-assembler "tst\t(x|w)\[0-9\]+,\[ \t\]*255" } } */
21
/* { dg-final { scan-assembler "tst\t(x|w)\[0-9\]+,\[ \t\]*65535" } } */