Re: Bug#164766: Problem with VIA C3 chip and libcrypto
- To: GOTO Masanori <gotom@debian.or.jp>
- Cc: Alan Cox <alan@redhat.com>, Christoph Martin <martin@uni-mainz.de>, 164766@bugs.debian.org, David Goodenough <david.goodenough@btconnect.com>, debian-devel@lists.debian.org, glibc@packages.debian.org, gcc@packages.debian.org
- Subject: Re: Bug#164766: Problem with VIA C3 chip and libcrypto
- From: Daniel Jacobowitz <dan@debian.org>
- Date: Mon, 27 Jan 2003 12:55:14 -0500
- Message-id: <[🔎] 20030127175514.GA9648@nevyn.them.org>
- Mail-followup-to: GOTO Masanori <gotom@debian.or.jp>, Alan Cox <alan@redhat.com>, Christoph Martin <martin@uni-mainz.de>, 164766@bugs.debian.org, David Goodenough <david.goodenough@btconnect.com>, debian-devel@lists.debian.org, glibc@packages.debian.org, gcc@packages.debian.org
- In-reply-to: <[🔎] 80hebubih1.wl@oris.opensource.jp>
- References: <[🔎] 3E26C281.8080209@uni-mainz.de> <[🔎] 80hebubih1.wl@oris.opensource.jp>
On Tue, Jan 28, 2003 at 02:39:06AM +0900, GOTO Masanori wrote:
> At Mon, 27 Jan 2003 11:39:43 -0500 (EST),
> Alan Cox wrote:
> > > >>>>>GCC 3.2 still uses CMOVE instructions on -march=i686.
> > > >>>>>
> > > >>>>>On the other hand:
> > > >>>>> {"c3", PROCESSOR_I486, PTA_MMX | PTA_3DNOW},
> > > >>>>>GCC disagrees with you that the C3 is an i686.
> >
> > gcc uses i486 scheduling because that gives best performance
> >
> > The situation is as follows
> >
> > gcc "i686" definition is wrong. The gcc people wont fix it because the 686
> > definition without cmov is mostly useless anyway.
>
> Thanks for your explanation. Hmm. "cmov" is really key instruction...
>
> I think it may be needed that we add -mcpu=c3 for gcc, which generates
> i686 without cmov instruction.
It's already there in development GCC versions. I think Andi Kleen did
it.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
Reply to: