Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] Log of /branches/pure-cfg/src/compiler/c-target/c-target.sml
ViewVC logotype

Log of /branches/pure-cfg/src/compiler/c-target/c-target.sml

Parent Directory Parent Directory


Links to HEAD: (view) (download) (annotate)
Sticky Revision:

Revision 1630 - (view) (download) (annotate) - [select for diffs]
Modified Sun Nov 13 19:05:36 2011 UTC (8 years ago) by jhr
File length: 20667 byte(s)
Diff to previous 1628
  Changed C language printing so that verbatim decls to not have newlines appended
  to them.

Revision 1628 - (view) (download) (annotate) - [select for diffs]
Modified Sat Nov 12 18:00:41 2011 UTC (8 years ago) by jhr
File length: 20655 byte(s)
Diff to previous 1617
  Printing support (scalar values only for starts)

Revision 1617 - (view) (download) (annotate) - [select for diffs]
Modified Fri Nov 11 07:05:38 2011 UTC (8 years ago) by lamonts
File length: 20567 byte(s)
Diff to previous 1593
Fixed major illust-vr bug that made images too dark. 

Revision 1593 - (view) (download) (annotate) - [select for diffs]
Modified Tue Nov 1 12:28:30 2011 UTC (8 years ago) by jhr
File length: 20566 byte(s)
Diff to previous 1526
  Adding support for double-precision.  The approach is to use typedefs in the C header
  files for the Diderot types.

Revision 1526 - (view) (download) (annotate) - [select for diffs]
Modified Thu Oct 13 21:27:17 2011 UTC (8 years, 1 month ago) by lamonts
File length: 20496 byte(s)
Diff to previous 1522
Bug Fix: After the previous commit, the output was not correct for the OpenCL backend because it uses the shadow strand size rather than the original strand size. Fixed 

Revision 1522 - (view) (download) (annotate) - [select for diffs]
Modified Mon Oct 10 15:34:37 2011 UTC (8 years, 1 month ago) by jhr
File length: 20449 byte(s)
Diff to previous 1505
  Added sequence and tuple types to the Mid and Low ILs.  Replaced the IVecTy
  constructor with IntTy and SeqTy.

Revision 1505 - (view) (download) (annotate) - [select for diffs]
Modified Tue Sep 20 13:24:45 2011 UTC (8 years, 1 month ago) by jhr
File length: 20442 byte(s)
Diff to previous 1504
  Renamed the MethodName module StrandUtil and added the strand properties to it.  Also added
  strand properties to the IL representation.

Revision 1504 - (view) (download) (annotate) - [select for diffs]
Modified Mon Sep 19 17:55:42 2011 UTC (8 years, 1 month ago) by jhr
File length: 20452 byte(s)
Diff to previous 1487
  Major change to the intermediate representation.  The loading and saving of
  strand state variables is now explicit, which simplifies a lot of things.

Revision 1487 - (view) (download) (annotate) - [select for diffs]
Modified Fri Sep 9 01:44:27 2011 UTC (8 years, 2 months ago) by jhr
File length: 21041 byte(s)
Diff to previous 1480
  Minor tweaks

Revision 1480 - (view) (download) (annotate) - [select for diffs]
Modified Fri Sep 2 20:17:11 2011 UTC (8 years, 2 months ago) by jhr
File length: 20866 byte(s)
Diff to previous 1479
  Added comments and fixed indentation

Revision 1479 - (view) (download) (annotate) - [select for diffs]
Modified Fri Sep 2 14:17:54 2011 UTC (8 years, 2 months ago) by nseltzer
File length: 21169 byte(s)
Diff to previous 1478
Moved output proceedure to seperate file and updated c-target to use new output.

Revision 1478 - (view) (download) (annotate) - [select for diffs]
Modified Thu Sep 1 13:09:11 2011 UTC (8 years, 2 months ago) by jhr
File length: 21119 byte(s)
Diff to previous 1477
  some cleanup of the strand descriptor structure

