[open-axiom-commit] SF.net SVN: open-axiom:[1081] trunk
A system for computer algebra and symbolic mathematics
Brought to you by:
dos-reis
From: <dos...@us...> - 2009-03-02 08:02:01
|
Revision: 1081 http://open-axiom.svn.sourceforge.net/open-axiom/?rev=1081&view=rev Author: dos-reis Date: 2009-03-02 08:01:57 +0000 (Mon, 02 Mar 2009) Log Message: ----------- * interp/compiler.boot (modeIsAggregateOf): Use RepIfRepHack. * interp/g-opt.boot (optimizeFunctionDef): Tidy. * interp/i-syscmd.boot (compileSpad2Cmd): Support ')report' option. * interp/sys-driver.boot (initializeGlobalState): Likewise. Modified Paths: -------------- trunk/configure trunk/configure.ac trunk/configure.ac.pamphlet trunk/src/ChangeLog trunk/src/interp/compiler.boot trunk/src/interp/g-opt.boot trunk/src/interp/i-syscmd.boot trunk/src/interp/sys-driver.boot Modified: trunk/configure =================================================================== --- trunk/configure 2009-03-01 21:36:40 UTC (rev 1080) +++ trunk/configure 2009-03-02 08:01:57 UTC (rev 1081) @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.60 for OpenAxiom 1.3.0-2009-02-22. +# Generated by GNU Autoconf 2.60 for OpenAxiom 1.3.0-2009-03-02. # # Report bugs to <ope...@li...>. # @@ -713,8 +713,8 @@ # Identity of this package. PACKAGE_NAME='OpenAxiom' PACKAGE_TARNAME='openaxiom' -PACKAGE_VERSION='1.3.0-2009-02-22' -PACKAGE_STRING='OpenAxiom 1.3.0-2009-02-22' +PACKAGE_VERSION='1.3.0-2009-03-02' +PACKAGE_STRING='OpenAxiom 1.3.0-2009-03-02' PACKAGE_BUGREPORT='ope...@li...' ac_unique_file="src/Makefile.pamphlet" @@ -1406,7 +1406,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures OpenAxiom 1.3.0-2009-02-22 to adapt to many kinds of systems. +\`configure' configures OpenAxiom 1.3.0-2009-03-02 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1476,7 +1476,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of OpenAxiom 1.3.0-2009-02-22:";; + short | recursive ) echo "Configuration of OpenAxiom 1.3.0-2009-03-02:";; esac cat <<\_ACEOF @@ -1580,7 +1580,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -OpenAxiom configure 1.3.0-2009-02-22 +OpenAxiom configure 1.3.0-2009-03-02 generated by GNU Autoconf 2.60 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, @@ -1594,7 +1594,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by OpenAxiom $as_me 1.3.0-2009-02-22, which was +It was created by OpenAxiom $as_me 1.3.0-2009-03-02, which was generated by GNU Autoconf 2.60. Invocation command line was $ $0 $@ @@ -26817,7 +26817,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by OpenAxiom $as_me 1.3.0-2009-02-22, which was +This file was extended by OpenAxiom $as_me 1.3.0-2009-03-02, which was generated by GNU Autoconf 2.60. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -26866,7 +26866,7 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF ac_cs_version="\\ -OpenAxiom config.status 1.3.0-2009-02-22 +OpenAxiom config.status 1.3.0-2009-03-02 configured by $0, generated by GNU Autoconf 2.60, with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" Modified: trunk/configure.ac =================================================================== --- trunk/configure.ac 2009-03-01 21:36:40 UTC (rev 1080) +++ trunk/configure.ac 2009-03-02 08:01:57 UTC (rev 1081) @@ -1,6 +1,6 @@ sinclude(config/open-axiom.m4) sinclude(config/aclocal.m4) -AC_INIT([OpenAxiom], [1.3.0-2009-02-22], +AC_INIT([OpenAxiom], [1.3.0-2009-03-02], [ope...@li...]) AC_CONFIG_AUX_DIR(config) Modified: trunk/configure.ac.pamphlet =================================================================== --- trunk/configure.ac.pamphlet 2009-03-01 21:36:40 UTC (rev 1080) +++ trunk/configure.ac.pamphlet 2009-03-02 08:01:57 UTC (rev 1081) @@ -1140,7 +1140,7 @@ <<Autoconf init>>= sinclude(config/open-axiom.m4) sinclude(config/aclocal.m4) -AC_INIT([OpenAxiom], [1.3.0-2009-02-22], +AC_INIT([OpenAxiom], [1.3.0-2009-03-02], [ope...@li...]) @ Modified: trunk/src/ChangeLog =================================================================== --- trunk/src/ChangeLog 2009-03-01 21:36:40 UTC (rev 1080) +++ trunk/src/ChangeLog 2009-03-02 08:01:57 UTC (rev 1081) @@ -1,3 +1,10 @@ +2009-03-02 Gabriel Dos Reis <gd...@cs...> + + * interp/compiler.boot (modeIsAggregateOf): Use RepIfRepHack. + * interp/g-opt.boot (optimizeFunctionDef): Tidy. + * interp/i-syscmd.boot (compileSpad2Cmd): Support ')report' option. + * interp/sys-driver.boot (initializeGlobalState): Likewise. + 2009-03-01 Gabriel Dos Reis <gd...@cs...> * interp/g-opt.boot (optimize): Remove non-qualified Modified: trunk/src/interp/compiler.boot =================================================================== --- trunk/src/interp/compiler.boot 2009-03-01 21:36:40 UTC (rev 1080) +++ trunk/src/interp/compiler.boot 2009-03-02 08:01:57 UTC (rev 1081) @@ -2144,8 +2144,7 @@ 1=#mList => first mList name:= m is [fn,:.] => fn - m="$" => "Rep" - m + RepIfRepHack m get(name,"value",e) is [[ =ListOrVector,R],:.] => [m,R] --% VECTOR ITERATORS Modified: trunk/src/interp/g-opt.boot =================================================================== --- trunk/src/interp/g-opt.boot 2009-03-01 21:36:40 UTC (rev 1080) +++ trunk/src/interp/g-opt.boot 2009-03-02 08:01:57 UTC (rev 1081) @@ -51,7 +51,7 @@ if $reportOptimization then sayBrightlyI bright '"Optimized LISP code:" pp def' - sayBrightlyI bright '"Final LISP code:" + [name,[slamOrLam,args,body]] := def' body':= Modified: trunk/src/interp/i-syscmd.boot =================================================================== --- trunk/src/interp/i-syscmd.boot 2009-03-01 21:36:40 UTC (rev 1080) +++ trunk/src/interp/i-syscmd.boot 2009-03-02 08:01:57 UTC (rev 1081) @@ -1,6 +1,6 @@ -- Copyright (c) 1991-2002, The Numerical Algorithms Group Ltd. -- All rights reserved. --- Copyright (C) 2007-2008, Gabriel Dos Reis. +-- Copyright (C) 2007-2009, Gabriel Dos Reis. -- All rights reserved. -- -- Redistribution and use in source and binary forms, with or without @@ -783,7 +783,8 @@ vartrace _ quiet _ translate _ - optimize + optimize _ + report ) translateOldToNew := nil @@ -830,6 +831,10 @@ fun.0 := 'c constructor := [unabbrev o for o in optargs] fullopt = "optimize" => setCompilerOptimizations first optargs + fullopt = "report" => + null optargs => throwKeyedMsg("S2IZ0037",['")report"]) + if MEMQ("insn",optargs) then + $reportOptimization := true throwKeyedMsg("S2IZ0036",[STRCONC('")",object2String optname)]) $InteractiveMode : local := nil Modified: trunk/src/interp/sys-driver.boot =================================================================== --- trunk/src/interp/sys-driver.boot 2009-03-01 21:36:40 UTC (rev 1080) +++ trunk/src/interp/sys-driver.boot 2009-03-02 08:01:57 UTC (rev 1081) @@ -1,7 +1,5 @@ --- Copyright (C) 2007-2008 Gabriel Dos Reis +-- Copyright (C) 2007-2009 Gabriel Dos Reis -- All rights reserved. --- Copyright (C) 2007-2008, Gabriel Dos Reis. --- All rights reserved. -- -- Redistribution and use in source and binary forms, with or without -- modification, are permitted provided that the following conditions are @@ -192,6 +190,7 @@ $bootStrapMode := getOptionValue "bootstrap" $compileExportsOnly := getOptionValue "exports-only" $compileDefaultsOnly := getOptionValue "defaults-only" + $reportOptimization := getOptionValue "show-insn" GCMSG(NIL) if have_to then $superHash := MAKE_-HASHTABLE('UEQUAL) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |