Announcement

Collapse
No announcement yet.

Setup for Compiler Options Benchmark

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Setup for Compiler Options Benchmark

    Hi!
    I would like to reproduce tests for -O2/-O3/-Ofast and -march options similar to this
    However options passing via CFLAGS/CXXFLAGS produces strange results.
    Code:
    $CXXFLAGS="-Ofast -march=znver1" CFLAGS="-Ofast -march=znver1" phoronix-test-suite force-install john-the-ripper
    And in install.log
    Code:
    ...
    cc -DAC_BUILT -mavx2 -DJOHN_AVX2 -c -m64 -O3 -march=native -Ofast -march=znver1
    ...
    Same with another installation
    Code:
    $CXXFLAGS="-Ofast -march=znver1" CFLAGS="-Ofast -march=znver1" phoronix-test-suite force-install coremark
    Code:
    gcc -O2 -Ilinux64 -I. -DFLAGS_STR=\""-O2 -Ofast -march=znver1 ...
    PTS 8.8.1, Ubuntu 19.04
Working...
X