Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <8a1ffbc88f6744c0fa0986bd1984411e@smtp.hushmail.com>
Date: Sat, 24 Oct 2015 02:43:25 +0200
From: magnum <john.magnum@...hmail.com>
To: john-dev@...ts.openwall.com
Subject: Re: Re: "Illegal instruction" error on

On 2015-10-24 02:33, magnum wrote:
> On 2015-10-24 01:07, magnum wrote:
>> I'll see if I can figure out how to check for AVX2 and beat Solar to
>> it... it oughta be better than Sudoku.
>
> I think/hope I did it right. Seems to work. Here's the asm diff.

Had to clear ecx also

  #ifdef CPU_REQ_AVX2
         xorl %eax,%eax
         cpuid
         movl $7,%edx
         cmpl %edx,%eax
         jl CPU_detect_fail
         xchgl %edx,%eax
+       xorl %ecx,%ecx
         cpuid
         andl CF_AVX2,%ebx
         cmpl CF_AVX2,%ebx
         jne CPU_detect_fail
  #else


magnum

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.