Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] Log of /sml/branches/primop-branch/src/compiler/CodeGen/cpscompile
ViewVC logotype

Log of /sml/branches/primop-branch/src/compiler/CodeGen/cpscompile

View Directory Listing Directory Listing


Sticky Revision:

Revision 1372 - Directory Listing
Modified Mon Sep 15 22:16:26 2003 UTC (16 years, 10 months ago) by
This commit was manufactured by cvs2svn to create branch
'primop-branch'.

Revision 1347 - Directory Listing
Modified Thu Aug 28 21:59:15 2003 UTC (16 years, 10 months ago) by mblume
Original Path: sml/trunk/src/compiler/CodeGen/cpscompile
implemented IntInf in Basis and compiler;
new version number; new bootfiles

Revision 1334 - Directory Listing
Modified Thu May 22 22:46:30 2003 UTC (17 years, 1 month ago) by mblume
Original Path: sml/trunk/src/compiler/CodeGen/cpscompile
major cleanup: eliminate all non-exhaustive pattern matches

Revision 1174 - Directory Listing
Modified Sat Mar 23 21:14:40 2002 UTC (18 years, 3 months ago) by leunga
Original Path: sml/trunk/src/compiler/CodeGen/cpscompile

    Added some new primops for creating/manipulating temporary "C" objects
    allocated on the ml heap.

Revision 1168 - Directory Listing
Modified Fri Mar 22 19:19:32 2002 UTC (18 years, 3 months ago) by george
Original Path: sml/trunk/src/compiler/CodeGen/cpscompile
Implemented the Ball-Larus branch prediction-heuristic, and
incorporated graphical viewers for control flow graphs.

Ball-Larus Heuristic:
---------------------
See the file compiler/CodeGen/cpscompile/cpsBranchProb.sml.

By design it uses the Dempster-Shafer theory for combining
probabilities.  For example, in the function:

    fun f(n,acc) = if n = 0 then acc else f(n-1, n*acc)

the ball-larus heuristics predicts that the n=0 is unlikely
(OH-heuristic), and the 'then' branch is unlikely because of the
RH-heuristic -- giving the 'then' branch an even lower combined
probability using the Dempster-Shater theory.

Finally, John Reppy's loop analysis in MLRISC, further lowers the
probability of the 'then' branch because of the loop in the else
branch.


Graphical Viewing:
------------------
I merely plugged in Allen's graphical viewers into the compiler. The
additional code is not much. At the top level, saying:

	Control.MLRISC.getFlag "cfg-graphical-view" := true;

will display the graphical view of the control flow graph just before
back-patching.  daVinci must be in your path for this to work. If
daVinci is not available, then the default viewer can be changed
using:

	Control.MLRISC.getString "viewer"

which can be set to "dot" or "vcg" for the corresponding viewers. Of
course, these viewers must be in your path.

The above will display the compilation unit at the level of clusters,
many of which are small, boring, and un-interesting. Also setting:

	Control.MLRISC.getInt "cfg-graphical-view_size"

will display clusters that are larger than the value set by the above.

Revision 1136 - Directory Listing
Modified Tue Mar 12 19:44:02 2002 UTC (18 years, 4 months ago) by george
Original Path: sml/trunk/src/compiler/CodeGen/cpscompile
Integrated jump chaining and static block frequency into the
compiler. More details and numbers later.

Revision 1126 - Directory Listing
Modified Thu Mar 7 21:16:28 2002 UTC (18 years, 4 months ago) by blume
Original Path: sml/trunk/src/compiler/CodeGen/cpscompile
implemented generic Controls module and used it for
all compiler flags/tuneable knobs/...;
more command-line options accepted (for setting the above controls);
some minor bug fixes

Revision 1121 - Directory Listing
Modified Wed Mar 6 19:58:56 2002 UTC (18 years, 4 months ago) by blume
Original Path: sml/trunk/src/compiler/CodeGen/cpscompile
fixed downstream problems caused by those Freq type change in MLRISC

Revision 1094 - Directory Listing
Modified Mon Feb 25 09:58:56 2002 UTC (18 years, 4 months ago) by leunga
Original Path: sml/trunk/src/compiler/CodeGen/cpscompile

    A new CPS spill phase.  Compilation of large structures with over
