Implementation notes: x86, thoth, crypto_hash/fugue384

Computer: thoth
Architecture: x86
CPU ID: AuthenticAMD-00000622-0183f9ff
SUPERCOP version: 20160806
Operation: crypto_hash
Primitive: fugue384

Compiler output

Implementation: crypto_hash/fugue384/ccalik/aesni
Compiler: clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments
hash.c: hash.c:448:4: error: always_inline function '_mm_setzero_si128' requires target feature 'sse2', but would be inlined into function 'Compress256' that is compiled without support for 'sse2'
hash.c: TIX256(pmsg, ctx->gt;state[1], ctx->gt;state[0], ctx->gt;state[6], ctx->gt;state[8], _t0, _t1, _t2);
hash.c: ^
hash.c: hash.c:156:7: note: expanded from macro 'TIX256'
hash.c: t1 = _mm_shuffle_epi32(s0, _MM_SHUFFLE(3, 3, 0, 3));\
hash.c: ^
hash.c: /usr/lib/llvm-3.8/bin/../lib/clang/3.8.0/include/emmintrin.h:1337:44: note: expanded from macro '_mm_shuffle_epi32'
hash.c: (__v4si)_mm_setzero_si128(), \
hash.c: ^
hash.c: hash.c:448:4: error: always_inline function '_mm_xor_si128' requires target feature 'sse2', but would be inlined into function 'Compress256' that is compiled without support for 'sse2'
hash.c: hash.c:157:8: note: expanded from macro 'TIX256'
hash.c: s10 = _mm_xor_si128(s10, t1);\
hash.c: ^
hash.c: hash.c:448:4: error: always_inline function '_mm_castps_si128' requires target feature 'sse2', but would be inlined into function 'Compress256' that is compiled without support for 'sse2'
hash.c: hash.c:158:7: note: expanded from macro 'TIX256'
hash.c: t1 = _mm_castps_si128(_mm_load_ss((float*)msg));\
hash.c: ^
hash.c: hash.c:448:4: error: always_inline function '_mm_load_ss' requires target feature 'sse', but would be inlined into function 'Compress256' that is compiled without support for 'sse'
hash.c: hash.c:158:24: note: expanded from macro 'TIX256'
hash.c: t1 = _mm_castps_si128(_mm_load_ss((float*)msg));\
hash.c: ^
hash.c: hash.c:448:4: error: always_inline function '_mm_castps_si128' requires target feature 'sse2', but would be inlined into function 'Compress256' that is compiled without support for 'sse2'
hash.c: hash.c:159:7: note: expanded from macro 'TIX256'
hash.c: s0 = _mm_castps_si128(_mm_move_ss(_mm_castsi128_ps(s0), _mm_castsi128_ps(t1)));\
hash.c: ^
hash.c: ...

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments ccalik/aesni

Compiler output

Implementation: crypto_hash/fugue384/ccalik/vperm
Compiler: clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments
hash.c: hash.c:448:4: error: always_inline function '_mm_setzero_si128' requires target feature 'sse2', but would be inlined into function 'Compress256' that is compiled without support for 'sse2'
hash.c: TIX256(pmsg, ctx->gt;state[1], ctx->gt;state[0], ctx->gt;state[6], ctx->gt;state[8], _t0, _t1, _t2);
hash.c: ^
hash.c: hash.c:166:7: note: expanded from macro 'TIX256'
hash.c: t1 = _mm_shuffle_epi32(s0, _MM_SHUFFLE(3, 3, 0, 3));\
hash.c: ^
hash.c: /usr/lib/llvm-3.8/bin/../lib/clang/3.8.0/include/emmintrin.h:1337:44: note: expanded from macro '_mm_shuffle_epi32'
hash.c: (__v4si)_mm_setzero_si128(), \
hash.c: ^
hash.c: hash.c:448:4: error: always_inline function '_mm_xor_si128' requires target feature 'sse2', but would be inlined into function 'Compress256' that is compiled without support for 'sse2'
hash.c: hash.c:167:8: note: expanded from macro 'TIX256'
hash.c: s10 = _mm_xor_si128(s10, t1);\
hash.c: ^
hash.c: hash.c:448:4: error: always_inline function '_mm_castps_si128' requires target feature 'sse2', but would be inlined into function 'Compress256' that is compiled without support for 'sse2'
hash.c: hash.c:168:7: note: expanded from macro 'TIX256'
hash.c: t1 = _mm_castps_si128(_mm_load_ss((float*)msg));\
hash.c: ^
hash.c: hash.c:448:4: error: always_inline function '_mm_load_ss' requires target feature 'sse', but would be inlined into function 'Compress256' that is compiled without support for 'sse'
hash.c: hash.c:168:24: note: expanded from macro 'TIX256'
hash.c: t1 = _mm_castps_si128(_mm_load_ss((float*)msg));\
hash.c: ^
hash.c: hash.c:448:4: error: always_inline function '_mm_andnot_si128' requires target feature 'sse2', but would be inlined into function 'Compress256' that is compiled without support for 'sse2'
hash.c: hash.c:169:2: note: expanded from macro 'TIX256'
hash.c: TRANSFORM(t1, _k_ipt, t2, t3);\
hash.c: ^
hash.c: ...

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments ccalik/vperm

