Implementation notes: x86, thoth, crypto_encrypt/4hfe

Computer: thoth
Architecture: x86
CPU ID: AuthenticAMD-00000622-0183f9ff
SUPERCOP version: 20160806
Operation: crypto_encrypt
Primitive: 4hfe

Compiler output

Implementation: crypto_encrypt/4hfe/ref
Compiler: clang++ -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments
HFE-test.cpp: In file included from HFE-test.cpp:18:
HFE-test.cpp: In file included from ./HFE.h:6:
HFE-test.cpp: ./tower.h:389:36: error: always_inline function '_mm_mullo_epi16' requires target feature 'sse2', but would be inlined into function '_mult' that is compiled without support for 'sse2'
HFE-test.cpp: bs = extract(b->gt;v[0].v, 0); t0 = MUL(a0, bs); t1 = MUL(a1, bs);
HFE-test.cpp: ^
HFE-test.cpp: ./tower.h:374:19: note: expanded from macro 'MUL'
HFE-test.cpp: #define MUL(a,b) (_mm_mullo_epi16((a),(b)))
HFE-test.cpp: ^
HFE-test.cpp: ./tower.h:389:54: error: always_inline function '_mm_mullo_epi16' requires target feature 'sse2', but would be inlined into function '_mult' that is compiled without support for 'sse2'
HFE-test.cpp: bs = extract(b->gt;v[0].v, 0); t0 = MUL(a0, bs); t1 = MUL(a1, bs);
HFE-test.cpp: ^
HFE-test.cpp: ./tower.h:374:19: note: expanded from macro 'MUL'
HFE-test.cpp: #define MUL(a,b) (_mm_mullo_epi16((a),(b)))
HFE-test.cpp: ^
HFE-test.cpp: ./tower.h:391:36: error: always_inline function '_mm_mullo_epi16' requires target feature 'sse2', but would be inlined into function '_mult' that is compiled without support for 'sse2'
HFE-test.cpp: bs = extract(b->gt;v[0].v, 1); t0 = MUL(a0, bs); t1 = MUL(a1, bs);
HFE-test.cpp: ^
HFE-test.cpp: ./tower.h:374:19: note: expanded from macro 'MUL'
HFE-test.cpp: #define MUL(a,b) (_mm_mullo_epi16((a),(b)))
HFE-test.cpp: ^
HFE-test.cpp: ./tower.h:391:54: error: always_inline function '_mm_mullo_epi16' requires target feature 'sse2', but would be inlined into function '_mult' that is compiled without support for 'sse2'
HFE-test.cpp: bs = extract(b->gt;v[0].v, 1); t0 = MUL(a0, bs); t1 = MUL(a1, bs);
HFE-test.cpp: ^
HFE-test.cpp: ./tower.h:374:19: note: expanded from macro 'MUL'
HFE-test.cpp: #define MUL(a,b) (_mm_mullo_epi16((a),(b)))
HFE-test.cpp: ...

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

Compiler output

Implementation: crypto_encrypt/4hfe/ref
Compiler: g++ -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
HFE-test.cpp: In file included from HFE.h:6:0,
HFE-test.cpp: from HFE-test.cpp:18:
HFE-test.cpp: tower.h: In function '__m128i extract(__m128i, int)':
HFE-test.cpp: tower.h:342:47: warning: SSE vector return without SSE enabled changes the ABI [-Wpsabi]
HFE-test.cpp: inline static __m128i extract(__m128i a, int i){
HFE-test.cpp: ^
HFE-test.cpp: In file included from gfv.h:3:0,
HFE-test.cpp: from tower.h:5,
HFE-test.cpp: from HFE.h:6,
HFE-test.cpp: from HFE-test.cpp:18:
HFE-test.cpp: /usr/lib/gcc/i686-linux-gnu/5/include/emmintrin.h:1415:1: error: inlining failed in call to always_inline '__m128i _mm_shuffle_epi32(__m128i, int)': target specific option mismatch
HFE-test.cpp: _mm_shuffle_epi32 (__m128i __A, const int __mask)
HFE-test.cpp: ^
HFE-test.cpp: In file included from HFE.h:6:0,
HFE-test.cpp: from HFE-test.cpp:18:
HFE-test.cpp: tower.h:344:27: error: called from here
HFE-test.cpp: return _mm_shuffle_epi32(_mm_unpacklo_epi16(a, a), 0);
HFE-test.cpp: ^
HFE-test.cpp: In file included from gfv.h:3:0,
HFE-test.cpp: from tower.h:5,
HFE-test.cpp: from HFE.h:6,
HFE-test.cpp: from HFE-test.cpp:18:
HFE-test.cpp: /usr/lib/gcc/i686-linux-gnu/5/include/emmintrin.h:993:1: error: inlining failed in call to always_inline '__m128i _mm_unpacklo_epi16(__m128i, __m128i)': target specific option mismatch
HFE-test.cpp: _mm_unpacklo_epi16 (__m128i __A, __m128i __B)
HFE-test.cpp: ^
HFE-test.cpp: ...

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
g++ -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv ref
g++ -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv ref
g++ -march=native -mtune=native -O -fomit-frame-pointer -fwrapv ref
g++ -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv ref