Revision 1477 - (view) (download) (annotate) - [select for diffs]
Modified Wed Aug 31 19:01:58 2011 UTC (8 years, 2 months ago) by jhr
File length: 21033 byte(s)
Diff to previous 1475
  More runtime-system name cleanup

Revision 1475 - (view) (download) (annotate) - [select for diffs]
Modified Wed Aug 31 18:46:42 2011 UTC (8 years, 2 months ago) by jhr
File length: 20991 byte(s)
Diff to previous 1451
  Tweaking runtime system names

Revision 1451 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jul 18 19:45:17 2011 UTC (8 years, 3 months ago) by jhr
File length: 20870 byte(s)
Diff to previous 1449
  Split encoding nrrd types into separate file so that we can share it
  across targets.

Revision 1449 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jul 18 15:26:21 2011 UTC (8 years, 3 months ago) by nseltzer
File length: 22111 byte(s)
Diff to previous 1448
Compiler changes for output as a nrrd.

Revision 1448 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jul 12 13:25:08 2011 UTC (8 years, 4 months ago) by jhr
File length: 19972 byte(s)
Diff to previous 1443
  Working on stabilize support

Revision 1443 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jul 11 10:36:10 2011 UTC (8 years, 4 months ago) by jhr
File length: 19881 byte(s)
Diff to previous 1374
  Added datatype to represent method names.

Revision 1374 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jun 22 21:43:07 2011 UTC (8 years, 4 months ago) by jhr
File length: 19618 byte(s)
Diff to previous 1293
  merging changes from trunk

Revision 1293 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jun 8 19:09:52 2011 UTC (8 years, 5 months ago) by jhr
File length: 15731 byte(s)
Diff to previous 1285
  adding outputSzb to strand structure

Revision 1285 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jun 7 10:33:17 2011 UTC (8 years, 5 months ago) by jhr
File length: 15631 byte(s)
Diff to previous 1283
  Made TreeToCL into a functor parameterized over the translation of variables.
  This allows different clients to have different representations for globals, etc.

Revision 1283 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jun 6 22:24:53 2011 UTC (8 years, 5 months ago) by jhr
File length: 14554 byte(s)
Diff to previous 1280
  Move shared C codegen support to c-util.

Revision 1280 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jun 6 17:34:42 2011 UTC (8 years, 5 months ago) by jhr
File length: 14559 byte(s)
Diff to previous 1279
  Use the program name as the default output file name.

Revision 1279 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jun 6 17:09:33 2011 UTC (8 years, 5 months ago) by jhr
File length: 14117 byte(s)
Diff to previous 1278
  Move OpenCL specific types from clang.sml to cl-target.sml

Revision 1278 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jun 6 16:27:28 2011 UTC (8 years, 5 months ago) by jhr
File length: 13988 byte(s)
Diff to previous 1262
  Added name field to program representation and switched to smart constructors
  in OpenCL backend

Revision 1262 - (view) (download) (annotate) - [select for diffs]
Modified Sat May 28 23:45:43 2011 UTC (8 years, 5 months ago) by jhr
File length: 13915 byte(s)
Diff to previous 1261
  Working on command-line option support

Revision 1261 - (view) (download) (annotate) - [select for diffs]
Modified Sat May 28 23:16:30 2011 UTC (8 years, 5 months ago) by jhr
File length: 13926 byte(s)
Diff to previous 1215
  Working on compiler support for command-line options

Revision 1215 - (view) (download) (annotate) - [select for diffs]
Modified Sat May 14 05:54:07 2011 UTC (8 years, 6 months ago) by jhr
File length: 13717 byte(s)
Diff to previous 1209
  Working on support for parallel runtime

Revision 1209 - (view) (download) (annotate) - [select for diffs]
Modified Thu May 12 21:51:37 2011 UTC (8 years, 6 months ago) by jhr
File length: 13441 byte(s)
Diff to previous 1172
  Working on parallel runtime

