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
PR inline-asm/84742
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
movbe-3.c
blob
e02a3016ef1f68bdb4a41346935831893654f7de
1
/* { dg-do compile } */
2
/* { dg-options "-O -mmovbe" } */
3
4
struct
__attribute__
((
scalar_storage_order
(
"big-endian"
)))
S
5
{
6
int
i
;
7
};
8
9
int
get
(
struct
S
*
s
)
10
{
11
return
s
->
i
;
12
}
13
14
void
set
(
struct
S
*
s
,
int
i
)
15
{
16
s
->
i
=
i
;
17
}
18
19
/* { dg-final { scan-assembler-times "movbel\[ \t\]" 2 } } */