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
/
div-9.c
blob
294cc7f24ac76890e1aeaa7994a5d78cd3ea59a6
1
/* { dg-options "-mgp64 (-mips16)" } */
2
/* { dg-final { scan-assembler "\tdiv\t" } } */
3
/* { dg-final { scan-assembler "\tmflo\t" } } */
4
/* { dg-final { scan-assembler-not "\tmfhi\t" } } */
5
6
typedef
int
SI
__attribute__
((
mode
(
SI
)));
7
8
MIPS16 SI
9
f
(
SI x
,
SI y
)
10
{
11
return
x
/
y
;
12
}