Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+EaD-Zc=ekJYh-6m1DNe0KV8NGGknF_1Du6cgYsvkzh-t6A7Q@mail.gmail.com>
Date: Sat, 13 Jul 2013 03:54:50 +0200
From: Katja Malvoni <kmalvoni@...il.com>
To: john-dev@...ts.openwall.com
Subject: Re: Parallella: bcrypt

Hi Yaniv,

How to force e-gcc to use iadd instructions? I'm using inline assembly and
when I use iadd it gets translated to fadd. If I use add, I get add in
objdump. I tried to configure E_CONFIG:

        movfs r20, config
        mov r19, %low(0x00080000)
        movt r19, %high(0x00080000)
        orr r20, r20, r19 ; set E_CONFIG[19] to 1
        mov r19, %low(0x11191111)
        movt r19, %high(0x11191111)
        and r20, r20, r19 ; set E_CONFIG[18:17] to 00
        movts config, r20

But this doesn't help, in objdump I still get fadd instead of iadd.
I'm compiling with e-gcc -std=c99 -T ${ELDF} e_bcrypt.c -O2 -mfp-mode=int
-o e_bcrypt.elf -le-lib

Katja


On Sat, Jul 13, 2013 at 12:23 AM, Katja Malvoni <kmalvoni@...il.com> wrote:

> Hi Yaniv,
>
> On Sat, Jul 13, 2013 at 12:11 AM, Yaniv Sapir <yaniv@...pteva.com> wrote:
>
>> Hi Katja,
>>
>> I am sorry I could not put some time into investigating the problem
>> during the last couple of days. Hopefully I will be able look at it during
>> the weekend. Are you still stuck at the same place, or were you able to
>> overcome the problem? Is the code at the same place?
>>
>
> No problem. I'm still stuck at the same place. Code is at the same place
> and I added code that results in mmap failure error, it's in
> /home/kmalvoni/integration/JohnTheRipper
>
> Thank you,
>
> Katja
>



-- 
Katja

Content of type "text/html" skipped

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.