[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <53A8C38D.2000907@dei.uc.pt>
Date: Tue, 24 Jun 2014 01:17:17 +0100
From: Samuel Neves <sneves@....uc.pt>
To: discussions@...sword-hashing.net
Subject: Re: [PHC] not bossy
On 23-06-2014 23:55, Solar Designer wrote:
> On Mon, Jun 23, 2014 at 11:31:50PM +0200, Per Thorsheim wrote:
>> > Steve 'Sc00bz' Thomas
>> > Bitslice DES with LOP3.LUT
> Steve, I guess you're already aware of this, but in case not: we're also
> going to have this instruction in AVX-512, it's called
> VPTERNLOGD/VPTERNLOGQ there. I learned about it from Samuel Neves in
> February. I also found this table now:
>
> http://sandpile.org/x86/ternlog.htm
Might as well take this chance to make this public, someone may find it useful: https://github.com/sneves/avx512-utils
This is a small header file that can be used to compute VPTERNLOG immediates at compile time, via an expression that
resembles normal code (see example). It requires a modern C++11 compiler; coincidentally, most compilers that support
AVX-512F at this point also support C++11 (Intel 14.0.1+ and GCC 4.9+; Clang supports AVX-512, but does not seem to have
the intrinsics yet). You can see the resulting assembly code of the example here: http://goo.gl/mrDjbd
Powered by blists - more mailing lists