diff options
author | Jeffrey Walton <noloader@gmail.com> | 2017-08-30 21:47:05 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2017-08-30 21:47:05 -0400 |
commit | 5cd854b2d3cff4f8f521a2ad3cf3f88cd86c487e (patch) | |
tree | e712d573c4064a2bd9c20c570b5cb25194b0e819 /cryptest.sh | |
parent | de8478af2ab5d27dcbff6a491dab1d090874f7ab (diff) | |
download | cryptopp-git-5cd854b2d3cff4f8f521a2ad3cf3f88cd86c487e.tar.gz |
Update comments
Diffstat (limited to 'cryptest.sh')
-rwxr-xr-x | cryptest.sh | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/cryptest.sh b/cryptest.sh index 0f5ea756..71bfaa58 100755 --- a/cryptest.sh +++ b/cryptest.sh @@ -1310,30 +1310,30 @@ if [[ ("$HAVE_DISASS" -ne "0" && ("$IS_ARM32" -ne "0" || "$IS_ARM64" -ne "0")) ] COUNT=$(echo -n "$DISASS_TEXT" | "$GREP" -i -c 'vld') if [[ ("$COUNT" -lt "8") ]]; then FAILED=1 - echo "ERROR: failed to generate expected NEON load instructions" | tee -a "$TEST_RESULTS" + echo "ERROR: failed to generate NEON load instructions" | tee -a "$TEST_RESULTS" fi else # ARMv7 - # ARIA::UncheckedKeySet: 8 vld1.32 {d1,d2} + # ARIA::UncheckedKeySet: 6 vld1.32 {d1,d2} COUNT=$(echo -n "$DISASS_TEXT" | "$GREP" -i -c -E 'vld1.32[[:space:]]*{') if [[ ("$COUNT" -lt "6") ]]; then FAILED=1 - echo "ERROR: failed to generate expected vector load instructions" | tee -a "$TEST_RESULTS" + echo "ERROR: failed to generate NEON load instructions" | tee -a "$TEST_RESULTS" fi fi if [[ ("$HAVE_ARMV8A") ]]; then - # ARIA::UncheckedKeySet: 24 vstr1q.32 + # ARIA::UncheckedKeySet: 20 vstr1q.32 COUNT=$(echo -n "$DISASS_TEXT" | "$GREP" -i -c 'vst') if [[ ("$COUNT" -lt "20") ]]; then FAILED=1 - echo "ERROR: failed to generate expected vector store instructions" | tee -a "$TEST_RESULTS" + echo "ERROR: failed to generate NEON store instructions" | tee -a "$TEST_RESULTS" fi else - # ARIA::UncheckedKeySet: 24 vstr1.32 {d1,d2} + # ARIA::UncheckedKeySet: 16 vstr1.32 {d1,d2} COUNT=$(echo -n "$DISASS_TEXT" | "$GREP" -i -c -E 'vst1.32[[:space:]]*{') if [[ ("$COUNT" -lt "16") ]]; then FAILED=1 - echo "ERROR: failed to generate expected vector store instructions" | tee -a "$TEST_RESULTS" + echo "ERROR: failed to generate NEON store instructions" | tee -a "$TEST_RESULTS" fi fi @@ -1341,25 +1341,25 @@ if [[ ("$HAVE_DISASS" -ne "0" && ("$IS_ARM32" -ne "0" || "$IS_ARM64" -ne "0")) ] COUNT=$(echo -n "$DISASS_TEXT" | "$GREP" -i -c 'vshl') if [[ ("$COUNT" -lt "17") ]]; then FAILED=1 - echo "ERROR: failed to generate expected vector shift left instructions" | tee -a "$TEST_RESULTS" + echo "ERROR: failed to generate NEON shift left instructions" | tee -a "$TEST_RESULTS" fi # ARIA::UncheckedKeySet: 17 vshr.32 COUNT=$(echo -n "$DISASS_TEXT" | "$GREP" -i -c 'vshl') if [[ ("$COUNT" -lt "17") ]]; then FAILED=1 - echo "ERROR: failed to generate expected vector shift right instructions" | tee -a "$TEST_RESULTS" + echo "ERROR: failed to generate NEON shift right instructions" | tee -a "$TEST_RESULTS" fi # ARIA::UncheckedKeySet: 34 veor COUNT=$(echo -n "$DISASS_TEXT" | "$GREP" -i -c -E 'eor.*v|veor') if [[ ("$COUNT" -lt "34") ]]; then FAILED=1 - echo "ERROR: failed to generate expected vector xor instructions" | tee -a "$TEST_RESULTS" + echo "ERROR: failed to generate NEON xor instructions" | tee -a "$TEST_RESULTS" fi if [[ ("$FAILED" -eq "0") ]]; then - echo "Verified vector load, store, shfit left, shift right, xor machine instructions" | tee -a "$TEST_RESULTS" + echo "Verified NEON load, store, shfit left, shift right, xor machine instructions" | tee -a "$TEST_RESULTS" fi fi |