Compiler output

Implementation: crypto_hash/fugue384/ccalik/aesni
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
hash.c: hash.c: In function 'Compress256':
hash.c: hash.c:156:5: warning: SSE vector return without SSE enabled changes the ABI [-Wpsabi]
hash.c: t1 = _mm_shuffle_epi32(s0, _MM_SHUFFLE(3, 3, 0, 3));\
hash.c: ^
hash.c: hash.c:448:4: note: in expansion of macro 'TIX256'
hash.c: TIX256(pmsg, ctx->gt;state[1], ctx->gt;state[0], ctx->gt;state[6], ctx->gt;state[8], _t0, _t1, _t2);
hash.c: ^
hash.c: In file included from /usr/lib/gcc/i686-linux-gnu/5/include/pmmintrin.h:31:0,
hash.c: from /usr/lib/gcc/i686-linux-gnu/5/include/tmmintrin.h:31,
hash.c: from hash_api.h:29,
hash.c: from hash.c:20:
hash.c: /usr/lib/gcc/i686-linux-gnu/5/include/emmintrin.h:1268:1: error: inlining failed in call to always_inline '_mm_and_si128': target specific option mismatch
hash.c: _mm_and_si128 (__m128i __A, __m128i __B)
hash.c: ^
hash.c: hash.c:139:7: error: called from here
hash.c: s0 = _mm_and_si128(s0, M128(_maskd3n))
hash.c: ^
hash.c: hash.c:349:2: note: in expansion of macro 'UNPACK_S0'
hash.c: UNPACK_S0(s0, s1, _t3)
hash.c: ^
hash.c: hash.c:449:4: note: in expansion of macro 'SUBROUND256_2'
hash.c: SUBROUND256_2(ctx->gt;state[8], ctx->gt;state[9], ctx->gt;state[7], ctx->gt;state[2], ctx->gt;state[7], ctx->gt;state[8], ctx->gt;state[6], ctx->gt;state[1]);
hash.c: ^
hash.c: In file included from /usr/lib/gcc/i686-linux-gnu/5/include/pmmintrin.h:31:0,
hash.c: from /usr/lib/gcc/i686-linux-gnu/5/include/tmmintrin.h:31,
hash.c: ...

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv ccalik/aesni
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv ccalik/aesni
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv ccalik/aesni
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv ccalik/aesni

Compiler output

Implementation: crypto_hash/fugue384/ccalik/vperm
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
hash.c: hash.c: In function 'Compress256':
hash.c: hash.c:166:5: warning: SSE vector return without SSE enabled changes the ABI [-Wpsabi]
hash.c: t1 = _mm_shuffle_epi32(s0, _MM_SHUFFLE(3, 3, 0, 3));\
hash.c: ^
hash.c: hash.c:448:4: note: in expansion of macro 'TIX256'
hash.c: TIX256(pmsg, ctx->gt;state[1], ctx->gt;state[0], ctx->gt;state[6], ctx->gt;state[8], _t0, _t1, _t2);
hash.c: ^
hash.c: In file included from /usr/lib/gcc/i686-linux-gnu/5/include/pmmintrin.h:31:0,
hash.c: from /usr/lib/gcc/i686-linux-gnu/5/include/tmmintrin.h:31,
hash.c: from hash_api.h:29,
hash.c: from hash.c:20:
hash.c: /usr/lib/gcc/i686-linux-gnu/5/include/emmintrin.h:1268:1: error: inlining failed in call to always_inline '_mm_and_si128': target specific option mismatch
hash.c: _mm_and_si128 (__m128i __A, __m128i __B)
hash.c: ^
hash.c: hash.c:139:7: error: called from here
hash.c: s0 = _mm_and_si128(s0, M128(_maskd3n))
hash.c: ^
hash.c: hash.c:349:2: note: in expansion of macro 'UNPACK_S0'
hash.c: UNPACK_S0(s0, s1, _t3)
hash.c: ^
hash.c: hash.c:449:4: note: in expansion of macro 'SUBROUND256_2'
hash.c: SUBROUND256_2(ctx->gt;state[8], ctx->gt;state[9], ctx->gt;state[7], ctx->gt;state[2], ctx->gt;state[7], ctx->gt;state[8], ctx->gt;state[6], ctx->gt;state[1]);
hash.c: ^
hash.c: In file included from /usr/lib/gcc/i686-linux-gnu/5/include/pmmintrin.h:31:0,
hash.c: from /usr/lib/gcc/i686-linux-gnu/5/include/tmmintrin.h:31,
hash.c: ...

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv ccalik/vperm
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv ccalik/vperm
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv ccalik/vperm
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv ccalik/vperm