mirror of
https://github.com/golang/go
synced 2024-11-22 00:24:41 -07:00
add info about Sqrt instruction
couple of fixes to timing.sh R=rsc DELTA=10 (5 added, 0 deleted, 5 changed) OCL=32742 CL=32756
This commit is contained in:
parent
dbe004efe4
commit
abaf604648
@ -34,3 +34,7 @@ nbody 50000000
|
||||
gccgo -O2 nbody.go 118.55u 0.02s 120.32r
|
||||
gc nbody 100.84u 0.00s 100.85r
|
||||
gc_B nbody 103.33u 0.00s 103.39r
|
||||
[
|
||||
hacked Sqrt in assembler
|
||||
gc nbody 31.97u 0.00s 32.01r
|
||||
]
|
||||
|
@ -30,12 +30,13 @@ fasta() {
|
||||
}
|
||||
|
||||
revcomp() {
|
||||
6.out -n 25000000 > x
|
||||
gcc -O2 fasta.c
|
||||
a.out 25000000 > x
|
||||
echo 'reverse-complement < output-of-fasta-25000000'
|
||||
run 'gcc -O2 reverse-complement.c' a.out 25000000 < x
|
||||
run 'gccgo -O2 reverse-complement.go' a.out -n 25000000 < x
|
||||
run 'gc reverse-complement' $O.out -n 25000000 < x
|
||||
run 'gc_B reverse-complement' $O.out -n 25000000 < x
|
||||
run 'gcc -O2 reverse-complement.c' a.out < x
|
||||
run 'gccgo -O2 reverse-complement.go' a.out < x
|
||||
run 'gc reverse-complement' $O.out < x
|
||||
run 'gc_B reverse-complement' $O.out < x
|
||||
rm x
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user