Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Fri, 5 Jun 2015 22:23:26 +0200
From: Agnieszka Bielec <bielecagnieszka8@...il.com>
To: john-dev@...ts.openwall.com
Subject: Re: PHC: Lyra2 on CPU

2015-06-05 20:37 GMT+02:00 Agnieszka Bielec <bielecagnieszka8@...il.com>:
> 2015-06-02 21:34 GMT+02:00 Solar Designer <solar@...nwall.com>:
>> I think for now lets export/encode nCols and nThreads, but keep the rest
>> at their hard-coded defaults.
>
> speed decreased from 9k to 7k after I changed #define N_COLS 256 to
> export variable or variable passed by stack. any advice how can i get
> around this?

ok, solved. there was the modulo division by N_COLS and gcc was
optimizing this to x & (N_COLS-1). now I'm checking manually if this
value is a power of 2

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.