Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Fri, 17 Oct 2008 13:52:02 +0200
From: Simon Marechal <simon@...quise.net>
To: john-users@...ts.openwall.com
Subject: Re: fast freebsd MD5 implementation [with the attached
 file ...]

And for more spam, this adds an ICC target

http://btb.banquise.net/bin/john-1.7.3.1-all-5-fastMD5.3.diff.gz

gcc:
Benchmarking: FreeBSD MD5 [12x]... DONE
Raw:    2640 c/s real, 2613 c/s virtual

icc:
Benchmarking: FreeBSD MD5 [12x]... DONE
Raw:    10380 c/s real, 10380 c/s virtual

gcc code for intrinsics is horrible:
      98c:       66 0f ef d7             pxor   %xmm7,%xmm2
      990:       66 0f 6f ac 24 f0 09    movdqa 0x9f0(%esp),%xmm5
      997:       00 00
      999:       66 0f fe ac 24 c0 09    paddd  0x9c0(%esp),%xmm5
      9a0:       00 00
      9a2:       66 0f 7f ac 24 f0 09    movdqa %xmm5,0x9f0(%esp)
      9a9:       00 00
      9ab:       66 0f 6f 8c 24 00 0a    movdqa 0xa00(%esp),%xmm1
      9b2:       00 00
      9b4:       66 0f fe 8c 24 d0 09    paddd  0x9d0(%esp),%xmm1
      9bb:       00 00
      9bd:       66 0f 7f 8c 24 00 0a    movdqa %xmm1,0xa00(%esp)
      9c4:       00 00
      9c6:       66 0f 6f bc 24 10 0a    movdqa 0xa10(%esp),%xmm7
      9cd:       00 00
      9cf:       66 0f fe fa             paddd  %xmm2,%xmm7

icc, on the other hand, stays in registers as much as possible.

-- 
To unsubscribe, e-mail john-users-unsubscribe@...ts.openwall.com and reply
to the automated confirmation request that will be sent to you.

Powered by blists - more mailing lists

Your e-mail address:

Powered by Openwall GNU/*/Linux - Powered by OpenVZ