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
2018-05-17 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
sh
/
sh2a-movrt.c
blob
dd2abc2a4278c7926a10eb71b8ff1ec47dd99f0a
1
/* Testcase to check generation of a SH2A specific instruction for
2
'MOVRT Rn'. */
3
/* { dg-do compile { target { sh2a } } } */
4
/* { dg-options "-O1" } */
5
/* { dg-final { scan-assembler "movrt" } } */
6
7
int
8
foo
(
void
)
9
{
10
int
a
,
b
,
g
,
stop
;
11
if
(
stop
= ((
a
+
b
) %
2
!=
g
))
12
;
13
return
stop
;
14
}