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
Daily bump.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
recip-sqrtf.c
blob
859d2180a39af452dc0faaabf306523df7aabdec
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -ffast-math -msse -mfpmath=sse -mrecip" } */
3
4
extern
float
sqrtf
(
float
);
5
6
float
t1
(
float
a
,
float
b
)
7
{
8
return
a
/
sqrtf
(
b
);
9
}
10
11
float
t2
(
float
a
,
float
b
)
12
{
13
return
sqrtf
(
a
/
b
);
14
}
15
16
float
t3
(
float
a
)
17
{
18
return
sqrtf
(
a
);
19
}
20
21
/* { dg-final { scan-assembler-times "rsqrtss" 3 } } */