Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sat, 24 Oct 2015 02:43:25 +0200
From: magnum <>
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
         movl $7,%edx
         cmpl %edx,%eax
         jl CPU_detect_fail
         xchgl %edx,%eax
+       xorl %ecx,%ecx
         andl CF_AVX2,%ebx
         cmpl CF_AVX2,%ebx
         jne CPU_detect_fail


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.