1000 items can now finish before the heat death of the universe.

Revision 991 - Directory Listing
Modified Thu Nov 22 14:25:12 2001 UTC (18 years, 7 months ago) by george
Original Path: sml/trunk/src/compiler/CodeGen/cpscompile
  Fixed a bug on non-x86 architectures related to backpatching
  and the new pseudo-ops.

Revision 984 - Directory Listing
Modified Wed Nov 21 19:00:08 2001 UTC (18 years, 7 months ago) by george
Original Path: sml/trunk/src/compiler/CodeGen/cpscompile
  Implemented a complete redesign of MLRISC pseudo-ops. Now there
  ought to never be any question of incompatabilities with
  pseudo-op syntax expected by host assemblers.

  For now, only modules supporting GAS syntax are implemented
  but more should follow, such as MASM, and vendor assembler
  syntax, e.g. IBM as, Sun as, etc.

Revision 933 - Directory Listing
Modified Wed Sep 19 19:31:19 2001 UTC (18 years, 9 months ago) by george
Original Path: sml/trunk/src/compiler/CodeGen/cpscompile
  cleanup

Revision 909 - Directory Listing
Modified Fri Aug 24 17:48:53 2001 UTC (18 years, 10 months ago) by george
Original Path: sml/trunk/src/compiler/CodeGen/cpscompile
removed clusters from MLRISC

Revision 889 - Directory Listing
Modified Thu Jul 19 20:35:20 2001 UTC (18 years, 11 months ago) by george
Original Path: sml/trunk/src/compiler/CodeGen/cpscompile
Substantial simplification in the CELLS interface

Revision 840 - Directory Listing
Modified Fri Jun 15 19:05:19 2001 UTC (19 years, 1 month ago) by blume
Original Path: sml/trunk/src/compiler/CodeGen/cpscompile
c-calls (and NLFFI) implementation for Sparc

Revision 839 - Directory Listing
Modified Thu Jun 7 20:28:44 2001 UTC (19 years, 1 month ago) by blume
Original Path: sml/trunk/src/compiler/CodeGen/cpscompile
several internal changes related to C calls

Revision 823 - Directory Listing
Modified Tue May 8 21:25:15 2001 UTC (19 years, 2 months ago) by george
Original Path: sml/trunk/src/compiler/CodeGen/cpscompile
omit frame pointer optimization

Revision 775 - Directory Listing
Modified Fri Jan 12 01:17:51 2001 UTC (19 years, 6 months ago) by leunga
Original Path: sml/trunk/src/compiler/CodeGen/cpscompile

    Merging the types labexp and mltree.
    tag leunga-20010111-labexp=mltree

Revision 773 - Directory Listing
Modified Mon Jan 8 16:18:37 2001 UTC (19 years, 6 months ago) by blume
Original Path: sml/trunk/src/compiler/CodeGen/cpscompile
merging changes from private branch

Revision 772 - Directory Listing
Modified Thu Jan 4 15:36:41 2001 UTC (19 years, 6 months ago) by blume
Original Path: sml/trunk/src/compiler/CodeGen/cpscompile
merging changes from private branch

Revision 761 - Directory Listing
Modified Sat Dec 23 05:37:37 2000 UTC (19 years, 6 months ago) by george
Original Path: sml/trunk/src/compiler/CodeGen/cpscompile
infinite precision in MLRISC

Revision 744 - Directory Listing
Modified Fri Dec 8 04:11:42 2000 UTC (19 years, 7 months ago) by leunga
Original Path: sml/trunk/src/compiler/CodeGen/cpscompile

   A CVS update record!

   Changed type cell from int to datatype, and numerous other changes.
   Affect every client of MLRISC.  Lal says this can be bootstrapped on all
   machines.  See smlnj/HISTORY for details.

   Tag:  leunga-20001207-cell-monster-hack

Revision 733 - Directory Listing
Modified Fri Nov 17 05:13:45 2000 UTC (19 years, 8 months ago) by blume
Original Path: sml/trunk/src/compiler/CodeGen/cpscompile
merged the big housecleaning patch (see HISTORY!)

