compbench-devel Mailing List for CompBenchmarks (Page 15)
Brought to you by:
xfred
You can subscribe to this list here.
2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(48) |
Oct
(51) |
Nov
(66) |
Dec
(83) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2007 |
Jan
(242) |
Feb
(56) |
Mar
(95) |
Apr
(120) |
May
(127) |
Jun
(32) |
Jul
(10) |
Aug
(55) |
Sep
(114) |
Oct
(3) |
Nov
|
Dec
|
From: Frederic T. <xf...@us...> - 2007-04-18 16:29:26
|
Update of /cvsroot/compbench/CompBenchmarks++/CBM-PI/t In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv694 Modified Files: 05-KB-Option-Logics.pl Log Message: Some tests skipped if no options have been defined for a compiler (e.g. tcc at this time). Index: 05-KB-Option-Logics.pl =================================================================== RCS file: /cvsroot/compbench/CompBenchmarks++/CBM-PI/t/05-KB-Option-Logics.pl,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** 05-KB-Option-Logics.pl 17 Apr 2007 20:10:11 -0000 1.2 --- 05-KB-Option-Logics.pl 18 Apr 2007 16:29:21 -0000 1.3 *************** *** 292,297 **** my $i; my $o; my $lit_first = $C->OptionDescriptions()->Description($first_option)->Option(); ! foreach $o (keys %option_want) { foreach $i (keys %{$option_want{$o}}) { my $l0 = compiler_option_litteral($C, $o); --- 292,302 ---- my $i; my $o; + my @ow = keys %option_want; + + if (!(@ow+0)) { + next; + } my $lit_first = $C->OptionDescriptions()->Description($first_option)->Option(); ! foreach $o (@ow) { foreach $i (keys %{$option_want{$o}}) { my $l0 = compiler_option_litteral($C, $o); |
From: Frederic T. <xf...@us...> - 2007-04-18 16:28:31
|
Update of /cvsroot/compbench/CompBenchmarks++/CBM-PI/t/lib In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv32757 Modified Files: compilers.pl Log Message: Interface parameters added. Index: compilers.pl =================================================================== RCS file: /cvsroot/compbench/CompBenchmarks++/CBM-PI/t/lib/compilers.pl,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** compilers.pl 17 Apr 2007 20:07:25 -0000 1.6 --- compilers.pl 18 Apr 2007 16:28:24 -0000 1.7 *************** *** 48,51 **** --- 48,52 ---- 'compiler-fake-gcc-3.1.1' => 'gcc-3.1.x', 'compiler-fake-g++-3.1.1' => 'g++-3.1.x', + 'compiler-fake-tcc-0.9.23' => 'tcc-0.9.x', ); *************** *** 57,63 **** 'compiler-fake-g++-3.0.4', 'compiler-fake-gcc-3.1.1', ! 'compiler-fake-g++-3.1.1' ); # Following hashs declare known options (in regard of CompBenchmarks XML # knowledge base). [TASKOPTS] --- 58,100 ---- 'compiler-fake-g++-3.0.4', 'compiler-fake-gcc-3.1.1', ! 'compiler-fake-g++-3.1.1', ! 'compiler-fake-tcc-0.9.23' ); + our %COMPILER_FAKE_INTERFACE_PARAMETERS = + ('compiler-fake-g++-4.1.1-13' => + {'language' => 'C++', + 'compiler' => 'g++', + 'compilerName' => 'g++ (GCC) 4.1.2 20060901 (prerelease) (Debian 4.1.1-13)', + 'compilerVersion' => '4.1.2 20060901 (prerelease)', + 'vanilla' => '4.1.2', + 'compatibility' => '3.1.x' + }, + 'compiler-fake-gcc-3.2.3-20-rh' => + {'language' => 'C', + 'compiler' => 'gcc', + 'compilerName' => 'gcc (GCC) 3.2.3 20030502 (Red Hat Linux 3.2.3-20)', + 'compilerVersion' => '3.2.3', + 'vanilla' => '3.2.3', + 'compatibility' => '3.1.x' + }, + 'compiler-fake-gcc-4.1.1-13' => + {'language' => 'C', + 'compiler' => 'gcc', + 'compilerName' => 'gcc (GCC) 4.1.2 20060901 (prerelease) (Debian 4.1.1-13)', + 'compilerVersion' => '4.1.2 20060901 (prerelease)', + 'vanilla' => '4.1.2', + 'compatibility' => '3.1.x' + }, + 'compiler-fake-tcc-0.9.23', + {'language' => 'C', + 'compiler' => 'tcc', + 'compilerName' => 'Tiny C Compiler tcc version 0.9.23', + 'compilerVersion' => 'tcc version 0.9.23', + 'vanilla' => '0.9.23', + 'compatibility' => '0.9.x' + } + ); + # Following hashs declare known options (in regard of CompBenchmarks XML # knowledge base). [TASKOPTS] |
From: Frederic T. <xf...@us...> - 2007-04-17 20:39:12
|
Update of /cvsroot/compbench/CompBenchmarks++/CBM-PI/t/reference In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv9387 Modified Files: Makefile.am Log Message: GCC 3.1.1 added. Index: Makefile.am =================================================================== RCS file: /cvsroot/compbench/CompBenchmarks++/CBM-PI/t/reference/Makefile.am,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** Makefile.am 17 Apr 2007 17:56:01 -0000 1.10 --- Makefile.am 17 Apr 2007 20:39:09 -0000 1.11 *************** *** 1,2 **** --- 1,10 ---- + # ----------------------------------------------------------------------------- + # $Id$ + # + # This is free software. + # For details, see the GNU Public License in the COPYING file, or + # Look http://www.fsf.org + # ----------------------------------------------------------------------------- + dist_noinst_DATA = CBMSystem-copy.data \ compiler-fake-g++-4.1.1-13 \ *************** *** 7,10 **** --- 15,20 ---- compiler-fake-gcc-3.0.4 \ compiler-fake-g++-3.0.4 \ + compiler-fake-gcc-3.1.1 \ + compiler-fake-g++-3.1.1 \ compiler-fake-tcc-0.9.23 \ compbenchmarks-0.xml compbenchmarks-1.xml \ |
From: Frederic T. <xf...@us...> - 2007-04-17 20:34:58
|
Update of /cvsroot/compbench/CompBenchmarks++/libcompbenchmarks/share/KB/tcc In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv7563 Added Files: Makefile.am Log Message: First import. --- NEW FILE: Makefile.am --- # ----------------------------------------------------------------------------- # $Id: Makefile.am,v 1.1 2007/04/17 20:34:52 xfred Exp $ # $Source: /cvsroot/compbench/CompBenchmarks++/libcompbenchmarks/share/KB/tcc/Makefile.am,v $ # # This is free software. # For details, see the GNU Public License in the COPYING file, or # Look http://www.fsf.org # ----------------------------------------------------------------------------- SUBDIRS = 0.9.x |
From: Frederic T. <xf...@us...> - 2007-04-17 20:34:44
|
Update of /cvsroot/compbench/CompBenchmarks++/libcompbenchmarks/share/KB/tcc/0.9.x In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv7549 Added Files: description.xml Makefile.am Log Message: First import. --- NEW FILE: description.xml --- <?xml version="1.0" ?> <!-- $Id: description.xml,v 1.1 2007/04/17 20:34:37 xfred Exp $ This is free software. For details, see the GNU Public License in the COPYING file, or Look http://www.fsf.org --> <options/> --- NEW FILE: Makefile.am --- # ----------------------------------------------------------------------------- # $Id: Makefile.am,v 1.1 2007/04/17 20:34:37 xfred Exp $ # $Source: /cvsroot/compbench/CompBenchmarks++/libcompbenchmarks/share/KB/tcc/0.9.x/Makefile.am,v $ # # This is free software. # For details, see the GNU Public License in the COPYING file, or # Look http://www.fsf.org # ----------------------------------------------------------------------------- data_DATA = description.xml datarootdir=@datarootdir@/compbenchmarks/@VERSION@/KB/tcc/0.9.x EXTRA_DIST = $(data_DATA) |
From: Frederic T. <xf...@us...> - 2007-04-17 20:32:22
|
Update of /cvsroot/compbench/CompBenchmarks++/libcompbenchmarks/share/KB/tcc/0.9.x In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv6800/0.9.x Log Message: Directory /cvsroot/compbench/CompBenchmarks++/libcompbenchmarks/share/KB/tcc/0.9.x added to the repository |
From: Frederic T. <xf...@us...> - 2007-04-17 20:30:32
|
Update of /cvsroot/compbench/CompBenchmarks++/libcompbenchmarks/share/KB/tcc In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv6048/tcc Log Message: Directory /cvsroot/compbench/CompBenchmarks++/libcompbenchmarks/share/KB/tcc added to the repository |
From: Frederic T. <xf...@us...> - 2007-04-17 20:14:00
|
Update of /cvsroot/compbench/CompBenchmarks++/CBM-PI/t/lib In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv32080 Modified Files: Makefile.am Log Message: Banner updated. Index: Makefile.am =================================================================== RCS file: /cvsroot/compbench/CompBenchmarks++/CBM-PI/t/lib/Makefile.am,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Makefile.am 11 Jan 2007 18:07:15 -0000 1.2 --- Makefile.am 17 Apr 2007 20:13:57 -0000 1.3 *************** *** 1 **** --- 1,9 ---- + # ----------------------------------------------------------------------------- + # $Id$ + # + # This is free software. + # For details, see the GNU Public License in the COPYING file, or + # Look http://www.fsf.org + # ----------------------------------------------------------------------------- + dist_noinst_DATA = libtest.pl \ No newline at end of file |
From: Frederic T. <xf...@us...> - 2007-04-17 20:12:39
|
Update of /cvsroot/compbench/CompBenchmarks++/CBM-PI/t In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv31667 Modified Files: Makefile.am Log Message: CEL obsoleted. Logic is integrated within descriptions. Index: Makefile.am =================================================================== RCS file: /cvsroot/compbench/CompBenchmarks++/CBM-PI/t/Makefile.am,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** Makefile.am 22 Mar 2007 19:22:14 -0000 1.13 --- Makefile.am 17 Apr 2007 20:12:32 -0000 1.14 *************** *** 1,2 **** --- 1,10 ---- + # ----------------------------------------------------------------------------- + # $Id$ + # + # This is free software. + # For details, see the GNU Public License in the COPYING file, or + # Look http://www.fsf.org + # ----------------------------------------------------------------------------- + SUBDIRS = lib reference *************** *** 7,17 **** 03-CBMCompilerSelector-public.pl \ 04-Config.pl \ ! 05-CEL.pl \ ! 05-KB-Options.pl \ ! 05-Option-Descriptions.pl \ 05-Plan.pl \ 06-CBM-LibUI.pl \ 07-compbenchmarks-core.pl tests = $(top_srcdir)/CBM-PI/t/00-Glue.pl \ $(top_srcdir)/CBM-PI/t/00-XML.pl \ --- 15,26 ---- 03-CBMCompilerSelector-public.pl \ 04-Config.pl \ ! 05-KB-Option-Descriptions.pl \ ! 05-KB-Option-Logics.pl \ 05-Plan.pl \ 06-CBM-LibUI.pl \ 07-compbenchmarks-core.pl + # 05-KB-Options.pl !!! + tests = $(top_srcdir)/CBM-PI/t/00-Glue.pl \ $(top_srcdir)/CBM-PI/t/00-XML.pl \ *************** *** 21,31 **** $(top_srcdir)/CBM-PI/t/03-CBMCompilerSelector-public.pl \ $(top_srcdir)/CBM-PI/t/04-Config.pl \ ! $(top_srcdir)/CBM-PI/t/05-CEL.pl \ ! $(top_srcdir)/CBM-PI/t/05-KB-Options.pl \ ! $(top_srcdir)/CBM-PI/t/05-Option-Descriptions.pl \ $(top_srcdir)/CBM-PI/t/06-CBM-LibUI.pl \ $(top_srcdir)/CBM-PI/t/07-compbenchmarks-core.pl # $(top_srcdir)/CBM-PI/t/05-Plan.pl dist_noinst_DATA = $(prog_tests) --- 30,40 ---- $(top_srcdir)/CBM-PI/t/03-CBMCompilerSelector-public.pl \ $(top_srcdir)/CBM-PI/t/04-Config.pl \ ! $(top_srcdir)/CBM-PI/t/05-KB-Option-Descriptions.pl \ ! $(top_srcdir)/CBM-PI/t/05-KB-Option-Logics.pl \ $(top_srcdir)/CBM-PI/t/06-CBM-LibUI.pl \ $(top_srcdir)/CBM-PI/t/07-compbenchmarks-core.pl # $(top_srcdir)/CBM-PI/t/05-Plan.pl + dist_noinst_DATA = $(prog_tests) |
From: Frederic T. <xf...@us...> - 2007-04-17 20:11:40
|
Update of /cvsroot/compbench/CompBenchmarks++/CBM-PI/t In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv31275 Modified Files: 07-compbenchmarks-core.pl Log Message: -A handled with -qac. Index: 07-compbenchmarks-core.pl =================================================================== RCS file: /cvsroot/compbench/CompBenchmarks++/CBM-PI/t/07-compbenchmarks-core.pl,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** 07-compbenchmarks-core.pl 20 Mar 2007 20:29:56 -0000 1.5 --- 07-compbenchmarks-core.pl 17 Apr 2007 20:11:37 -0000 1.6 *************** *** 11,15 **** use CBM::LibUI; ! use Test::Simple tests => 111; sub test_options { --- 11,15 ---- use CBM::LibUI; ! use Test::Simple tests => 115; sub test_options { *************** *** 29,32 **** --- 29,34 ---- ['-qac gcc', 0, '.+'], ['-qac g++', 0, '.+'], + ['-qac g++ -A \"-O2 -x\"', 0, '.+'], + ['-qc g++ -A \"-O2 -O3 -x\"', 0, '.+'], ['-qx', 0, '.+'], ['-qab', 0, '.+'], |
From: Frederic T. <xf...@us...> - 2007-04-17 20:10:18
|
Update of /cvsroot/compbench/CompBenchmarks++/CBM-PI/t In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv30618 Modified Files: 05-KB-Option-Logics.pl Log Message: Two-pass options handled. Index: 05-KB-Option-Logics.pl =================================================================== RCS file: /cvsroot/compbench/CompBenchmarks++/CBM-PI/t/05-KB-Option-Logics.pl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** 05-KB-Option-Logics.pl 12 Apr 2007 19:58:04 -0000 1.1 --- 05-KB-Option-Logics.pl 17 Apr 2007 20:10:11 -0000 1.2 *************** *** 60,63 **** --- 60,97 ---- } + sub count_tests_fake_compiler_option_want { + my $fake_c; + my $c_branch; + my $count = 0; + + + foreach $fake_c (@COMPILER_FAKE_INTERFACES) { + my %set_variable_count; + my $option_set; + + $c_branch=$COMPILER_FAKE_INTERFACES{$fake_c}; + $option_set=$COMPILER_FAKE_OPTIONS{$c_branch}; + + my $opt; + + foreach $opt (keys %{$option_set}) { + my @operations = @{$option_set->{$opt}}; + + my $o; + foreach $o (@operations) { + if ($o =~ /^option-want (.*?) (.*?)/) { + $set_variable_count{$1}++; + } + } + } + + foreach(keys %set_variable_count) { + my $c = $set_variable_count{$_}; + $count+=$c; + } + } + + return($count); + } sub count_tests_fake_compiler_option_implied_bys { *************** *** 219,223 **** my $x = "1\nOption $l1 is implied by $l0\n"; ! ok($r eq $x, "Analyzing $opt_string on " . $C->Name() . " : expects ($x) has ($r)\n"); } --- 253,313 ---- my $x = "1\nOption $l1 is implied by $l0\n"; ! ok($r eq $x, "Analyzing $opt_string from '$i' '$ib' on " . ! $C->Name() . " : expects ($x) has ($r)\n"); ! } ! } ! } ! } ! ! sub test_option_want { ! my $fake_c; ! my $c_branch; ! my $option_set; ! my $opt; ! my $first_option; ! ! foreach $fake_c (@COMPILER_FAKE_INTERFACES) { ! $c_branch=$COMPILER_FAKE_INTERFACES{$fake_c}; ! $option_set=$COMPILER_FAKE_OPTIONS{$c_branch}; ! my %option_want; ! ! foreach $opt (keys %{$option_set}) { ! my @operations = @{$option_set->{$opt}}; ! my $o; ! if (!defined($first_option)) { ! $first_option=$opt; ! } ! foreach $o (@operations) { ! if ($o =~ /^option-want (.*?) (.*)/) { ! $option_want{$opt}->{$1}=$2; ! } ! } ! } ! ! my $CS = new CBM::CompilerSelector($sys); ! ! my $fake_cmd = "$top_srcdir/reference/$fake_c"; ! my $C = $CS->select($fake_cmd); ! ! my $i; ! my $o; ! my $lit_first = $C->OptionDescriptions()->Description($first_option)->Option(); ! foreach $o (keys %option_want) { ! foreach $i (keys %{$option_want{$o}}) { ! my $l0 = compiler_option_litteral($C, $o); ! my $opt_string = "$l0"; ! ! my $r = $C->analyzeOptions($opt_string); ! my $x = "1\n"; ! ! ok($r eq $x, "Want (value) : analyzing $opt_string on " . ! $C->Name() . " : expects ($x) has ($r)\n"); ! ! $C->colVarSet("$i", "$option_want{$o}->{$i}x", "$first_option"); ! ! $r = $C->analyzeOptions($opt_string); ! $x = "Option " . $C->OptionDescriptions()->Description($o)->Option() . " is incompatible with $lit_first\n"; ! ! ok($r eq $x, "Want (value, step2) : analyzing $opt_string on " . $C->Name() . " : expects ($x) has ($r)\n"); } *************** *** 228,231 **** --- 318,322 ---- plan tests => (count_tests_fake_compiler_branches()*2+ count_tests_fake_compiler_option_using_vars()+ + count_tests_fake_compiler_option_want()*2+ count_tests_fake_compiler_option_implied_bys()); *************** *** 234,237 **** --- 325,329 ---- test_option_using_vars(); test_option_implied_bys(); + test_option_want(); $sys->done(); |
From: Frederic T. <xf...@us...> - 2007-04-17 20:09:35
|
Update of /cvsroot/compbench/CompBenchmarks++/CBM-PI/t In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv30447 Modified Files: 05-KB-Option-Descriptions.pl Log Message: Two-pass options handled. Many more tests. Verbosity to ease debugging (on error). Index: 05-KB-Option-Descriptions.pl =================================================================== RCS file: /cvsroot/compbench/CompBenchmarks++/CBM-PI/t/05-KB-Option-Descriptions.pl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** 05-KB-Option-Descriptions.pl 12 Apr 2007 19:58:04 -0000 1.1 --- 05-KB-Option-Descriptions.pl 17 Apr 2007 20:09:32 -0000 1.2 *************** *** 29,33 **** foreach $c (@COMPILER_FAKE_INTERFACES) { my $expect = compiler_option_number_expected($COMPILER_FAKE_INTERFACES{$c}); ! $n+=(3+($expect*6)); } return($n); --- 29,34 ---- foreach $c (@COMPILER_FAKE_INTERFACES) { my $expect = compiler_option_number_expected($COMPILER_FAKE_INTERFACES{$c}); ! $n+=(3+($expect*7)); ! $n+=compiler_option_test_number_expected_twopasses($COMPILER_FAKE_INTERFACES{$c}); } return($n); *************** *** 41,47 **** --- 42,100 ---- my $F; + sub show_differences { + my $OD = shift; + my $ref_compiler = shift; + + my %OD_def; + my %ref_def; + + my $D; + + my $i; + my $n; + + print STDERR "\n"; + + $n=$OD->DescriptionNumber(); + for($i=0;$i<$n;$i++) { + $D=$OD->Description($i); + $OD_def{$D->Id()}=1; + } + + foreach(keys %{$ref_compiler}) { + $ref_def{$_}=1; + } + + my @missing_in_od; + foreach(keys %ref_def) { + if (!defined($OD_def{$_})) { + push(@missing_in_od, + $_); + } + } + + my @missing_in_ref; + foreach(keys %OD_def) { + if (!defined($ref_def{$_})) { + push(@missing_in_ref, + $_); + } + } + + if (@missing_in_od+0) { + print STDERR "Options missing in XML descriptions : " . + join(',', @missing_in_od) . "\n"; + } + + if (@missing_in_ref+0) { + print STDERR "Options missing in compiler.pl reference file : " . + join(',', @missing_in_ref) . "\n"; + } + } + sub test_options_descriptions { my $OD = shift; my $compiler = shift; + my %first_passes; my $n; *************** *** 51,54 **** --- 104,111 ---- ok($n eq $expect, "$compiler: DescriptionNumber() returns $expect (has $n in " . $OD->DescriptionFile() . ")"); + if ($n ne $expect) { + show_differences($OD, + \%{$COMPILER_FAKE_OPTIONS{$compiler}}); + } my $i; *************** *** 60,78 **** my $D; for($i=0; $i<$n; $i++) { $D = $OD->Description($i); ok($D->Id() ne "", "$compiler: D$i has identifier"); $unique_id{$D->Id()}++; ok($D->ShortDescription() ne "", ! "$compiler: D$i has short description"); ok($D->EditorDescription() ne "", ! "$compiler: D$i has editor's description"); ok($D->Option() ne "", ! "$compiler: D$i has option (value)"); ! $unique_id{$D->Option()}++; ! # !!! ! # my $fid = "kb-$c-option-" . $D->Id() . "-is-compatible"; ! # ok(defined(CBM::celFunctionGet($fid)), "$fid defined"); } --- 117,150 ---- my $D; + + for($i=0; $i<$n; $i++) { + $D = $OD->Description($i); + ok($D->Id() ne "", "$compiler: D$i has identifier"); + if ((($D->CompilationTwoPassNeeded()) && + ($D->CompilationPass()==1))) { + $first_passes{$D->Id()}=1; + } + } + for($i=0; $i<$n; $i++) { $D = $OD->Description($i); ok($D->Id() ne "", "$compiler: D$i has identifier"); + my $did = $D->Id(); + $unique_id{$D->Id()}++; ok($D->ShortDescription() ne "", ! "$compiler: $did has short description"); ok($D->EditorDescription() ne "", ! "$compiler: $did has editor's description"); ok($D->Option() ne "", ! "$compiler: $did has option (value)"); ! if (($D->CompilationTwoPassNeeded() && ! $D->CompilationPass()==2)) { ! ok(defined($first_passes{$D->CompilationFirstPassOption()}), ! "Two-passes: " . $D->CompilationFirstPassOption() . " first pass defined"); ! } ! ! $unique_id{$D->Option()}++; } |
From: Frederic T. <xf...@us...> - 2007-04-17 20:08:13
|
Update of /cvsroot/compbench/CompBenchmarks++/CBM-PI/t In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv29977 Modified Files: 03-CBMCompilerSelector-public.pl Log Message: GCC 3.1.x introduced. Index: 03-CBMCompilerSelector-public.pl =================================================================== RCS file: /cvsroot/compbench/CompBenchmarks++/CBM-PI/t/03-CBMCompilerSelector-public.pl,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** 03-CBMCompilerSelector-public.pl 20 Mar 2007 20:29:55 -0000 1.7 --- 03-CBMCompilerSelector-public.pl 17 Apr 2007 20:08:08 -0000 1.8 *************** *** 1,3 **** --- 1,11 ---- #!/usr/bin/perl -w -I .. + # ----------------------------------------------------------------------------- + # $Id$ + # + # This is free software. + # For details, see the GNU Public License in the COPYING file, or + # Look http://www.fsf.org + # ----------------------------------------------------------------------------- + use strict; use CBM; *************** *** 10,13 **** --- 18,25 ---- my $sys; + my %supportedVersions = ('g++' => '2.95.x 3.0.x 3.1.x', + 'gcc' => '2.95.x 3.0.x 3.1.x', + 'tcc' => '0.9.x'); + my %references = ('compiler-fake-g++-4.1.1-13' => {'language' => 'C++', *************** *** 15,19 **** 'compilerName' => 'g++ (GCC) 4.1.2 20060901 (prerelease) (Debian 4.1.1-13)', 'compilerVersion' => '4.1.2 20060901 (prerelease)', ! 'vanilla' => '4.1.2' }, 'compiler-fake-gcc-3.2.3-20-rh' => --- 27,32 ---- 'compilerName' => 'g++ (GCC) 4.1.2 20060901 (prerelease) (Debian 4.1.1-13)', 'compilerVersion' => '4.1.2 20060901 (prerelease)', ! 'vanilla' => '4.1.2', ! 'compatibility' => '3.1.x' }, 'compiler-fake-gcc-3.2.3-20-rh' => *************** *** 22,26 **** 'compilerName' => 'gcc (GCC) 3.2.3 20030502 (Red Hat Linux 3.2.3-20)', 'compilerVersion' => '3.2.3', ! 'vanilla' => '3.2.3' }, 'compiler-fake-gcc-4.1.1-13' => --- 35,40 ---- 'compilerName' => 'gcc (GCC) 3.2.3 20030502 (Red Hat Linux 3.2.3-20)', 'compilerVersion' => '3.2.3', ! 'vanilla' => '3.2.3', ! 'compatibility' => '3.1.x' }, 'compiler-fake-gcc-4.1.1-13' => *************** *** 29,33 **** 'compilerName' => 'gcc (GCC) 4.1.2 20060901 (prerelease) (Debian 4.1.1-13)', 'compilerVersion' => '4.1.2 20060901 (prerelease)', ! 'vanilla' => '4.1.2' }, 'compiler-fake-tcc-0.9.23', --- 43,48 ---- 'compilerName' => 'gcc (GCC) 4.1.2 20060901 (prerelease) (Debian 4.1.1-13)', 'compilerVersion' => '4.1.2 20060901 (prerelease)', ! 'vanilla' => '4.1.2', ! 'compatibility' => '3.1.x' }, 'compiler-fake-tcc-0.9.23', *************** *** 36,44 **** 'compilerName' => 'Tiny C Compiler tcc version 0.9.23', 'compilerVersion' => 'tcc version 0.9.23', ! 'vanilla' => '0.9.23' } ); ! plan tests => (keys %references)*5; $sys = CBM::Init(); --- 51,77 ---- 'compilerName' => 'Tiny C Compiler tcc version 0.9.23', 'compilerVersion' => 'tcc version 0.9.23', ! 'vanilla' => '0.9.23', ! 'compatibility' => '0.9.x' } ); ! sub checkSupportedVersion { ! my $co = shift; ! my $refdata = shift; ! ! my @expectedVersions = split(' ', $supportedVersions{$co->compiler()}); ! my $xn = (@expectedVersions+0); ! my $n = $co->supportedVersionNumber(); ! ! ok($n == $xn, ! "Supported versions number for " . $co->compiler() . " is $xn (has $n)"); ! ! my $comp = $co->relativeDescriptionDirectory(); ! my $xv = $refdata->{compatibility}; ! ! ok($comp eq $xv, "Nearest compatibility for " . $co->VanillaVersion() . " is $xv (has $comp)"); ! } ! ! plan tests => (keys %references)*7; $sys = CBM::Init(); *************** *** 58,61 **** --- 91,95 ---- ok($refdata{compilerVersion} eq $co->Version(), "$reffile: compilerVersion is $refdata{compilerVersion} (has " . $co->Version() . ")"); ok($refdata{vanilla} eq $co->VanillaVersion(), "$reffile: vanilla is $refdata{vanilla} (has " . $co->VanillaVersion() . ")"); + checkSupportedVersion($co, \%refdata); } |
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 ); |
From: Frederic T. <xf...@us...> - 2007-04-17 19:26:02
|
Update of /cvsroot/compbench/CompBenchmarks++/libcompbenchmarks/share/KB/gxx/3.0.x In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv13841/gxx/3.0.x Modified Files: Makefile.am description.xml Log Message: GCC 3.1.x KB added. Index: description.xml =================================================================== RCS file: /cvsroot/compbench/CompBenchmarks++/libcompbenchmarks/share/KB/gxx/3.0.x/description.xml,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** description.xml 17 Apr 2007 17:32:22 -0000 1.5 --- description.xml 17 Apr 2007 19:25:52 -0000 1.6 *************** *** 284,348 **** </option> - <option id="profile-generate"> - <value>-fprofile-arcs</value> - <compilation type="first-pass"/> - <short-description>Instrument arcs during compilation</short-description> - <editor-description> - Here's GCC 3.1.x help (3.0.x's not given) : - - Instrument arcs during compilation to generate coverage data or for - profile-directed block ordering. During execution the program - records how many times each branch is executed and how many times - it is taken. When the compiled program exits it saves this data to - a file called sourcename.da for each source file. - - For profile-directed block ordering, compile the program with - -fprofile-arcs plus optimization and code generation options, generate - the arc profile information by running the program on a - selected workload, and then compile the program again with the same - optimization and code generation options plus -fbranch-probabilities. - - The other use of -fprofile-arcs is for use with "gcov", when it is - used with the -ftest-coverage option. GCC supports two methods of - determining code coverage: the options that support "gcov", and - options -a and -ax, which write information to text files. The - options that support "gcov" do not need to instrument every arc in - the program, so a program compiled with them runs faster than a - program compiled with -a, which adds instrumentation code to every - basic block in the program. The tradeoff: since "gcov" does not - have execution counts for all branches, it must start with the execution - counts for the instrumented branches, and then iterate over - the program flow graph until the entire graph has been solved. - Hence, "gcov" runs a little more slowly than a program which uses - information from -a and -ax. - - With -fprofile-arcs, for each function of your program GCC creates - a program flow graph, then finds a spanning tree for the graph. - Only arcs that are not on the spanning tree have to be instrumented: - the compiler adds code to count the number of times that - these arcs are executed. When an arc is the only exit or only - entrance to a block, the instrumentation code can be added to the - block; otherwise, a new basic block must be created to hold the - instrumentation code. - - This option makes it possible to estimate branch probabilities and - to calculate basic block execution counts. In general, basic block - execution counts as provided by -a do not give enough information - to estimate all branch probabilities. - </editor-description> - <logic/> - </option> - - <option id="profile-use"> - <value>-fbranch-probabilities</value> - <compilation type="second-pass" first-pass="profile-generate"/> - <short-description>Optimizations based on path guessing</short-description> - <editor-description> - After running a program compiled with -fprofile-arcs, you can compile it a - second time using -fbranch-probabilities, to improve - optimizations based on guessing the path a branch might take. - </editor-description> - <logic/> - </option> - </options> \ No newline at end of file --- 284,286 ---- Index: Makefile.am =================================================================== RCS file: /cvsroot/compbench/CompBenchmarks++/libcompbenchmarks/share/KB/gxx/3.0.x/Makefile.am,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** Makefile.am 17 Apr 2007 17:32:22 -0000 1.4 --- Makefile.am 17 Apr 2007 19:25:52 -0000 1.5 *************** *** 8,12 **** # ----------------------------------------------------------------------------- ! data_DATA = description.xml arch.xml datarootdir=@datarootdir@/compbenchmarks/@VERSION@/KB/gxx/3.0.x --- 8,12 ---- # ----------------------------------------------------------------------------- ! data_DATA = description.xml arch.xml profile.xml datarootdir=@datarootdir@/compbenchmarks/@VERSION@/KB/gxx/3.0.x |
From: Frederic T. <xf...@us...> - 2007-04-17 19:26:01
|
Update of /cvsroot/compbench/CompBenchmarks++/libcompbenchmarks/share/KB/gcc In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv13841/gcc Modified Files: Makefile.am Log Message: GCC 3.1.x KB added. Index: Makefile.am =================================================================== RCS file: /cvsroot/compbench/CompBenchmarks++/libcompbenchmarks/share/KB/gcc/Makefile.am,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Makefile.am 5 Apr 2007 17:11:08 -0000 1.3 --- Makefile.am 17 Apr 2007 19:25:52 -0000 1.4 *************** *** 8,10 **** # ----------------------------------------------------------------------------- ! SUBDIRS = 2.95.x 3.0.x --- 8,10 ---- # ----------------------------------------------------------------------------- ! SUBDIRS = 2.95.x 3.0.x 3.1.x |
From: Frederic T. <xf...@us...> - 2007-04-17 19:26:00
|
Update of /cvsroot/compbench/CompBenchmarks++/libcompbenchmarks/share/KB/gxx In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv13841/gxx Modified Files: Makefile.am Log Message: GCC 3.1.x KB added. Index: Makefile.am =================================================================== RCS file: /cvsroot/compbench/CompBenchmarks++/libcompbenchmarks/share/KB/gxx/Makefile.am,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** Makefile.am 5 Apr 2007 17:12:12 -0000 1.7 --- Makefile.am 17 Apr 2007 19:25:52 -0000 1.8 *************** *** 8,10 **** # ----------------------------------------------------------------------------- ! SUBDIRS = 2.95.x 3.0.x \ No newline at end of file --- 8,10 ---- # ----------------------------------------------------------------------------- ! SUBDIRS = 2.95.x 3.0.x 3.1.x \ No newline at end of file |
From: Frederic T. <xf...@us...> - 2007-04-17 19:26:00
|
Update of /cvsroot/compbench/CompBenchmarks++/libcompbenchmarks/share/KB/gxx/3.1.x In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv13841/gxx/3.1.x Added Files: Makefile.am arch.xml description.xml profile.xml Log Message: GCC 3.1.x KB added. --- NEW FILE: description.xml --- <?xml version="1.0" ?> <!-- $Id: description.xml,v 1.1 2007/04/17 19:25:52 xfred Exp $ This is free software. For details, see the GNU Public License in the COPYING file, or Look http://www.fsf.org --> <!-- Options for 'gxx' 3.1 and above (includes gcc and g++) --> <options> <include file="gxx/3.0.x/description.xml"/> <include file="gxx/3.1.x/profile.xml"/> <include file="gxx/3.1.x/arch.xml"/> <option id="optimize-sibling-calls"> <value>-foptimize-sibling-calls</value> <short-description>Optimize sibling and tail recursive calls</short-description> <editor-description> Optimize sibling and tail recursive calls </editor-description> <logic/> </option> <option id="prefetch-loop-arrays"> <value>-fprefetch-loop-arrays</value> <short-description>Generate instructions to prefetch memory</short-description> <editor-description> If supported by the target machine, generate instructions to prefetch memory to improve the performance of loops that access large arrays. </editor-description> <logic> <logic-option-implied-by id="O2"/> <logic-option-implied-by id="O3"/> </logic> </option> <option id="rerun-loop-opt"> <value>-frerun-loop-opt</value> <short-description>Run the loop optimizer twice</short-description> <editor-description> Run the loop optimizer twice. </editor-description> <logic> <logic-option-implied-by id="O2"/> <logic-option-implied-by id="O3"/> </logic> </option> <option id="gcse-lm"> <value>-fgcse-lm</value> <short-description>Global CSE move loads killed by self-storing</short-description> <editor-description> When -fgcse-lm is enabled, global common subexpression elimination will attempt to move loads which are only killed by stores into themselves. This allows a loop containing a load/store sequence to be changed to a load outside the loop, and a copy/store within the loop. </editor-description> <logic> <logic-option-implied-by id="O2"/> <logic-option-implied-by id="O3"/> </logic> </option> <option id="gcse-sm"> <value>-fgcse-sm</value> <short-description>Global CSE tries a motion pass</short-description> <editor-description> When -fgcse-sm is enabled, A store motion pass is run after global common subexpression elimination. This pass will attempt to move stores out of loops. When used in conjunction with -fgcse-lm, loops containing a load/store sequence can be changed to a load before the loop and a store after the loop. </editor-description> <logic> <logic-option-implied-by id="O2"/> <logic-option-implied-by id="O3"/> </logic> </option> <option id="ssa-ccp"> <value>-fssa-ccp</value> <short-description>Perform Sparse Conditional Constant Propagation</short-description> <editor-description> Perform Sparse Conditional Constant Propagation in SSA form. Requires -fssa. Like -fssa, this is an experimental feature. </editor-description> <logic> <logic-option-implied-by id="O2"/> <logic-option-implied-by id="O3"/> <logic-option-requires id="ssa"/> </logic> </option> <option id="ssa-dce"> <value>fssa-dce</value> <short-description>Agressive dead code elimination</short-description> <editor-description> Perform aggressive dead-code elimination in SSA form. Requires -fssa. Like -fssa, this is an experimental feature. </editor-description> <logic> <logic-option-implied-by id="O2"/> <logic-option-implied-by id="O3"/> <logic-option-requires id="ssa"/> </logic> </option> </options> --- NEW FILE: Makefile.am --- # ----------------------------------------------------------------------------- # $Id: Makefile.am,v 1.1 2007/04/17 19:25:52 xfred Exp $ # $Source: /cvsroot/compbench/CompBenchmarks++/libcompbenchmarks/share/KB/gxx/3.1.x/Makefile.am,v $ # # This is free software. # For details, see the GNU Public License in the COPYING file, or # Look http://www.fsf.org # ----------------------------------------------------------------------------- data_DATA = description.xml arch.xml profile.xml datarootdir=@datarootdir@/compbenchmarks/@VERSION@/KB/gxx/3.1.x EXTRA_DIST = $(data_DATA) --- NEW FILE: profile.xml --- <?xml version="1.0" ?> <!-- $Id: profile.xml,v 1.1 2007/04/17 19:25:52 xfred Exp $ This is free software. For details, see the GNU Public License in the COPYING file, or Look http://www.fsf.org --> <options> <option id="profile-generate"> <value>-fprofile-arcs</value> <compilation type="first-pass"/> <short-description>Instrument arcs during compilation</short-description> <editor-description> Instrument arcs during compilation to generate coverage data or for profile-directed block ordering. During execution the program records how many times each branch is executed and how many times it is taken. When the compiled program exits it saves this data to a file called sourcename.da for each source file. For profile-directed block ordering, compile the program with -fprofile-arcs plus optimization and code generation options, generate the arc profile information by running the program on a selected workload, and then compile the program again with the same optimization and code generation options plus -fbranch-probabilities. The other use of -fprofile-arcs is for use with "gcov", when it is used with the -ftest-coverage option. GCC supports two methods of determining code coverage: the options that support "gcov", and options -a and -ax, which write information to text files. The options that support "gcov" do not need to instrument every arc in the program, so a program compiled with them runs faster than a program compiled with -a, which adds instrumentation code to every basic block in the program. The tradeoff: since "gcov" does not have execution counts for all branches, it must start with the execution counts for the instrumented branches, and then iterate over the program flow graph until the entire graph has been solved. Hence, "gcov" runs a little more slowly than a program which uses information from -a and -ax. With -fprofile-arcs, for each function of your program GCC creates a program flow graph, then finds a spanning tree for the graph. Only arcs that are not on the spanning tree have to be instrumented: the compiler adds code to count the number of times that these arcs are executed. When an arc is the only exit or only entrance to a block, the instrumentation code can be added to the block; otherwise, a new basic block must be created to hold the instrumentation code. This option makes it possible to estimate branch probabilities and to calculate basic block execution counts. In general, basic block execution counts as provided by -a do not give enough information to estimate all branch probabilities. </editor-description> <logic/> </option> <option id="profile-use"> <value>-fbranch-probabilities</value> <compilation type="second-pass" first-pass="profile-generate"/> <short-description>Optimizations based on path guessing</short-description> <editor-description> After running a program compiled with -fprofile-arcs, you can compile it a second time using -fbranch-probabilities, to improve optimizations based on the number of times each branch was taken. When the program compiled with -fprofile-arcs exits it saves arc execution counts to a file called sourcename.da for each source file The information in this data file is very dependent on the structure of the generated code, so you must use the same source code and the same optimization options for both compilations. With -fbranch-probabilities, GCC puts a REG_EXEC_COUNT note on the first instruction of each basic block, and a REG_BR_PROB note on each JUMP_INSN and CALL_INSN. These can be used to improve optimization. Currently, they are only used in one place: in reorg.c, instead of guessing which path a branch is mostly to take, the REG_BR_PROB values are used to exactly determine which path is taken more often. </editor-description> <logic/> </option> </options> --- NEW FILE: arch.xml --- <?xml version="1.0" ?> <!-- $Id: arch.xml,v 1.1 2007/04/17 19:25:52 xfred Exp $ This is free software. For details, see the GNU Public License in the COPYING file, or Look http://www.fsf.org --> <options> <option id="fpmath-387"> <value>-mfpmath=387</value> <short-description>Use standard 387 floating point coprocessor</short-description> <editor-description> generate floating point arithmetics for selected unit unit. the choices for unit are: 387 Use the standard 387 floating point coprocessor present majority of chips and emulated otherwise. Code compiled with this option will run almost everywhere. The temporary results are computed in 80bit precesion instead of precision specified by the type resulting in slightly different results compared to most of other chips. See -ffloat-store for more detailed description. This is the default choice for i386 compiler. sse Use scalar floating point instructions present in the SSE instruction set. This instruction set is supported by Pentium3 and newer chips, in the AMD line by Athlon-4, Athlon-xp and Athlon-mp chips. The earlier version of SSE instruction set supports only single precision arithmetics, thus the double and extended precision arithmetics is still done using 387. Later version, present only in Pentium4 and the future AMD x86-64 chips supports double precision arithmetics too. For i387 you need to use -march=cpu-type, -msse or -msse2 switches to enable SSE extensions and make this option effective. For x86-64 compiler, these extensions are enabled by default. The resulting code should be considerably faster in majority of cases and avoid the numerical instability problems of 387 code, but may break some existing code that expects temporaries to be 80bit. This is the default choice for x86-64 compiler. sse,387 Attempt to utilize both instruction sets at once. This effectivly double the amount of available registers and on chips with separate execution units for 387 and SSE the execution resources too. Use this option with care, as it is still experimental, because gcc register allocator does not model separate functional units well resulting in instable performance. </editor-description> <logic> <logic-option-exclusive on="kb-option-cpu"/> </logic> </option> <option id="fpmath-sse"> <value>-mfpmath=sse</value> <short-description>Use SSE floating point instruction set</short-description> <editor-description copy-id="fpmath-387"> <logic> <logic-option-exclusive on="kb-option-cpu"/> </logic> </option> <option id="fpmath-sse-387"> <value>-mfpmath=sse</value> <short-description>Use SSE floating point instruction set with 387 coprocessor</short-description> <editor-description copy-id="fpmath-387"> <logic> <logic-option-exclusive on="kb-option-cpu"/> </logic> </option> <option id="no-double-alignment"> <value>-mno-align-double</value> <short-description>Disable two word boundary aligments on long types</short-description> <editor-description> Control whether GCC aligns "double", "long double", and "long long" variables on a two word boundary or a one word boundary. Aligning "double" variables on a two word boundary will produce code that runs somewhat faster on a Pentium at the expense of more memory. </editor-description> <logic> <logic-option-exclusive on="alignment-disabled" value="0"/> <logic-option-exclusive on="double-alignment"/> </logic> </option> <option id="double-alignment"> <value>-malign-double</value> <short-description>Enable two word boundary aligments on long types</short-description> <editor-description copy-id="no-double-alignment"/> <logic> <logic-option-exclusive on="alignment-disabled" value="0"/> <logic-option-exclusive on="double-alignment"/> </logic> </option> <option id="mmmx"> <value>-mmmx</value> <short-description>Enable MMX instruction set</short-description> <editor-description> These switches enable or disable the use of built-in functions that allow direct access to the MMX, SSE and 3Dnow extensions of the instruction set. </editor-description> <logic/> </option> <option id="msse"> <value>-msse</value> <short-description>Enable SSE instruction set</short-description> <editor-description copy-id="mmmx"/> <logic/> </option> <option id="msse2"> <value>-msse2</value> <short-description>Enable SSE2 instruction set</short-description> <editor-description copy-id="mmmx"/> <logic/> </option> <option id="m3dnow"> <value>-m3dnow</value> <short-description>Enable 3Dnow! instruction set</short-description> <editor-description copy-id="mmmx"/> <logic/> </option> </options> |
From: Frederic T. <xf...@us...> - 2007-04-17 19:25:57
|
Update of /cvsroot/compbench/CompBenchmarks++/libcompbenchmarks/share/KB/g++/3.1.x In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv13841/g++/3.1.x Added Files: Makefile.am description.xml Log Message: GCC 3.1.x KB added. --- NEW FILE: description.xml --- <?xml version="1.0" ?> <!-- $Id: description.xml,v 1.1 2007/04/17 19:25:52 xfred Exp $ This is free software. For details, see the GNU Public License in the COPYING file, or Look http://www.fsf.org --> <options> <include file="gxx/3.1.x/description.xml"/> </options> --- NEW FILE: Makefile.am --- # ----------------------------------------------------------------------------- # $Id: Makefile.am,v 1.1 2007/04/17 19:25:52 xfred Exp $ # $Source: /cvsroot/compbench/CompBenchmarks++/libcompbenchmarks/share/KB/g++/3.1.x/Makefile.am,v $ # # This is free software. # For details, see the GNU Public License in the COPYING file, or # Look http://www.fsf.org # ----------------------------------------------------------------------------- data_DATA = description.xml datarootdir=@datarootdir@/compbenchmarks/@VERSION@/KB/g++/3.1.x EXTRA_DIST = $(data_DATA) |
From: Frederic T. <xf...@us...> - 2007-04-17 19:25:56
|
Update of /cvsroot/compbench/CompBenchmarks++/libcompbenchmarks/share/KB/gcc/3.1.x In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv13841/gcc/3.1.x Added Files: Makefile.am description.xml Log Message: GCC 3.1.x KB added. --- NEW FILE: description.xml --- <?xml version="1.0" ?> <!-- $Id: description.xml,v 1.1 2007/04/17 19:25:52 xfred Exp $ This is free software. For details, see the GNU Public License in the COPYING file, or Look http://www.fsf.org --> <options> <include file="gxx/3.1.x/description.xml"/> </options> --- NEW FILE: Makefile.am --- # ----------------------------------------------------------------------------- # $Id: Makefile.am,v 1.1 2007/04/17 19:25:52 xfred Exp $ # $Source: /cvsroot/compbench/CompBenchmarks++/libcompbenchmarks/share/KB/gcc/3.1.x/Makefile.am,v $ # # This is free software. # For details, see the GNU Public License in the COPYING file, or # Look http://www.fsf.org # ----------------------------------------------------------------------------- data_DATA = description.xml datarootdir=@datarootdir@/compbenchmarks/@VERSION@/KB/gcc/3.1.x EXTRA_DIST = $(data_DATA) |
From: Frederic T. <xf...@us...> - 2007-04-17 19:25:55
|
Update of /cvsroot/compbench/CompBenchmarks++/libcompbenchmarks/share/KB/g++ In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv13841/g++ Modified Files: Makefile.am Log Message: GCC 3.1.x KB added. Index: Makefile.am =================================================================== RCS file: /cvsroot/compbench/CompBenchmarks++/libcompbenchmarks/share/KB/g++/Makefile.am,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** Makefile.am 5 Apr 2007 17:12:30 -0000 1.5 --- Makefile.am 17 Apr 2007 19:25:51 -0000 1.6 *************** *** 8,10 **** # ----------------------------------------------------------------------------- ! SUBDIRS = 2.95.x 3.0.x --- 8,10 ---- # ----------------------------------------------------------------------------- ! SUBDIRS = 2.95.x 3.0.x 3.1.x |
From: Frederic T. <xf...@us...> - 2007-04-17 19:24:53
|
Update of /cvsroot/compbench/CompBenchmarks++/libcompbenchmarks/share/KB/gxx/3.1.x In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv13435/3.1.x Log Message: Directory /cvsroot/compbench/CompBenchmarks++/libcompbenchmarks/share/KB/gxx/3.1.x added to the repository |
From: Frederic T. <xf...@us...> - 2007-04-17 19:24:37
|
Update of /cvsroot/compbench/CompBenchmarks++/libcompbenchmarks/share/KB/gcc/3.1.x In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv13400/3.1.x Log Message: Directory /cvsroot/compbench/CompBenchmarks++/libcompbenchmarks/share/KB/gcc/3.1.x added to the repository |
From: Frederic T. <xf...@us...> - 2007-04-17 19:24:11
|
Update of /cvsroot/compbench/CompBenchmarks++/libcompbenchmarks/share/KB/g++/3.1.x In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv13206/3.1.x Log Message: Directory /cvsroot/compbench/CompBenchmarks++/libcompbenchmarks/share/KB/g++/3.1.x added to the repository |
From: Frederic T. <xf...@us...> - 2007-04-17 19:23:49
|
Update of /cvsroot/compbench/CompBenchmarks++/CBM-PI/t/reference In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv13000 Added Files: compiler-fake-g++-3.1.1 compiler-fake-gcc-3.1.1 Log Message: First import. --- NEW FILE: compiler-fake-g++-3.1.1 --- #!/bin/sh cat <<EOF g++ (GCC) 3.1.1 Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. EOF --- NEW FILE: compiler-fake-gcc-3.1.1 --- #!/bin/sh cat <<EOF gcc (GCC) 3.1.1 Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. EOF |