This is the mail archive of the
cgen@sourceware.org
mailing list for the CGEN project.
support for multiple rtl versions
- From: Doug Evans <dje at sebabeach dot org>
- To: cgen at sourceware dot org
- Date: Sun, 23 Aug 2009 09:17:09 -0700 (PDT)
- Subject: support for multiple rtl versions
fyi,
I checked this in.
Add define-rtl-version.
* read.scm (-CGEN-RTL-VERSION): Renamed from -CGEN-LANG-VERSION.
(cgen-rtl-major, cgen-rtl-minor): Similarly renamed.
(cgen-lang-fixlevel): Delete.
(-supported-rtl-versions): New variable.
(-cmd-define-rtl-version): New function.
(init-reader!): New command define-rtl-version.
(-cgen): Add rtl version to --version output.
* doc/rtl.texi: Document rtl version support.
* cpu/play.cpu: Add define-rtl-version.
I have a patch that changes keyword definitions a bit to remove
some confusion, and now seemed like a good time to add the above.