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

SCM Repository

[diderot] View of /branches/vis12-cl/src/compiler/IL/HOWTO-ADD-NEW-PRIMOP
ViewVC logotype

View of /branches/vis12-cl/src/compiler/IL/HOWTO-ADD-NEW-PRIMOP

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2402 - (download) (annotate)
Sat Jul 27 13:55:03 2013 UTC (6 years, 1 month ago) by jhr
File size: 448 byte(s)
  Create branch for adding OpenCL to vis12 branch.  Based on r2401 of the vis12 branch.
These are instructions for adding a new primitive operator to the IL.

  1) add it to the spec files in compiler/gen/il and run gen.sh

  2) add rules for generating the type signature in the appropriate checking modules in
	high-il/check-high-il.sml
	mid-il/check-mid-il.sml
	low-il/check-low-il.sml

  3) add rules to translate the operator between ILs in
	high-to-mid/high-to-mid.sml
	mid-to-low/mid-to-low.sml

  4) add code generation support

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