Revision 1172 - (view) (download) (annotate) - [select for diffs]
Modified Tue May 10 15:57:48 2011 UTC (8 years, 6 months ago) by jhr
File length: 13442 byte(s)
Diff to previous 1157
  Working on multiple-target support

Revision 1157 - (view) (download) (annotate) - [select for diffs]
Modified Mon May 9 15:47:35 2011 UTC (8 years, 6 months ago) by jhr
File length: 12310 byte(s)
Diff to previous 1153
  Lots of work on getting the IL invariants right.

Revision 1153 - (view) (download) (annotate) - [select for diffs]
Modified Sat May 7 19:12:57 2011 UTC (8 years, 6 months ago) by jhr
File length: 12205 byte(s)
Diff to previous 1044
  Working on debugging value numbering

Revision 1044 - (view) (download) (annotate) - [select for diffs]
Modified Mon May 2 03:05:12 2011 UTC (8 years, 6 months ago) by jhr
File length: 12266 byte(s)
Diff to previous 1041
  More tweaks to get strand state variables right.

Revision 1041 - (view) (download) (annotate) - [select for diffs]
Modified Mon May 2 01:50:13 2011 UTC (8 years, 6 months ago) by jhr
File length: 12063 byte(s)
Diff to previous 1032
  Lots of tweaking of the variable analysis phase and its use in translating
  Low IL to Tree IL.

Revision 1032 - (view) (download) (annotate) - [select for diffs]
Modified Sun May 1 17:39:37 2011 UTC (8 years, 6 months ago) by jhr
File length: 12041 byte(s)
Diff to previous 987
  Finish implementing field scaling, addition, and subtraction

Revision 987 - (view) (download) (annotate) - [select for diffs]
Modified Tue Apr 26 21:43:17 2011 UTC (8 years, 6 months ago) by jhr
File length: 12026 byte(s)
Diff to previous 984
  Split code to compile and link C code into its own module.

Revision 984 - (view) (download) (annotate) - [select for diffs]
Modified Tue Apr 26 17:04:32 2011 UTC (8 years, 6 months ago) by jhr
File length: 13135 byte(s)
Diff to previous 969
  Added -rpath flag to linking phase so that dynamic libraries work on Linux

Revision 969 - (view) (download) (annotate) - [select for diffs]
Modified Mon Apr 25 21:48:28 2011 UTC (8 years, 6 months ago) by jhr
File length: 13060 byte(s)
Diff to previous 842
  Fix flag passed to C compiler

Revision 842 - (view) (download) (annotate) - [select for diffs]
Modified Mon Apr 18 17:58:57 2011 UTC (8 years, 6 months ago) by jhr
File length: 13059 byte(s)
Diff to previous 840
  Working on refactoring

Revision 840 - (view) (download) (annotate) - [select for diffs]
Modified Mon Apr 18 17:12:43 2011 UTC (8 years, 6 months ago) by jhr
File length: 12996 byte(s)
Diff to previous 839
  Working on codegen refactoring

Revision 839 - (view) (download) (annotate) - [select for diffs]
Modified Mon Apr 18 16:50:47 2011 UTC (8 years, 6 months ago) by jhr
File length: 13064 byte(s)
Diff to previous 826
  Working on refactoring code generation

Revision 826 - (view) (download) (annotate) - [select for diffs]
Modified Fri Apr 15 14:41:44 2011 UTC (8 years, 6 months ago) by jhr
File length: 25627 byte(s)
Diff to previous 812
  Be more consistent about using functions to build CLang terms (instead of using
  the raw constructors)

Revision 812 - (view) (download) (annotate) - [select for diffs]
Modified Tue Apr 12 18:01:07 2011 UTC (8 years, 7 months ago) by jhr
File length: 25631 byte(s)
Diff to previous 806
  Added codegen support for vector-matrix, matrix-vector, and matrix-matrix
  multiplication

