CPUをアーキテクチャ指定による最適化の具合を調べていたんだけど、最近のgcc*1にはprofiled optimizationの機能が入っていることに気付いたのでこちらを測定してみた。 測定に使ったベンチマークはSciMark2.0のANSI C版。コンパイラはDebian sid/amd64のgcc version 4.2.1 20070516 (prerelease) (Debian 4.2-20070516-1)。 通常にコンパイルしたバイナリ ** ** ** SciMark2 Numeric Benchmark, see http://math.nist.gov/scimark ** ** for details. (Results can be submitted to pozo@nist.gov) ** ** ** Using 2.00 seconds min time p