From 585b63c450ee6e2c597ca25888ee0de8b7a73099 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Thu, 14 Jul 2016 13:47:20 -0400 Subject: [PATCH] Disable -Ofast tests for SunCC --- cryptest.sh | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/cryptest.sh b/cryptest.sh index 091692f0..cb5db75c 100755 --- a/cryptest.sh +++ b/cryptest.sh @@ -346,12 +346,6 @@ else fi fi -# Fixup... SunCC appears to botch the code generation -if [[ ("$SUN_COMPILER" -ne "0" )]];then - HAVE_O5=0 - OPT_O5= -fi - # Hit or miss, mostly hit HAVE_OS=0 OPT_OS= @@ -583,6 +577,14 @@ if [[ (-z "$HAVE_DISASS") ]]; then fi fi +# Fixup... SunCC appears to generate bad code for BLAKE2s +if [[ ("$SUN_COMPILER" -ne "0") ]];then + HAVE_O5=0 + OPT_O5= + HAVE_OFAST=0 + OPT_OFAST= +fi + # Benchmarks take a long time... if [[ (-z "$WANT_BENCHMARKS") ]]; then WANT_BENCHMARKS=1