smallpt_with_optimizations See the difference between the default (and wrong) PTS compilation and an optimized build No Optimization: Processor: AMD Phenom II X6 1090T @ 3.60GHz (6 Cores), Motherboard: Gigabyte GA-MA770-DS3, Chipset: ATI RX780/RX790 + SB7x0/SB8x0/SB9x0, Memory: 7680MB, Disk: 500GB SAMSUNG HD501LJ + 1000GB Seagate ST31000520AS, Graphics: AMD Radeon HD 6800 1024MB (790/1000MHz), Audio: Realtek ALC888, Monitor: CMC 22 W OS: Ubuntu 11.04, Kernel: 2.6.38-12-generic (x86_64), Desktop: KDE 4.7.2, Display Server: X Server 1.10.1, Display Driver: fglrx 8.84.60, OpenGL: 4.1.10665, Compiler: GCC 4.5.2 + Open64 4.2.5.2, File-System: ext2/ext3, Screen Resolution: 1680x1050 -O3 -march=amdfam10: Processor: AMD Phenom II X6 1090T @ 3.60GHz (6 Cores), Motherboard: Gigabyte GA-MA770-DS3, Chipset: ATI RX780/RX790 + SB7x0/SB8x0/SB9x0, Memory: 7680MB, Disk: 500GB SAMSUNG HD501LJ + 1000GB Seagate ST31000520AS, Graphics: AMD Radeon HD 6800 1024MB (790/1000MHz), Audio: Realtek ALC888, Monitor: CMC 22 W OS: Ubuntu 11.04, Kernel: 2.6.38-12-generic (x86_64), Desktop: KDE 4.7.2, Display Server: X Server 1.10.1, Display Driver: fglrx 8.84.60, OpenGL: 4.1.10665, Compiler: GCC 4.5.2 + Open64 4.2.5.2, File-System: ext2/ext3, Screen Resolution: 1680x1050 Smallpt 1.0 Global Illumination Renderer; 100 Samples Seconds < Lower Is Better No Optimization ..... 116 |==================================================== -O3 -march=amdfam10 . 34 |===============