Date: Sat, 01 Mar 1997 16:31:09 -0800 From: Amancio Hasty <hasty@rah.star-gate.com> To: The Hermit Hacker <scrappy@hub.org> Cc: freebsd-chat@FreeBSD.ORG Subject: Re: RSA 56-bit key challenge Message-ID: <199703020031.QAA00365@rah.star-gate.com> In-Reply-To: Your message of "Sat, 01 Mar 1997 20:09:36 -0400." <Pine.BSF.3.95.970301200554.16024w-100000@thelab.hub.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Have you try it with ASM_I486 defined? 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?199703020031.QAA00365>