From owner-freebsd-smp Tue Nov 28 3:22:11 2000 Delivered-To: freebsd-smp@freebsd.org Received: from finch-post-11.mail.demon.net (finch-post-11.mail.demon.net [194.217.242.39]) by hub.freebsd.org (Postfix) with ESMTP id C8DDC37B400; Tue, 28 Nov 2000 03:22:08 -0800 (PST) Received: from nlsys.demon.co.uk ([158.152.125.33] helo=herring.nlsystems.com) by finch-post-11.mail.demon.net with esmtp (Exim 2.12 #1) id 140ipq-000J9u-0B; Tue, 28 Nov 2000 11:22:06 +0000 Received: from salmon.nlsystems.com (salmon.nlsystems.com [10.0.0.3]) by herring.nlsystems.com (8.9.3/8.8.8) with ESMTP id LAA16836; Tue, 28 Nov 2000 11:26:45 GMT (envelope-from dfr@nlsystems.com) Date: Tue, 28 Nov 2000 11:22:56 +0000 (GMT) From: Doug Rabson To: Jake Burkholder Cc: John Baldwin , smp@freebsd.org Subject: Re: BSD/OS interrupt code In-Reply-To: <20001127193823.BAA5EBA7A@io.yi.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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. -- Doug Rabson Mail: dfr@nlsystems.com Phone: +44 20 8348 6160 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message