Remove some unroll to reduce register pressure

This commit is contained in:
jsteube
2016-05-08 18:29:54 +02:00
parent 303cfcae15
commit bd1f555c9c
15 changed files with 18 additions and 82 deletions

View File

@@ -114,12 +114,7 @@ void sha512_transform (const u64x w0[4], const u64x w1[4], const u64x w2[4], con
ROUND_STEP (0);
#ifdef IS_AMD
// #pragma unroll
// breaks compiler
#else
#pragma unroll
#endif
//#pragma unroll
for (int i = 16; i < 80; i += 16)
{
ROUND_EXPAND (); ROUND_STEP (i);