Date: Sat, 1 Mar 1997 21:00:34 -0400 (AST) From: The Hermit Hacker <scrappy@hub.org> To: Amancio Hasty <hasty@rah.star-gate.com> Cc: freebsd-chat@FreeBSD.ORG Subject: Re: RSA 56-bit key challenge Message-ID: <Pine.BSF.3.95.970301205551.16024y-100000@thelab.hub.org> In-Reply-To: <199703020031.QAA00365@rah.star-gate.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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? > > > > > > <stuff cut out> > > #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__) > > <stuff cut out> > > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95.970301205551.16024y-100000>