From owner-freebsd-hackers Sat Jan 5 18:16:57 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from femail34.sdc1.sfba.home.com (femail34.sdc1.sfba.home.com [24.254.60.24]) by hub.freebsd.org (Postfix) with ESMTP id 9BA5237B400 for ; Sat, 5 Jan 2002 18:16:55 -0800 (PST) Received: from math.missouri.edu ([24.12.197.197]) by femail34.sdc1.sfba.home.com (InterMail vM.4.01.03.20 201-229-121-120-20010223) with ESMTP id <20020106021655.IAXV10269.femail34.sdc1.sfba.home.com@math.missouri.edu>; Sat, 5 Jan 2002 18:16:55 -0800 Message-ID: <3C37B395.2558D84D@math.missouri.edu> Date: Sat, 05 Jan 2002 20:16:53 -0600 From: Stephen Montgomery-Smith X-Mailer: Mozilla 4.79 [en] (X11; U; Linux 2.4.2 i386) X-Accept-Language: en MIME-Version: 1.0 To: "Matthew D. Fuller" Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Tell gcc I have a i686 References: <3C35EE1B.484A6AD@math.missouri.edu> <20020105200904.A23043@over-yonder.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG "Matthew D. Fuller" wrote: > > On Fri, Jan 04, 2002 at 12:02:03PM -0600 I heard the voice of > Stephen Montgomery-Smith, and lo! it spake thus: > > I want to create a Makefile for a C program that includes some Pentium > > II specific inline assembler code. How do I tell the compiler whether > > we are compiling on a i686? > > Dunno, how well will your Pentium II specific inline assembler code run > on my Pentium Pro? > You know, I have no idea. It is someone elses code. These are the instructions. Can anyone tell me? "movl 32(%0),%1\n" "adcl %1,32(%0)\n" Also, from this discussion, what I have decided to do is provide it as an option for the user to add by editing the Makefile - not to do it automatically. -- Stephen Montgomery-Smith stephen@math.missouri.edu http://www.math.missouri.edu/~stephen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message