Re: FYI, new sha256 and sha512 modules in coreutils

2008-03-03 Thread Bruno Haible
Jim Meyering wrote: > However if you present your measurements to the gcc developers, > they may even address the root cause. Done. Let's see. Bruno

Re: FYI, new sha256 and sha512 modules in coreutils

2008-03-03 Thread Jim Meyering
Bruno Haible <[EMAIL PROTECTED]> wrote: > Jim Meyering asked: >> > The compilation of these files with -g -O2 and newer gcc releases takes >> > an awful lot of time (5 minutes or so). Is there some way to make gcc work >> > faster, without decreasing the runtime speed too much? >> >> Wow. What ver

Re: FYI, new sha256 and sha512 modules in coreutils

2008-03-03 Thread Bruno Haible
Jim Meyering asked: > > The compilation of these files with -g -O2 and newer gcc releases takes > > an awful lot of time (5 minutes or so). Is there some way to make gcc work > > faster, without decreasing the runtime speed too much? > > Wow. What version of gcc, and what type of CPU? CPU: AMD-K

Re: FYI, new sha256 and sha512 modules in coreutils

2008-03-03 Thread Jim Meyering
Simon Josefsson <[EMAIL PROTECTED]> wrote: ... >> Sure. Please send a patch. >> SHA224, too, I suppose? >> I have a preference for using enum symbols, if that works for you. >> >> enum { SHA512_DIGEST_SIZE = 64 }; > > Sure. See below. I was unsure whether to put both declarations in the > same e

Re: FYI, new sha256 and sha512 modules in coreutils

2008-03-02 Thread Simon Josefsson
Jim Meyering <[EMAIL PROTECTED]> writes: > Simon Josefsson <[EMAIL PROTECTED]> wrote: > >> Jim Meyering <[EMAIL PROTECTED]> writes: >> >>> FYI, I've just created the sha256 and sha512 modules and >>> moved the remaining sha*-related files from coreutils/{lib,m4} >>> into coreutils/gl/{lib,m4}. >>>

Re: FYI, new sha256 and sha512 modules in coreutils

2008-03-02 Thread Jim Meyering
Simon Josefsson <[EMAIL PROTECTED]> wrote: > Jim Meyering <[EMAIL PROTECTED]> writes: > >> FYI, I've just created the sha256 and sha512 modules and >> moved the remaining sha*-related files from coreutils/{lib,m4} >> into coreutils/gl/{lib,m4}. >> >> http://git.sv.gnu.org/gitweb/?p=coreutils.g

Re: FYI, new sha256 and sha512 modules in coreutils

2008-03-02 Thread Simon Josefsson
Jim Meyering <[EMAIL PROTECTED]> writes: > FYI, I've just created the sha256 and sha512 modules and > moved the remaining sha*-related files from coreutils/{lib,m4} > into coreutils/gl/{lib,m4}. > > http://git.sv.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=f33599c1441 Looks fine. Would yo

Re: FYI, new sha256 and sha512 modules in coreutils

2008-03-02 Thread Jim Meyering
Bruno Haible <[EMAIL PROTECTED]> wrote: > Hi Jim, > >> FYI, I've just created the sha256 and sha512 modules ... >> I expect to move them into gnulib eventually, so if you see >> anything wrong ... please let me know. > > The compilation of these files with -g -O2 and newer gcc releases takes > an a

Re: FYI, new sha256 and sha512 modules in coreutils

2008-03-02 Thread Bruno Haible
Hi Jim, > FYI, I've just created the sha256 and sha512 modules ... > I expect to move them into gnulib eventually, so if you see > anything wrong ... please let me know. The compilation of these files with -g -O2 and newer gcc releases takes an awful lot of time (5 minutes or so). Is there some w

FYI, new sha256 and sha512 modules in coreutils

2008-03-02 Thread Jim Meyering
FYI, I've just created the sha256 and sha512 modules and moved the remaining sha*-related files from coreutils/{lib,m4} into coreutils/gl/{lib,m4}. http://git.sv.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=f33599c1441 2008-03-02 Jim Meyering <[EMAIL PROTECTED]> Create sha256 and