Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110608034137.GA26648@openwall.com>
Date: Wed, 8 Jun 2011 07:41:37 +0400
From: Solar Designer <solar@...nwall.com>
To: john-dev@...ts.openwall.com
Subject: Re: 1.7.7-jumbo-6

Jim -

On Tue, Jun 07, 2011 at 10:37:33PM -0500, JFoug wrote:
> ----- Original Message ----- 
> From: "Solar Designer" <solar@...nwall.com>
> >
> >The move to SSE2 intrinsics for MD5-based hashes resulted in poor
> >performance when building with old gcc.  I introduced a workaround
> >limited to "FreeBSD MD5" - that is, to have speed no worse than the
> >official 1.7.7's for these hashes even when building with old gcc.
> >This amounts to:
> >
> >+#define MD5_in_sse_intrinsics
> >#include "MD5_std.h"
> >+#undef MD5_in_sse_intrinsics
> >
> >in sse-intrinsics.c and:
> >-- clip --
> 
> We might want to do the same for md5-gen, as it will likely get tied into 
> intrisic (the +#define MD5_in_sse_intrinsics   ... #inlcude  .... +#undef 
> MD5_in_sse_intrinsics)

Feel free to submit a patch against -RC3 if you like.  (I am not going
to work on this now, so there's no duplicate work if you do.)

Thanks,

Alexander

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.