forked from gnuradio/gnuradio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
nco_results
48 lines (37 loc) · 1.87 KB
/
nco_results
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
================================================================
These are on a 1.4 GHz Pentium M using g++ 3.4.1
================================================================
Default compiler options -O2
nop loop: cpu: 0.015 steps/sec: 6.668e+08
native sine: cpu: 0.900 steps/sec: 1.111e+07
fxpt sine: cpu: 0.281 steps/sec: 3.559e+07
native sin/cos: cpu: 1.138 steps/sec: 8.789e+06
fxpt sin/cos: cpu: 0.550 steps/sec: 1.818e+07
-O2 -march=pentium-m -fomit-frame-pointer
nop loop: cpu: 0.015 steps/sec: 6.668e+08
native sine: cpu: 0.903 steps/sec: 1.108e+07
fxpt sine: cpu: 0.271 steps/sec: 3.691e+07
native sin/cos: cpu: 1.092 steps/sec: 9.159e+06
fxpt sin/cos: cpu: 0.542 steps/sec: 1.845e+07
Inlined fxpt::sin & cos
-O2 -march=pentium-m -fomit-frame-pointer
nop loop: cpu: 0.015 steps/sec: 6.668e+08
native sine: cpu: 0.904 steps/sec: 1.106e+07
fxpt sine: cpu: 0.187 steps/sec: 5.348e+07
native sin/cos: cpu: 1.091 steps/sec: 9.167e+06
fxpt sin/cos: cpu: 0.373 steps/sec: 2.681e+07
================================================================
These are on a 1.5 GHz Athon MP 1800+
================================================================
Default compiler options: -O2
nop loop: cpu: 0.013 steps/sec: 7.693e+08
native sine: cpu: 0.733 steps/sec: 1.364e+07
fxpt sine: cpu: 0.210 steps/sec: 4.763e+07
native sin/cos: cpu: 1.183 steps/sec: 8.454e+06
fxpt sin/cos: cpu: 0.420 steps/sec: 2.381e+07
-O2 -fomit-frame-pointer -march=athlon-mp
nop loop: cpu: 0.013 steps/sec: 7.693e+08
native sine: cpu: 0.679 steps/sec: 1.473e+07
fxpt sine: cpu: 0.200 steps/sec: 5.001e+07
native sin/cos: cpu: 1.147 steps/sec: 8.720e+06
fxpt sin/cos: cpu: 0.444 steps/sec: 2.253e+07