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]

Re: "just in time" compiler/translator for the simulators.



graydon wrote:

: [...]  another, slightly weirder approach is to scan your target
: programs insns and emit fully-specialized semantic C for those insns
: alone, and feed them into gcc, essentially pre-decoding and
: pre-extracting the entire set of functions used by your program
: alone. [...]

I actually built a working toy implementation of this sort of thing a
few years ago.  It worked fairly well, demonstrating a number of
predictable down-sides, and a number of exciting possibilities.

I never completed the paper on it, but its last draft may be of
interest to you.  If nothing else, it discusses various simulation
techniques, and it's fairly readable.

        http://web.elastic.org/~fche/gxsim.ps

Get it while it's hot .. uhh ... stone cold.  Limited time offer.

- FChE


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