[PATCH] D109488: [X86] Adjust Keylocker store register num for encodekey128/256

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 9 09:35:42 PDT 2021


craig.topper added a comment.

The pseudocode for _mm256_encodekey256_u32 is incorrect on the Intel Intrinsics Guide

  __h[383:0] := WrapKey256(__key_lo[127:0], __key_hi[127:0], __htype)
  dst[0] := IWKey.NoBackup
  dst[4:1] := IWKey.KeySource[3:0]

That should be `__h[511:0]`


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D109488/new/

https://reviews.llvm.org/D109488



More information about the llvm-commits mailing list