repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Sync usage with man page.
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
gcc.target
/
mips
/
rsqrt-3.c
blob
76cee835eb6d17ba6387c04c910bb419396c99fd
1
/* { dg-do compile } */
2
/* { dg-mips-options "-O2 -mips4 -mhard-float" } */
3
/* { dg-final { scan-assembler-not "rsqrt.d" } } */
4
/* { dg-final { scan-assembler-not "rsqrt.s" } } */
5
6
extern
double
sqrt
(
double
);
7
extern
float
sqrtf
(
float
);
8
9
double
foo
(
double
x
)
10
{
11
return
1.0
/
sqrt
(
x
);
12
}
13
14
double
bar
(
double
x
)
15
{
16
return
sqrt
(
1.0
/
x
);
17
}
18
19
float
foof
(
float
x
)
20
{
21
return
1.0
f
/
sqrtf
(
x
);
22
}
23
24
float
barf
(
float
x
)
25
{
26
return
sqrtf
(
1.0
f
/
x
);
27
}