Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Nov 2000 13:25:07 +0100 (CET)
From:      Espen Skoglund <esk@ira.uka.de>
To:        Doug Rabson <dfr@nlsystems.com>
Cc:        smp@FreeBSD.ORG
Subject:   Re: BSD/OS interrupt code 
Message-ID:  <14883.42019.97348.29186@i30nb2.ira.uka.de>
In-Reply-To: <Pine.BSF.4.21.0011281121020.247-100000@salmon.nlsystems.com>
References:  <20001127193823.BAA5EBA7A@io.yi.org> <Pine.BSF.4.21.0011281121020.247-100000@salmon.nlsystems.com>

next in thread | previous in thread | raw e-mail | index | archive | help
[Doug Rabson]
> On Mon, 27 Nov 2000, Jake Burkholder wrote:
>> As I said, I wouldn't want to do this for any architecture that I
>> know of other than x86.  Its not overly difficult on x86 because
>> everything is on a byte boundary.  sparc, alpha, all the risc
>> architectures that I know anything about have operands at wierd bit
>> offsets in the instruction.

> I have written a runtime code-generator for alpha in the past for
> another project with similar requirements (pasting together 3D
> geometry code fragments) and its actually pretty easy. As far as I
> remember, it only took a couple of hours to write.

I have not followed this discussion closely, so I might be a bit far
out here.  I just wanted to say that if you do consider using run time
generated code, would it not be better to look into things that other
people have worked on before.  You might for instance use Dawson
Engler's vcode:

   <URL:http://www.pdos.lcs.mit.edu/~engler/pldi96-abstract.html>;

As far as I can remember it was used to generate dynamic packet
filters in the Exokernel, but it should be possible to use it for
other things as well.

	eSk


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-smp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14883.42019.97348.29186>