[Compbench-devel] CompBenchmarks++/CBM-PI/t/lib compilers.pl, 1.5, 1.6
Brought to you by:
xfred
From: Frederic T. <xf...@us...> - 2007-04-17 20:07:29
|
Update of /cvsroot/compbench/CompBenchmarks++/CBM-PI/t/lib In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv29606 Modified Files: compilers.pl Log Message: GCC 3.1.x TS added. Index: compilers.pl =================================================================== RCS file: /cvsroot/compbench/CompBenchmarks++/CBM-PI/t/lib/compilers.pl,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** compilers.pl 17 Apr 2007 17:35:13 -0000 1.5 --- compilers.pl 17 Apr 2007 20:07:25 -0000 1.6 *************** *** 14,18 **** # * or when related options get modified [search for TASKOPTS] ! # Adding or managing compilers [ TASKSCOMP ] # # Hash associates a pseudo-compiler with the nearest CompBenchmarks supported --- 14,18 ---- # * or when related options get modified [search for TASKOPTS] ! # Adding or managing compilers [ TASKCOMP ] # # Hash associates a pseudo-compiler with the nearest CompBenchmarks supported *************** *** 23,26 **** --- 23,30 ---- # queried for its version. # + # * Creates directory tree in $compiler_id/$compiler_branch (see bellow), + # and related files; description.xml is mandatory. + # For a complete integration, modify configure.in and Makefile.am . + # # * Next fill up associative hash. The nearset supported branch is of the # form $compiler_id-$compiler_branch, where $compiler_id is as is one *************** *** 41,45 **** 'compiler-fake-g++-2.95.3' => 'g++-2.95.x', 'compiler-fake-gcc-3.0.4' => 'gcc-3.0.x', ! 'compiler-fake-g++-3.0.4' => 'g++-3.0.x' ); --- 45,51 ---- 'compiler-fake-g++-2.95.3' => 'g++-2.95.x', 'compiler-fake-gcc-3.0.4' => 'gcc-3.0.x', ! 'compiler-fake-g++-3.0.4' => 'g++-3.0.x', ! 'compiler-fake-gcc-3.1.1' => 'gcc-3.1.x', ! 'compiler-fake-g++-3.1.1' => 'g++-3.1.x', ); *************** *** 49,53 **** 'compiler-fake-g++-2.95.3', 'compiler-fake-gcc-3.0.4', ! 'compiler-fake-g++-3.0.4' ); --- 55,61 ---- 'compiler-fake-g++-2.95.3', 'compiler-fake-gcc-3.0.4', ! 'compiler-fake-g++-3.0.4', ! 'compiler-fake-gcc-3.1.1', ! 'compiler-fake-g++-3.1.1' ); *************** *** 109,116 **** my %COMPILER_FAKE_OPTIONS_GXX_30x = ( - %COMPILER_FAKE_OPTIONS_GXX_295x, 'ssa' => ['implied-by O2 O3'], 'dce' => ['implied-by O2 O3', ! 'option-require ssa '], 'no-align-functions' => ['implied-by Os'], 'align-functions' => ['option-want alignment-disabled 0', --- 117,123 ---- my %COMPILER_FAKE_OPTIONS_GXX_30x = ( 'ssa' => ['implied-by O2 O3'], 'dce' => ['implied-by O2 O3', ! 'option-require ssa'], 'no-align-functions' => ['implied-by Os'], 'align-functions' => ['option-want alignment-disabled 0', *************** *** 137,146 **** ); our %COMPILER_FAKE_OPTIONS = ( 'gcc-2.95.x' => \%COMPILER_FAKE_OPTIONS_GCC_295x, 'g++-2.95.x' => \%COMPILER_FAKE_OPTIONS_GPP_295x, ! 'gcc-3.0.x' => \%COMPILER_FAKE_OPTIONS_GXX_30x, ! 'g++-3.0.x' => \%COMPILER_FAKE_OPTIONS_GXX_30x ); --- 144,193 ---- ); + my %COMPILER_FAKE_OPTIONS_GCC_30x = + ( + %COMPILER_FAKE_OPTIONS_GXX_295x, + %COMPILER_FAKE_OPTIONS_GXX_30x, + ); + + my %COMPILER_FAKE_OPTIONS_GPP_30x = + ( + %COMPILER_FAKE_OPTIONS_GXX_295x, + %COMPILER_FAKE_OPTIONS_GXX_30x, + ); + + my %COMPILER_FAKE_OPTIONS_GXX_31x = + ( + %COMPILER_FAKE_OPTIONS_GXX_295x, + %COMPILER_FAKE_OPTIONS_GXX_30x, + 'optimize-sibling-calls' => ['nop'], + 'prefetch-loop-arrays' => ['implied-by O2 O3'], + 'rerun-loop-opt' => ['implied-by O2 O3'], + 'gcse-lm' => ['implied-by O2 O3'], + 'gcse-sm' => ['implied-by O2 O3'], + 'ssa-ccp' => ['implied-by O2 O3', + 'option-require ssa'], + 'ssa-dce' => ['implied-by O2 O3', + 'option-require ssa'], + 'fpmath-387' => ['option-exclusive kb-option-fpu'], + 'fpmath-sse' => ['option-exclusive kb-option-fpu'], + 'fpmath-sse-387' => ['option-exclusive kb-option-fpu'], + 'no-double-alignment' => ['option-want alignment-disabled 0', + 'option-exclusive double-alignment'], + 'double-alignment' => ['option-want alignment-disabled 1', + 'option-exclusive double-alignment'], + 'mmx' => ['nop'], + 'sse' => ['nop'], + 'sse2' => ['nop'], + '3dnow' => ['nop'] + ); + our %COMPILER_FAKE_OPTIONS = ( 'gcc-2.95.x' => \%COMPILER_FAKE_OPTIONS_GCC_295x, 'g++-2.95.x' => \%COMPILER_FAKE_OPTIONS_GPP_295x, ! 'gcc-3.0.x' => \%COMPILER_FAKE_OPTIONS_GCC_30x, ! 'g++-3.0.x' => \%COMPILER_FAKE_OPTIONS_GPP_30x, ! 'gcc-3.1.x' => \%COMPILER_FAKE_OPTIONS_GXX_31x, ! 'g++-3.1.x' => \%COMPILER_FAKE_OPTIONS_GXX_31x ); |