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
[testsuite] require sqrt_insn effective target where needed
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
powerpc
/
20050830-1.c
blob
4a8f71a98717f26f93a80c7d2f5eb91dd35abcde
1
/* Make sure the doloop optimization is done for this loop. */
2
/* { dg-do compile { target powerpc*-*-* } } */
3
/* { dg-options "-O2" } */
4
/* { dg-final { scan-assembler "bdn" } } */
5
extern
int
a
[];
6
int
foo
(
int
w
) {
7
int
n
=
w
;
8
while
(
n
>=
512
)
9
{
10
a
[
n
] =
42
;
11
n
-=
256
;
12
}
13
}