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
testsuite: Add dg-do run to even more tests
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
movbe-4.c
blob
966bdf52ba05205a1370dcc133514f17398ccf56
1
/* { dg-do compile } */
2
/* { dg-options "-O2" } */
3
4
#pragma GCC target (
"movbe"
)
5
6
extern
int
x
;
7
8
void
9
foo
(
int
i
)
10
{
11
x
=
__builtin_bswap32
(
i
);
12
}
13
14
int
15
bar
()
16
{
17
return
__builtin_bswap32
(
x
);
18
}
19
20
/* { dg-final { scan-assembler-times "movbel\[ \t\]" 2 } } */