Code: Select all

```
##########################################
Single Precision C Whetstone Benchmark
Calibrate
0.15 Seconds 1 Passes (x 100)
0.75 Seconds 5 Passes (x 100)
3.76 Seconds 25 Passes (x 100)
Use 66 passes (x 100)
Single Precision C/C++ Whetstone Benchmark
Loop content Result MFLOPS MOPS Seconds
N1 floating point -1.12475013732910156 48.000 0.026
N2 floating point -1.12274742126464844 36.807 0.241
N3 if then else 1.00000000000000000 0.000 0.000
N4 fixed point 12.00000000000000000 205.842 0.101
N5 sin,cos etc. 0.49909299612045288 0.923 5.947
N6 floating point 0.99999982118606567 33.873 1.051
N7 assignments 3.00000000000000000 47.831 0.255
N8 exp,sqrt etc. 0.75110614299774170 1.069 2.296
MWIPS 66.550 9.917
```

-O2

Code: Select all

```
##########################################
Single Precision C Whetstone Benchmark
Calibrate
0.15 Seconds 1 Passes (x 100)
0.77 Seconds 5 Passes (x 100)
3.85 Seconds 25 Passes (x 100)
Use 64 passes (x 100)
Single Precision C/C++ Whetstone Benchmark
Loop content Result MFLOPS MOPS Seconds
N1 floating point -1.12475013732910156 46.545 0.026
N2 floating point -1.12274742126464844 33.340 0.258
N3 if then else 1.00000000000000000 96.000 0.069
N4 fixed point 12.00000000000000000 180.001 0.112
N5 sin,cos etc. 0.49909299612045288 0.915 5.817
N6 floating point 0.99999982118606567 33.878 1.019
N7 assignments 3.00000000000000000 41.210 0.287
N8 exp,sqrt etc. 0.75110614299774170 1.051 2.265
MWIPS 64.952 9.853
```

Code: Select all

```
##########################################
Single Precision C Whetstone Benchmark
Calibrate
0.22 Seconds 1 Passes (x 100)
1.09 Seconds 5 Passes (x 100)
5.44 Seconds 25 Passes (x 100)
Use 45 passes (x 100)
Single Precision C/C++ Whetstone Benchmark
Loop content Result MFLOPS MOPS Seconds
N1 floating point -1.12475013732910156 45.236 0.019
N2 floating point -1.12274742126464844 33.231 0.182
N3 if then else 1.00000000000000000 48.015 0.097
N4 fixed point 12.00000000000000000 144.642 0.098
N5 sin,cos etc. 0.49909299612045288 0.905 4.138
N6 floating point 0.99999982118606567 9.594 2.530
N7 assignments 3.00000000000000000 8.468 0.982
N8 exp,sqrt etc. 0.75110614299774170 0.954 1.754
MWIPS 45.918 9.800
```