From owner-freebsd-chat Sat Mar 1 17:00:51 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id RAA10251 for chat-outgoing; Sat, 1 Mar 1997 17:00:51 -0800 (PST) Received: from thelab.hub.org (hal-ns3-32.netcom.ca [207.181.94.160]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id RAA10246 for ; Sat, 1 Mar 1997 17:00:47 -0800 (PST) Received: from thelab.hub.org (LOCALHOST [127.0.0.1]) by thelab.hub.org (8.8.4/8.8.2) with SMTP id VAA09099; Sat, 1 Mar 1997 21:00:35 -0400 (AST) Date: Sat, 1 Mar 1997 21:00:34 -0400 (AST) From: The Hermit Hacker To: Amancio Hasty cc: freebsd-chat@FreeBSD.ORG Subject: Re: RSA 56-bit key challenge In-Reply-To: <199703020031.QAA00365@rah.star-gate.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-chat@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Sat, 1 Mar 1997, Amancio Hasty wrote: > Have you try it with ASM_I486 defined? > Yup, I only changed the -m486 to -mpentium, leaving the ASM_I486 defined... And, since you sort of mentioned it, I've tried disabling it, which is even more disastrous... rc5-client-freebsd (the binary) does ~128500keys/sec client (-mpentium compiled w/pgcc-current) does ~58816keys/sec > Tnks, > Amancio > > >From The Desk Of The Hermit Hacker : > > On Sat, 1 Mar 1997, Amancio Hasty wrote: > > > > > > > > Thats a good question ! > > > > > > I would try it out. > > > > > > > After asking, I popped over to the http site for genx.com and > > grabbed the source code...changed -m486 to -mpentium inside of the Makefile > > and recompiled/tested it...came out about 10k/sec slower... > > > > There *is* a define for ASM_I486 though, which is used inside of > > client.h, and does as follows. Anyone with a good knowledge of Pentiums > > out there this weekend that can suggest a Pentium version for this? > > > > > > > > #if defined(ASM_I486) && defined(__GNUC__) > > > > static __inline__ RC5_WORD ROTL(RC5_WORD x, RC5_WORD y) > > { > > register RC5_WORD res; > > > > __asm__ __volatile( > > "roll %%cl,%0\n\t" > > :"=g" (res) > > :"0" (x), "cx" (y) > > :"cx"); > > > > return res; > > } > > > > static __inline__ RC5_WORD ROTL3(RC5_WORD x) > > { > > register RC5_WORD res; > > > > __asm__ __volatile( > > "roll $3,%0\n\t" > > :"=g" (res) > > :"0" (x)); > > > > return res; > > } > > > > #elif defined(ASM_SPARC) && defined(__GNUC__) > > > > >