From owner-freebsd-hackers Sun Mar 17 11:30:06 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id LAA00713 for hackers-outgoing; Sun, 17 Mar 1996 11:30:06 -0800 (PST) Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id LAA00708 for ; Sun, 17 Mar 1996 11:30:04 -0800 (PST) Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id MAA19811; Sun, 17 Mar 1996 12:24:28 -0700 From: Terry Lambert Message-Id: <199603171924.MAA19811@phaeton.artisoft.com> Subject: Re: GAS question To: narvi@haldjas.folklore.ee (Narvi) Date: Sun, 17 Mar 1996 12:24:27 -0700 (MST) Cc: kuku@gilberto.physik.rwth-aachen.de, freebsd-hackers@FreeBSD.org In-Reply-To: from "Narvi" at Mar 17, 96 02:31:45 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk > > This ain't quite true. VC++ is also targeted to Alpha axp and - I don't > > have my VC++ 4.0 CD handy right now - I believe to other platforms as > > well. > > What will alpha axp think of the reference to the eax register? :) It will think the code isn't portable and choke on it. Presumably, I'd code a C version and then I'd code a processor dependent assembly/inline version for each processor architecture (this is one area where much of the FreeBSD assembly code sucks out: no up-to-date C versions). If I were a weenie, I'd put them all in the same file and #ifdef them. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.