This is the mail archive of the cgen@sources.redhat.com mailing list for the CGEN project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Not too many sfmts


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]