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
Handle Octeon 3 not supporting MIPS paired-single instructions.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
mips
/
smartmips-ror-2.c
blob
2d7c5dcd63f4be58331dd7f687dac8b83e87e847
1
/* { dg-do compile } */
2
/* { dg-options "-msmartmips" } */
3
4
NOMIPS16
int
rotate_right
(
unsigned
a
,
unsigned
s
)
5
{
6
return
(
a
>>
s
) | (
a
<< (
32
-
s
));
7
}
8
/* { dg-final { scan-assembler "\tror\t" } } */