Revision 717 - Directory Listing
Modified Sun Nov 5 15:07:51 2000 UTC (19 years, 8 months ago) by george
Original Path: sml/trunk/src/compiler/CodeGen/cpscompile
support for sqrt and trig functions on the x86

Revision 657 - Directory Listing
Modified Fri Jun 9 05:20:54 2000 UTC (20 years, 1 month ago) by leunga
Original Path: sml/trunk/src/compiler/CodeGen/cpscompile

     None of these changes should affect SML/NJ.  See HISTORY file for details.
     CVS Tag=leunga-20000609-various

Revision 651 - Directory Listing
Modified Thu Jun 1 18:34:03 2000 UTC (20 years, 1 month ago) by monnier
Original Path: sml/trunk/src/compiler/CodeGen/cpscompile
bring revisions from the vendor branch to the trunk

Revision 624 - Directory Listing
Modified Fri Apr 21 03:06:21 2000 UTC (20 years, 2 months ago) by leunga
Original Path: sml/trunk/src/compiler/CodeGen/cpscompile

   This update synchronizes my repository with Yale's.  Most of these
changes are related to C--, Moby, and my optimizations.  It should have
little impact on SML/NJ.

   CVS tag leunga-20000420-ssa-c---stuff

Revision 602 - Directory Listing
Modified Thu Apr 6 05:31:24 2000 UTC (20 years, 3 months ago) by leunga
Original Path: sml/trunk/src/compiler/CodeGen/cpscompile

    Forgot these files in the last update

Revision 591 - Directory Listing
Modified Mon Apr 3 01:19:20 2000 UTC (20 years, 3 months ago) by leunga
Original Path: sml/trunk/src/compiler/CodeGen/cpscompile

   1. Renamed the constructor CALL in MLTREE by popular demand.
   2. Added a bunch of files from my repository.  These are currently
      used by other non-SMLNJ backends.

Revision 590 - Directory Listing
Modified Sat Apr 1 02:24:08 2000 UTC (20 years, 3 months ago) by leunga
Original Path: sml/trunk/src/compiler/CodeGen/cpscompile

   This update contains a new module for extracting aliasing information.
   CVS tag: leunga-20000331-aliasing

Revision 585 - Directory Listing
Modified Wed Mar 29 23:55:35 2000 UTC (20 years, 3 months ago) by leunga
Original Path: sml/trunk/src/compiler/CodeGen/cpscompile

   This update contains major changes to the code generator and various
back ends.  Please see the entry leunga-20000327-mlriscGen_hppa_alpha_x86
in the file sml/HISTORY for details.

Revision 563 - Directory Listing
Modified Fri Mar 3 16:39:32 2000 UTC (20 years, 4 months ago) by george
Original Path: sml/trunk/src/compiler/CodeGen/cpscompile
lal-20000303-new mltree -- take II

Revision 555 - Directory Listing
Modified Fri Mar 3 16:10:30 2000 UTC (20 years, 4 months ago) by george
Original Path: sml/trunk/src/compiler/CodeGen/cpscompile
lal-20000303-new mltree -- take II

Revision 546 - Directory Listing
Modified Thu Feb 24 14:04:51 2000 UTC (20 years, 4 months ago) by george
Original Path: sml/trunk/src/compiler/CodeGen/cpscompile
  Changes to MLTREE

Revision 521 - Directory Listing
Modified Wed Jan 12 20:44:11 2000 UTC (20 years, 6 months ago) by dbm
Original Path: sml/trunk/src/compiler/CodeGen/cpscompile
Allen's fix for gc code generation problem

Revision 515 - Directory Listing
Modified Sun Jan 9 09:59:14 2000 UTC (20 years, 6 months ago) by blume
Original Path: sml/trunk/src/compiler/CodeGen/cpscompile
pickler bug fixes; some cosmetic changes

Revision 499 - Directory Listing
Modified Tue Dec 7 15:44:50 1999 UTC (20 years, 7 months ago) by monnier
Original Path: sml/trunk/src/compiler/CodeGen/cpscompile
This commit was generated by cvs2svn to compensate for changes in r498,
which included commits to RCS files with non-trunk default branches.

