From owner-freebsd-current Fri Apr 5 23:45:11 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id XAA12534 for current-outgoing; Fri, 5 Apr 1996 23:45:11 -0800 (PST) Received: from time.cdrom.com (time.cdrom.com [204.216.27.226]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id XAA12529 for ; Fri, 5 Apr 1996 23:45:09 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by time.cdrom.com (8.7.5/8.6.9) with SMTP id XAA00445 for ; Fri, 5 Apr 1996 23:44:41 -0800 (PST) To: current@freebsd.org Subject: pgcc and kernels.. Date: Fri, 05 Apr 1996 23:44:41 -0800 Message-ID: <443.828776681@time.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk After reading that provocative article about how awesome pgcc's pentium optimization is, I naturally had to try it with today's -current. I notice that the kernel compile perks along fairly nicely with `-O -pipe -mpentium' until one tries to compile kern_clock.c, at which point the following define in machine/clock.h is flagged as in error: #define I586_CYCLECTR(x) \ __asm __volatile(".byte 0x0f, 0x31" : "=A" (x)) I've never been all that comfortable with gcc's asm() syntax, seeing as I use it pretty much never, so I'm not sure who's "right" here - us or gcc? Jordan