summaryrefslogtreecommitdiff
path: root/tune/many.pl
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2001-04-14 22:51:16 +0200
committerKevin Ryde <user42@zip.com.au>2001-04-14 22:51:16 +0200
commitfe92d8b0a989f97861a6192d5481f197087b46e4 (patch)
tree555ed77e61603951ff6bb45ee956d2524b12cc6e /tune/many.pl
parent66c1c6e5612b4efb590df4a6fa6dee99efd7467e (diff)
downloadgmp-fe92d8b0a989f97861a6192d5481f197087b46e4.tar.gz
* tune/many.pl: Change RM_TMP_S to RM_TMP to match mpn/Makeasm.am,
avoid a possibly undefined array in a diagnostic, add more renaming to hamdist.
Diffstat (limited to 'tune/many.pl')
-rwxr-xr-xtune/many.pl8
1 files changed, 4 insertions, 4 deletions
diff --git a/tune/many.pl b/tune/many.pl
index 65d321274..e200fbf0a 100755
--- a/tune/many.pl
+++ b/tune/many.pl
@@ -526,6 +526,8 @@ my @table =
'regexp'=> 'hamdist',
'ret' => 'void',
'args' => 'mp_srcptr xp, mp_srcptr yp, mp_size_t size',
+ # extra renaming to support sharing a data table with mpn_popcount
+ 'rename'=> ['popcount'],
},
{
@@ -802,8 +804,6 @@ foreach my $file_full (@files) {
$seen_obj{$obj_with_suffix} = $file_full;
my $funs = $t->{'funs'};
- print "funs @$funs\n" if $opt{'t'};
-
$funs = [$obj] if ! defined $funs;
print "funs @$funs\n" if $opt{'t'};
@@ -841,7 +841,7 @@ foreach my $file_full (@files) {
"$renaming" .
" $file_full >tmp-$objbase.s\n" .
" \$(CCAS) \$(COMPILE_FLAGS) $pic->{'cflags'} tmp-$objbase.s -o $objbase.o\n" .
- " \$(RM_TMP_S) tmp-$objbase.s\n";
+ " \$(RM_TMP) tmp-$objbase.s\n";
$MANY_OBJS .= " $objbase.o";
} elsif ($lang eq '.c') {
@@ -1108,7 +1108,7 @@ print_ansi2knr("try-many",
"-I\$(top_srcdir)/tests/devel");
print MAKEFILE <<EOF;
-RM_TMP_S = rm -f
+RM_TMP = rm -f
CFLAGS_TESTS = -DSIZE=50 -DTIMES=1 -DRANDOM -DCLOCK=333000000
CFLAGS_TESTS_SP = -DSIZE=1024 -DNOCHECK -DOPS=200000000 -DCLOCK=333000000
EOF