Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Apr 1996 19:51:00 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        current@FreeBSD.ORG, jkh@time.cdrom.com
Subject:   Re: pgcc and kernels..
Message-ID:  <199604060951.TAA20678@godzilla.zeta.org.au>

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

gcc is always right.  pgcc != gcc.  The "A" regclass was added on 14
June 1994 and released in 2.6.0 according ChangeLog.9.  Perhaps the
relevant parts of pgcc are older than that?    I think the Pentium
parts are mostly the old Intel work which was done long before that.

Bruce



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