Implementation notes: mipso32, loongson, crypto_aead/kiasuneq128v1

Computer: loongson
Architecture: mipso32
CPU ID: unknown CPU ID
SUPERCOP version: 20161026
Operation: crypto_aead
Primitive: kiasuneq128v1
TimeImplementationCompilerBenchmark dateSUPERCOP version
463912refgcc -funroll-loops -march=loongson2f -mabi=n32 -O32016121620161026
464476refgcc -march=loongson2f -mabi=n32 -O32016121620161026
531308refgcc -funroll-loops -march=loongson2f -mabi=n32 -O22016121620161026
629624refgcc -funroll-loops -march=loongson2f -mabi=n32 -Os2016121620161026
643506refgcc -march=loongson2f -mabi=n32 -O22016121620161026
644732refgcc -march=loongson2f -mabi=n32 -Os2016121620161026

Compiler output

Implementation: crypto_aead/kiasuneq128v1/bitslice
Compiler: gcc -funroll-loops -march=loongson2f -mabi=n32 -O2
kiasu.c: kiasu.c: In function 'kiasu_aead_encrypt':
kiasu.c: kiasu.c:256:13: error: unknown type name 'block'
kiasu.c: ALIGN(16) block Auth; /* Auth value during the mode */
kiasu.c: ^
kiasu.c: kiasu.c:257:13: error: unknown type name 'block'
kiasu.c: ALIGN(16) block Checksum; /* Checksum on the plaintext blocks */
kiasu.c: ^
kiasu.c: kiasu.c:258:13: error: unknown type name 'block'
kiasu.c: ALIGN(16) block PaddedBlock; /* Padded blocks if needed, otherwise the zero bock */
kiasu.c: ^
kiasu.c: ...
kiasu.c: ^
kiasu.c: kiasu.c:676:17: error: expected expression before ')' token
kiasu.c: adp = (block *)c;
kiasu.c: ^
kiasu.c: kiasu.c:765:16: error: expected expression before ')' token
kiasu.c: *(block *)lastBlock=ta[b&0x7];
kiasu.c: ^
kiasu.c: kiasu.c:806:12: error: expected expression before ')' token
kiasu.c: *(block *)tag=Auth;
kiasu.c: ^

Number of similar (compiler,implementation) pairs: 6, namely:
CompilerImplementations
gcc -funroll-loops -march=loongson2f -mabi=n32 -O2 bitslice
gcc -funroll-loops -march=loongson2f -mabi=n32 -O3 bitslice
gcc -funroll-loops -march=loongson2f -mabi=n32 -Os bitslice
gcc -march=loongson2f -mabi=n32 -O2 bitslice
gcc -march=loongson2f -mabi=n32 -O3 bitslice
gcc -march=loongson2f -mabi=n32 -Os bitslice

Compiler output

Implementation: crypto_aead/kiasuneq128v1/opt
Compiler: gcc -funroll-loops -march=loongson2f -mabi=n32 -O2
kiasu.c: kiasu.c:26:74: fatal error: xmmintrin.h: No such file or directory
kiasu.c: #include gt; /* SSE instructions and _mm_malloc */
kiasu.c: ^
kiasu.c: compilation terminated.

Number of similar (compiler,implementation) pairs: 6, namely:
CompilerImplementations
gcc -funroll-loops -march=loongson2f -mabi=n32 -O2 opt
gcc -funroll-loops -march=loongson2f -mabi=n32 -O3 opt
gcc -funroll-loops -march=loongson2f -mabi=n32 -Os opt
gcc -march=loongson2f -mabi=n32 -O2 opt
gcc -march=loongson2f -mabi=n32 -O3 opt
gcc -march=loongson2f -mabi=n32 -Os opt