Message-ID: From: "Andris Pavenis" To: "Andrew Crabtree" , djgpp-workers AT delorie DOT com Date: Thu, 4 Mar 1999 11:33:36 +0200 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: RE: egcs-1.1.X (Was: Re: Problems with collect2 in egcs-1.1.1 and 1.1.2preX) In-reply-to: <003d01be65bf$370efa80$6dd22b0f@ros51675cra.rose.hp.com> References: <36DDA6AB DOT F06CDFDE AT cartsys DOT com> X-mailer: Pegasus Mail for Win32 (v3.02b14) Reply-To: djgpp-workers AT delorie DOT com On 3 Mar 99, at 13:45, Andrew Crabtree wrote: > > > I don't have a Pentium manual here > I do > > > to check but AFAIK only a few instructions were added between 386 > > and Pentium, and I doubt GCC generates any of them: > Correct, but there is one I would be worried about. Bswap was added to the > 486 and gcc can and will generate it. > Well I searched contents of gcc/config/i386 for such instructions (except cpuid and rdtsc as I don't expect gcc to generate them). None was found. I tested it for egcs-1.1.2-pre2. Maybe pgcc generates such instructions but plain egcs should not do that. Andris > New Pentium Instructions > > CMPXCHG8 > CPUID > RDTSC > > (also new control reguster instructions) > > New 486 Instructions > > BSWAP > XADD > CMPXCHG > >