Revision 806 - (view) (download) (annotate) - [select for diffs]
Modified Tue Apr 12 14:07:55 2011 UTC (8 years, 7 months ago) by jhr
File length: 24709 byte(s)
Diff to previous 802
  Use matrix copy when assigning to matrix variables.

Revision 802 - (view) (download) (annotate) - [select for diffs]
Modified Tue Apr 12 02:57:14 2011 UTC (8 years, 7 months ago) by jhr
File length: 24424 byte(s)
Diff to previous 798
  Added matrix subscripting support to code generation

Revision 798 - (view) (download) (annotate) - [select for diffs]
Modified Mon Apr 11 19:37:56 2011 UTC (8 years, 7 months ago) by jhr
File length: 24262 byte(s)
Diff to previous 754
  Added codegen support for creating matrices

Revision 754 - (view) (download) (annotate) - [select for diffs]
Modified Thu Apr 7 14:55:33 2011 UTC (8 years, 7 months ago) by jhr
File length: 23927 byte(s)
Diff to previous 736
  Added lerp as an overloaded function

Revision 736 - (view) (download) (annotate) - [select for diffs]
Modified Sat Apr 2 18:50:43 2011 UTC (8 years, 7 months ago) by jhr
File length: 23506 byte(s)
Diff to previous 732
  Overhaul in the way that the MidIL and LowIL represent tensor types (especially
  for orders > 1).  We still need to deal with the flattening of tensor-value
  construction

Revision 732 - (view) (download) (annotate) - [select for diffs]
Modified Sat Apr 2 03:18:30 2011 UTC (8 years, 7 months ago) by jhr
File length: 23340 byte(s)
Diff to previous 731
  Fixed bug in the C code that gets generated for subscripting vectors

Revision 731 - (view) (download) (annotate) - [select for diffs]
Modified Sat Apr 2 03:15:31 2011 UTC (8 years, 7 months ago) by jhr
File length: 23275 byte(s)
Diff to previous 705
  The C-target now compiles and links the generated C code

Revision 705 - (view) (download) (annotate) - [select for diffs]
Modified Tue Mar 29 20:19:31 2011 UTC (8 years, 7 months ago) by jhr
File length: 22185 byte(s)
Diff to previous 695
  Added subscript for vectors and code generation for Subscript when argument
  is vector.

Revision 695 - (view) (download) (annotate) - [select for diffs]
Modified Fri Mar 25 17:52:54 2011 UTC (8 years, 7 months ago) by jhr
File length: 21838 byte(s)
Diff to previous 683
  Added mechanism for supporting "black box" functions (e.g., sin and sqrt).
  Also added atan2, sqrt, and tan functions to Basis

Revision 683 - (view) (download) (annotate) - [select for diffs]
Modified Thu Mar 24 00:42:27 2011 UTC (8 years, 7 months ago) by jhr
File length: 21245 byte(s)
Diff to previous 656
  Added trace operator for 2x2, 3x3, and 4x4 matrices

Revision 656 - (view) (download) (annotate) - [select for diffs]
Modified Mon Mar 21 17:41:26 2011 UTC (8 years, 7 months ago) by jhr
File length: 20919 byte(s)
Diff to previous 654
  Bug fix: get printing format right for vectors

Revision 654 - (view) (download) (annotate) - [select for diffs]
Modified Mon Mar 21 17:10:54 2011 UTC (8 years, 7 months ago) by jhr
File length: 20919 byte(s)
Diff to previous 634
  Added support for tracking output state variables through ILs and generating
  a print function in the C target.

Revision 634 - (view) (download) (annotate) - [select for diffs]
Modified Thu Mar 17 03:42:15 2011 UTC (8 years, 7 months ago) by jhr
File length: 19226 byte(s)
Diff to previous 624
  Add cast to generated code to avoid warning message

