OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2011-08-19 Andrew Stubbs <ams@codesourcery.com>
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
divmod-3.c
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -m8bit-idiv" } */
3
4
int
5
foo (int x, int y)
6
{
7
return x % y;
8
}
9
10
/* { dg-final { scan-assembler-times "divb" 1 } } */
11
/* { dg-final { scan-assembler-times "idivl" 1 } } */