Revision 476 - Directory Listing
Modified Wed Nov 10 22:59:58 1999 UTC (20 years, 8 months ago) by monnier
Original Path: sml/trunk/src/compiler/CodeGen/cpscompile
This commit was generated by cvs2svn to compensate for changes in r475,
which included commits to RCS files with non-trunk default branches.

Revision 473 - Directory Listing
Modified Wed Nov 10 22:54:26 1999 UTC (20 years, 8 months ago) by monnier
Original Path: sml/trunk/src/compiler/CodeGen/cpscompile
Initial revision

Revision 470 - Directory Listing
Modified Wed Nov 10 22:42:52 1999 UTC (20 years, 8 months ago) by monnier
Original Path: sml/trunk/src/compiler/CodeGen/cpscompile
This commit was generated by cvs2svn to compensate for changes in r469,
which included commits to RCS files with non-trunk default branches.

Revision 430 - Directory Listing
Modified Wed Sep 8 09:47:00 1999 UTC (20 years, 10 months ago) by monnier
Original Path: sml/trunk/src/compiler/CodeGen/cpscompile
This commit was generated by cvs2svn to compensate for changes in r429,
which included commits to RCS files with non-trunk default branches.

Revision 427 - Directory Listing
Modified Wed Sep 8 09:40:08 1999 UTC (20 years, 10 months ago) by monnier
Original Path: sml/trunk/src/compiler/CodeGen/cpscompile
Initial revision

Revision 419 - Directory Listing
Modified Fri Sep 3 23:51:27 1999 UTC (20 years, 10 months ago) by monnier
Original Path: sml/trunk/src/compiler/CodeGen/cpscompile
This commit was generated by cvs2svn to compensate for changes in r418,
which included commits to RCS files with non-trunk default branches.

Revision 412 - Directory Listing
Modified Fri Sep 3 00:25:03 1999 UTC (20 years, 10 months ago) by monnier
Original Path: sml/trunk/src/compiler/CodeGen/cpscompile
This commit was generated by cvs2svn to compensate for changes in r411,
which included commits to RCS files with non-trunk default branches.

Revision 409 - Directory Listing
Modified Fri Sep 3 00:21:52 1999 UTC (20 years, 10 months ago) by monnier
Original Path: sml/trunk/src/compiler/CodeGen/cpscompile
Initial revision

Revision 290 - Directory Listing
Modified Sat May 22 21:01:25 1999 UTC (21 years, 1 month ago) by monnier
Original Path: sml/trunk/src/compiler/CodeGen/cpscompile
This commit was generated by cvs2svn to compensate for changes in r289,
which included commits to RCS files with non-trunk default branches.

Revision 285 - Directory Listing
Modified Wed May 19 23:31:25 1999 UTC (21 years, 2 months ago) by monnier
Original Path: sml/trunk/src/compiler/CodeGen/cpscompile
This commit was generated by cvs2svn to compensate for changes in r284,
which included commits to RCS files with non-trunk default branches.

Revision 248 - Directory Listing
Modified Sat Apr 17 18:47:13 1999 UTC (21 years, 3 months ago) by monnier
Original Path: sml/trunk/src/compiler/CodeGen/cpscompile
This commit was generated by cvs2svn to compensate for changes in r247,
which included commits to RCS files with non-trunk default branches.

Revision 246 - Directory Listing
Modified Sat Apr 17 18:47:12 1999 UTC (21 years, 3 months ago) by monnier
Original Path: sml/trunk/src/compiler/CodeGen/cpscompile
This commit was generated by cvs2svn to compensate for changes in r245,
which included commits to RCS files with non-trunk default branches.

Revision 244 - Directory Listing
Modified Sat Apr 17 18:41:51 1999 UTC (21 years, 3 months ago) by monnier
Original Path: sml/trunk/src/compiler/CodeGen/cpscompile
This commit was generated by cvs2svn to compensate for changes in r243,
which included commits to RCS files with non-trunk default branches.

Revision 241 - Directory Listing
Modified Sat Apr 17 18:35:00 1999 UTC (21 years, 3 months ago) by monnier
Original Path: sml/trunk/src/compiler/CodeGen/cpscompile
Initial revision