Revision 624 - (view) (download) (annotate) - [select for diffs]
Modified Tue Mar 15 21:23:04 2011 UTC (8 years, 7 months ago) by jhr
File length: 19161 byte(s)
Diff to previous 623
  Switch to compiler-generated initially code.

Revision 623 - (view) (download) (annotate) - [select for diffs]
Modified Tue Mar 15 17:04:53 2011 UTC (8 years, 7 months ago) by jhr
File length: 18234 byte(s)
Diff to previous 618
  Working on generating initially code.  Also changed var and exp types in CTarget to
  be datatypes for better typechecking and documentation.

Revision 618 - (view) (download) (annotate) - [select for diffs]
Modified Mon Mar 14 13:21:58 2011 UTC (8 years, 8 months ago) by jhr
File length: 16097 byte(s)
Diff to previous 617
  More work on supporting initially in code generation

Revision 617 - (view) (download) (annotate) - [select for diffs]
Modified Sun Mar 13 16:51:09 2011 UTC (8 years, 8 months ago) by jhr
File length: 15754 byte(s)
Diff to previous 615
  Adding for loops to C code generator

Revision 615 - (view) (download) (annotate) - [select for diffs]
Modified Sun Mar 13 14:36:05 2011 UTC (8 years, 8 months ago) by jhr
File length: 15651 byte(s)
Diff to previous 600
  Adding for loops to TreeIL to support initially code generation

Revision 600 - (view) (download) (annotate) - [select for diffs]
Modified Fri Mar 11 15:38:11 2011 UTC (8 years, 8 months ago) by jhr
File length: 15593 byte(s)
Diff to previous 584
  Bug fix: the update function was cast to the wrong type

Revision 584 - (view) (download) (annotate) - [select for diffs]
Modified Tue Mar 8 15:30:03 2011 UTC (8 years, 8 months ago) by jhr
File length: 15591 byte(s)
Diff to previous 576
  Fix conversions from float vector to integer vectors

Revision 576 - (view) (download) (annotate) - [select for diffs]
Modified Fri Mar 4 01:13:40 2011 UTC (8 years, 8 months ago) by jhr
File length: 15599 byte(s)
Diff to previous 573
  Fixed bug in code generation for inside test

Revision 573 - (view) (download) (annotate) - [select for diffs]
Modified Thu Mar 3 17:43:19 2011 UTC (8 years, 8 months ago) by jhr
File length: 15599 byte(s)
Diff to previous 565
  Working on missing pieces of code generation

Revision 565 - (view) (download) (annotate) - [select for diffs]
Modified Thu Feb 24 18:34:48 2011 UTC (8 years, 8 months ago) by jhr
File length: 14603 byte(s)
Diff to previous 564
  Streamlined code for real to int conversions

Revision 564 - (view) (download) (annotate) - [select for diffs]
Modified Wed Feb 23 22:34:31 2011 UTC (8 years, 8 months ago) by jhr
File length: 15019 byte(s)
Diff to previous 562
  Working on code generation

Revision 562 - (view) (download) (annotate) - [select for diffs]
Modified Wed Feb 23 15:17:44 2011 UTC (8 years, 8 months ago) by jhr
File length: 14985 byte(s)
Diff to previous 561
  Working on code generation.

Revision 561 - (view) (download) (annotate) - [select for diffs]
Modified Wed Feb 23 00:31:32 2011 UTC (8 years, 8 months ago) by jhr
File length: 14935 byte(s)
Diff to previous 554
  Working on C target and code generation

Revision 554 - (view) (download) (annotate) - [select for diffs]
Modified Mon Feb 21 15:50:21 2011 UTC (8 years, 8 months ago) by jhr
File length: 14425 byte(s)
Diff to previous 553
  Working on code generation

