From mboxrd@z Thu Jan 1 00:00:00 1970 From: fche@redhat.com (Frank Ch. Eigler) To: cgen@sources.redhat.com Subject: Re: "just in time" compiler/translator for the simulators. Date: Sat, 15 Sep 2001 11:44:00 -0000 Message-id: References: <20010915140753.A532.cygnus.local.cgen@venge.net> X-SW-Source: 2001-q3/msg00063.html 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