From dfcdcaaa84e834a19d304f97a744c0b7652f368e Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Mon, 5 Mar 2018 21:02:56 -0500 Subject: [PATCH] Update head notes --- sha256-2-p8.cxx | 4 ++++ sha256-p8.cxx | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/sha256-2-p8.cxx b/sha256-2-p8.cxx index 9a81ac2..0c04e4d 100644 --- a/sha256-2-p8.cxx +++ b/sha256-2-p8.cxx @@ -1,6 +1,10 @@ /* sha256-p8.cxx - Power8 SHA extensions using C intrinsics */ /* Written and placed in public domain by Jeffrey Walton */ +/* sha256-2-p8.cxx roates working variables in the */ +/* callers instead of the SHA round function. */ +/* Loop unrolling penalizes performance. */ + /* xlC -DTEST_MAIN -qarch=pwr8 -qaltivec sha256-p8.cxx -o sha256-p8.exe */ /* g++ -DTEST_MAIN -mcpu=power8 sha256-p8.cxx -o sha256-p8.exe */ diff --git a/sha256-p8.cxx b/sha256-p8.cxx index f823a9b..6ac7de6 100644 --- a/sha256-p8.cxx +++ b/sha256-p8.cxx @@ -1,6 +1,10 @@ /* sha256-p8.cxx - Power8 SHA extensions using C intrinsics */ /* Written and placed in public domain by Jeffrey Walton */ +/* sha256-p8.cxx roates working variables in the */ +/* SHA round function. */ +/* Loop unrolling penalizes performance. */ + /* xlC -DTEST_MAIN -qarch=pwr8 -qaltivec sha256-p8.cxx -o sha256-p8.exe */ /* g++ -DTEST_MAIN -mcpu=power8 sha256-p8.cxx -o sha256-p8.exe */