This is the mail archive of the
cgen@sources.redhat.com
mailing list for the CGEN project.
Not too many sfmts
- To: cgen at sources dot redhat dot com
- Subject: Not too many sfmts
- From: "Frank Ch. Eigler" <fche at redhat dot com>
- Date: Sat, 11 Nov 2000 12:32:13 -0500
Hi -
I committed a patch that adds a boolean parameter to (gen-decoder) in
utils-sim.scm. This parameter governs whether the sfmt extractor
expressions should be emitted as branches to after the decoder switch
stmts, or else as calls to extractor functions. This initial patch
hard-codes the parameter to #f, so existing simulators won't be generated
differently. (An internal implementation uses #t, getting around the
excessive-sfmt-compiler-memory-explosion problem.)
Ideally, the (-gen-decode-fn) function should decide whether there are
too many extractors to risk putting them inline, and if so, generate
extractor functions instead. Later.
- FChE
PGP signature