Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 22 Aug 2013 14:17:47 +0400
From: Solar Designer <solar@...nwall.com>
To: john-dev@...ts.openwall.com
Subject: Re: Parallella: Litecoin mining

Rafael -

On Sat, Jul 27, 2013 at 03:03:03AM +0400, Solar Designer wrote:
> (However, note that you must avoid integer division; I did
> not bother avoiding it in my experimental code, but you must.)

It appears that you forgot (or failed?) to do this, and it never got
onto your "Priorities" lists (it should).

Looking at "e-objdump -d epiphany-scrypt.elf", you actually have
___udivsi3 and ___umodsi3 in there.  These consume local memory space
and are pretty slow.

(Actually, I am surprised gcc did not optimize the division by 6 into
multiplication by a constant needed to achieve division by 3, followed
by a right shift by 1.)

Alexander

Powered by blists - more mailing lists

Your e-mail address:

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