Revision 553 - (view) (download) (annotate) - [select for diffs]
Modified Fri Feb 18 19:18:47 2011 UTC (8 years, 8 months ago) by jhr
File length: 13508 byte(s)
Diff to previous 552
  Working on code generation

Revision 552 - (view) (download) (annotate) - [select for diffs]
Modified Fri Feb 18 15:09:08 2011 UTC (8 years, 8 months ago) by jhr
File length: 13416 byte(s)
Diff to previous 551
  Working on code generation

Revision 551 - (view) (download) (annotate) - [select for diffs]
Modified Fri Feb 18 15:02:25 2011 UTC (8 years, 8 months ago) by jhr
File length: 13410 byte(s)
Diff to previous 549
  Split runtime names and C target types into their own modules.

Revision 549 - (view) (download) (annotate) - [select for diffs]
Modified Thu Feb 17 22:54:25 2011 UTC (8 years, 8 months ago) by jhr
File length: 15095 byte(s)
Diff to previous 548
  Added "allowedInline" function

Revision 548 - (view) (download) (annotate) - [select for diffs]
Modified Thu Feb 17 22:41:53 2011 UTC (8 years, 8 months ago) by jhr
File length: 14971 byte(s)
Diff to previous 547
  Lots of changes to push image info through to the code generator.

Revision 547 - (view) (download) (annotate) - [select for diffs]
Modified Thu Feb 17 14:57:07 2011 UTC (8 years, 8 months ago) by jhr
File length: 13680 byte(s)
Diff to previous 544
  Working on code generation

Revision 544 - (view) (download) (annotate) - [select for diffs]
Modified Wed Feb 16 23:14:14 2011 UTC (8 years, 8 months ago) by jhr
File length: 12966 byte(s)
Diff to previous 537
  Working on code generation

Revision 537 - (view) (download) (annotate) - [select for diffs]
Modified Tue Feb 15 18:02:25 2011 UTC (8 years, 8 months ago) by jhr
File length: 11128 byte(s)
Diff to previous 534
  Debugging code generation

Revision 534 - (view) (download) (annotate) - [select for diffs]
Modified Tue Feb 15 03:40:00 2011 UTC (8 years, 8 months ago) by jhr
File length: 10694 byte(s)
Diff to previous 533
  Working on code generation

Revision 533 - (view) (download) (annotate) - [select for diffs]
Modified Mon Feb 14 22:56:45 2011 UTC (8 years, 8 months ago) by jhr
File length: 10470 byte(s)
Diff to previous 532
  Working on code generation

Revision 532 - (view) (download) (annotate) - [select for diffs]
Modified Mon Feb 14 20:26:41 2011 UTC (8 years, 8 months ago) by jhr
File length: 9117 byte(s)
Diff to previous 528
  Working on code generation

Revision 528 - (view) (download) (annotate) - [select for diffs]
Modified Sun Feb 13 03:05:35 2011 UTC (8 years, 9 months ago) by jhr
File length: 9066 byte(s)
Diff to previous 527
  More work on code generation

Revision 527 - (view) (download) (annotate) - [select for diffs]
Modified Sun Feb 13 02:08:31 2011 UTC (8 years, 9 months ago) by jhr
File length: 8346 byte(s)
Diff to previous 525
  Working on code generation

Revision 525 - (view) (download) (annotate) - [select for diffs]
Modified Sat Feb 12 22:59:18 2011 UTC (8 years, 9 months ago) by jhr
File length: 7833 byte(s)
Diff to previous 522
  Working on code generation

Revision 522 - (view) (download) (annotate) - [select for diffs]
Modified Fri Feb 11 21:35:10 2011 UTC (8 years, 9 months ago) by jhr
File length: 3134 byte(s)
Diff to previous 519
  Working on code generation

Revision 519 - (view) (download) (annotate) - [select for diffs]
Added Thu Feb 10 18:06:18 2011 UTC (8 years, 9 months ago) by jhr
File length: 3108 byte(s)
  Working on code generation

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

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