This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Power 8 in-core crypto not working as expected
- From: Segher Boessenkool <segher at kernel dot crashing dot org>
- To: Jeffrey Walton <noloader at gmail dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 7 Sep 2017 03:38:44 -0500
- Subject: Re: Power 8 in-core crypto not working as expected
- Authentication-results: sourceware.org; auth=none
- References: <CAH8yC8nw20DXRW6RtDsLQEh6YeLjbHCLv43Ub+843Off=jFZiQ@mail.gmail.com>
Hi!
On Thu, Sep 07, 2017 at 12:37:33AM -0400, Jeffrey Walton wrote:
> I have implementation for AES on Power 8 using GCC's built-ins. Its
> available for inspection and download at
> https://github.com/noloader/AES-Power8. The problem is, it does not
> arrive at the correct results on GCC112 (ppc64-le) or GCC119 (AIX, big
> endian).
First see if you can get a *single* vcipher call to work as expected
(it is a single round of AES). Refer to Power ISA 3.0B and FIPS 197.
Segher