Date: Tue, 6 Oct 2015 11:16:44 +0300 From: Solar Designer <solar@...nwall.com> To: john-dev@...ts.openwall.com Subject: Re: Agnieszka's GSoC formats On Tue, Oct 06, 2015 at 10:01:32AM +0200, Agnieszka Bielec wrote: > 2015-10-06 0:59 GMT+02:00 Solar Designer <solar@...nwall.com>: > > On Tue, Oct 06, 2015 at 12:42:53AM +0200, Agnieszka Bielec wrote: > >> I modified the code, --dev=3 doesn't segfaults but on super --dev=6 > >> and my card is slower > >> > >> on my card it's 1882 c/s -> 1777 c/s > >> on --dev=6 it's 6678 c/s -> 5907 c/s > > > > What modifications did you make? > > I created this array as long and I'm casting it to int Are you casting it to int all the time or only sometimes? If all the time, then why create it as long? If only sometimes, then you're still violating strict aliasing rules when those apply. 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.