Revision 240 - Directory Listing
Modified Sat Apr 17 18:29:24 1999 UTC (21 years, 3 months ago) by monnier
Original Path: sml/trunk/src/compiler/CodeGen/cpscompile
This commit was generated by cvs2svn to compensate for changes in r239,
which included commits to RCS files with non-trunk default branches.

Revision 237 - Directory Listing
Modified Sat Apr 17 18:26:03 1999 UTC (21 years, 3 months ago) by monnier
Original Path: sml/trunk/src/compiler/CodeGen/cpscompile
Initial revision

Revision 236 - Directory Listing
Modified Sat Apr 17 18:21:47 1999 UTC (21 years, 3 months ago) by monnier
Original Path: sml/trunk/src/compiler/CodeGen/cpscompile
This commit was generated by cvs2svn to compensate for changes in r235,
which included commits to RCS files with non-trunk default branches.

Revision 228 - Directory Listing
Modified Sat Apr 17 17:15:03 1999 UTC (21 years, 3 months ago) by monnier
Original Path: sml/trunk/src/compiler/CodeGen/cpscompile
This commit was generated by cvs2svn to compensate for changes in r227,
which included commits to RCS files with non-trunk default branches.

Revision 224 - Directory Listing
Modified Sat Apr 17 16:27:01 1999 UTC (21 years, 3 months ago) by monnier
Original Path: sml/trunk/src/compiler/CodeGen/cpscompile
This commit was generated by cvs2svn to compensate for changes in r223,
which included commits to RCS files with non-trunk default branches.

Revision 221 - Directory Listing
Modified Sat Apr 17 16:19:57 1999 UTC (21 years, 3 months ago) by monnier
Original Path: sml/trunk/src/compiler/CodeGen/cpscompile
Initial revision

Revision 174 - Directory Listing
Modified Sat Nov 7 22:37:14 1998 UTC (21 years, 8 months ago) by monnier
Original Path: sml/trunk/src/compiler/CodeGen/cpscompile
Initial revision

Revision 168 - Directory Listing
Modified Sat Nov 7 20:11:41 1998 UTC (21 years, 8 months ago) by monnier
Original Path: sml/trunk/src/compiler/CodeGen/cpscompile
This commit was generated by cvs2svn to compensate for changes in r167,
which included commits to RCS files with non-trunk default branches.

Revision 114 - Directory Listing
Modified Fri Jun 5 19:41:21 1998 UTC (22 years, 1 month ago) by monnier
Original Path: sml/trunk/src/compiler/CodeGen/cpscompile
This commit was generated by cvs2svn to compensate for changes in r113,
which included commits to RCS files with non-trunk default branches.

Revision 107 - Directory Listing
Modified Thu May 28 21:30:17 1998 UTC (22 years, 1 month ago) by monnier
Original Path: sml/trunk/src/compiler/CodeGen/cpscompile
This commit was generated by cvs2svn to compensate for changes in r106,
which included commits to RCS files with non-trunk default branches.

Revision 95 - Directory Listing
Modified Wed May 13 00:49:12 1998 UTC (22 years, 2 months ago) by monnier
Original Path: sml/trunk/src/compiler/CodeGen/cpscompile
merged with 110.5

Revision 94 - Directory Listing
Modified Tue May 12 21:56:22 1998 UTC (22 years, 2 months ago) by monnier
Original Path: sml/trunk/src/compiler/CodeGen/cpscompile
This commit was generated by cvs2svn to compensate for changes in r93,
which included commits to RCS files with non-trunk default branches.

Revision 70 - Directory Listing
Modified Fri Apr 3 00:06:55 1998 UTC (22 years, 3 months ago) by monnier
Original Path: sml/trunk/src/compiler/CodeGen/cpscompile
This commit was generated by cvs2svn to compensate for changes in r69,
which included commits to RCS files with non-trunk default branches.

Revision 47 - Directory Listing
Modified Sun Mar 22 21:53:07 1998 UTC (22 years, 3 months ago) by monnier
Original Path: sml/trunk/src/compiler/CodeGen/cpscompile
*** empty log message ***

Revision 16 - Directory Listing
Added Wed Mar 11 21:00:04 1998 UTC (22 years, 4 months ago) by monnier
Original Path: sml/trunk/src/compiler/CodeGen/cpscompile
Initial revision

Sort log by:

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0