Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 05 Apr 1996 23:44:41 -0800
From:      "Jordan K. Hubbard" <jkh@time.cdrom.com>
To:        current@freebsd.org
Subject:   pgcc and kernels..
Message-ID:  <443.828776681@time.cdrom.com>

next in thread | raw e-mail | index | archive | help
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



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