Implementation notes: amd64, hydra8, crypto_hash/bash512

Computer: hydra8
Microarchitecture: amd64; Ivy Bridge+AES (306a9)
Architecture: amd64
CPU ID: GenuineIntel-000306a9-bfebfbff
SUPERCOP version: 20240625
Operation: crypto_hash
Primitive: bash512

Checksum failure


a397472ba7599635360cf4397e77b42145d47322e3ee531180b21ebf8e99930d

Number of similar (implementation,compiler) pairs: 9, namely:
ImplementationCompiler
T:refclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:refclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:refclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:refclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:refclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:refgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:refgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:refgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)

Compiler output


bash_avx2.c: bash_avx2.c:70:2: error: "The compiler does not support AVX2 intrinsics."
bash_avx2.c: #error "The compiler does not support AVX2 intrinsics."
bash_avx2.c:  ^
bash_avx2.c: bash_avx2.c:271:5: error: use of undeclared identifier 'u256'
bash_avx2.c:     u256 S1,S2,T0,T1,T2,U0,U1,U2;
bash_avx2.c:     ^
bash_avx2.c: bash_avx2.c:272:5: error: use of undeclared identifier 'u256'
bash_avx2.c:     u256 W0 = LOADW( S + 0 );
bash_avx2.c:     ^
bash_avx2.c: bash_avx2.c:273:5: error: use of undeclared identifier 'u256'
bash_avx2.c:     u256 W1 = LOADW( S + 4 );
bash_avx2.c:     ^
bash_avx2.c: bash_avx2.c:274:5: error: use of undeclared identifier 'u256'
bash_avx2.c:     u256 W2 = LOADW( S + 8 );
bash_avx2.c:     ^
bash_avx2.c: bash_avx2.c:275:5: error: use of undeclared identifier 'u256'
bash_avx2.c:     u256 W3 = LOADW( S + 12 );
bash_avx2.c:     ^
bash_avx2.c: bash_avx2.c:276:5: error: use of undeclared identifier 'u256'
bash_avx2.c:     u256 W4 = LOADW( S + 16 );
bash_avx2.c:     ^
bash_avx2.c: bash_avx2.c:277:5: error: use of undeclared identifier 'u256'
bash_avx2.c:     u256 W5 = LOADW( S + 20 );
bash_avx2.c:     ^
bash_avx2.c: bash_avx2.c:279:34: error: use of undeclared identifier 'S2'
bash_avx2.c: ...

Number of similar (implementation,compiler) pairs: 5, namely:
ImplementationCompiler
T:avx2clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:avx2clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:avx2clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:avx2clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:avx2clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)

Compiler output


bash_avx2.c: bash_avx2.c:70:2: error: #error "The compiler does not support AVX2 intrinsics."
bash_avx2.c:    70 | #error "The compiler does not support AVX2 intrinsics."
bash_avx2.c:       |  ^~~~~
bash_avx2.c: bash_avx2.c: In function 'bashavx2_F0':
bash_avx2.c: bash_avx2.c:271:5: error: unknown type name 'u256'
bash_avx2.c:   271 |     u256 S1,S2,T0,T1,T2,U0,U1,U2;
bash_avx2.c:       |     ^~~~
bash_avx2.c: bash_avx2.c:272:5: error: unknown type name 'u256'
bash_avx2.c:   272 |     u256 W0 = LOADW( S + 0 );
bash_avx2.c:       |     ^~~~
bash_avx2.c: bash_avx2.c:272:15: warning: implicit declaration of function 'LOADW' [-Wimplicit-function-declaration]
bash_avx2.c:   272 |     u256 W0 = LOADW( S + 0 );
bash_avx2.c:       |               ^~~~~
bash_avx2.c: bash_avx2.c:273:5: error: unknown type name 'u256'
bash_avx2.c:   273 |     u256 W1 = LOADW( S + 4 );
bash_avx2.c:       |     ^~~~
bash_avx2.c: bash_avx2.c:274:5: error: unknown type name 'u256'
bash_avx2.c:   274 |     u256 W2 = LOADW( S + 8 );
bash_avx2.c:       |     ^~~~
bash_avx2.c: bash_avx2.c:275:5: error: unknown type name 'u256'
bash_avx2.c:   275 |     u256 W3 = LOADW( S + 12 );
bash_avx2.c:       |     ^~~~
bash_avx2.c: bash_avx2.c:276:5: error: unknown type name 'u256'
bash_avx2.c:   276 |     u256 W4 = LOADW( S + 16 );
bash_avx2.c:       |     ^~~~
bash_avx2.c: ...

Number of similar (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
T:avx2gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:avx2gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:avx2gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:avx2gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)