Implementation notes: riscv64, hifiveunleashedriscv, crypto_aead/omdsha256k256n248tau256v2

Computer: hifiveunleashedriscv
Architecture: riscv64
CPU ID: unknown CPU ID
SUPERCOP version: 20191221
Operation: crypto_aead
Primitive: omdsha256k256n248tau256v2
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
10114776830 0 019049 760 848refgcc_-march=rv64gc_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019123020191221
11297933912 0 014667 760 848refgcc_-march=rv64gc_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019123020191221
13051453822 0 013815 760 848refgcc_-march=rv64gc_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019123020191221
13221293450 0 013145 744 848refgcc_-march=rv64gc_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019123020191221

Compiler output

Implementation: avx1
Security model: unknown
Compiler: gcc -march=rv64gc -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
encrypt.c: /tmp/cc8NlO3x.s: Assembler messages:
encrypt.c: /tmp/cc8NlO3x.s:5: Error: unknown pseudo-op: `.intel_syntax'
encrypt.c: /tmp/cc8NlO3x.s:11: Error: unrecognized opcode `push rbx'
encrypt.c: /tmp/cc8NlO3x.s:12: Error: unrecognized opcode `push rbp'
encrypt.c: /tmp/cc8NlO3x.s:13: Error: unrecognized opcode `push r13'
encrypt.c: /tmp/cc8NlO3x.s:14: Error: unrecognized opcode `push r14'
encrypt.c: /tmp/cc8NlO3x.s:15: Error: unrecognized opcode `push r15'
encrypt.c: /tmp/cc8NlO3x.s:16: Error: illegal operands `sub rsp,32'
encrypt.c: /tmp/cc8NlO3x.s:17: Error: unrecognized opcode `shl rdx,6'
encrypt.c: /tmp/cc8NlO3x.s:18: Error: unrecognized opcode `jz done_hash'
encrypt.c: /tmp/cc8NlO3x.s:19: Error: illegal operands `add rdx,rdi'
encrypt.c: /tmp/cc8NlO3x.s:20: Error: unrecognized opcode `mov [rsp+0],rdx'
encrypt.c: /tmp/cc8NlO3x.s:21: Error: unrecognized opcode `mov eax,[4*0+rsi]'
encrypt.c: /tmp/cc8NlO3x.s:22: Error: unrecognized opcode `mov ebx,[4*1+rsi]'
encrypt.c: /tmp/cc8NlO3x.s:23: Error: unrecognized opcode `mov ecx,[4*2+rsi]'
encrypt.c: /tmp/cc8NlO3x.s:24: Error: unrecognized opcode `mov r8d,[4*3+rsi]'
encrypt.c: /tmp/cc8NlO3x.s:25: Error: unrecognized opcode `mov edx,[4*4+rsi]'
encrypt.c: /tmp/cc8NlO3x.s:26: Error: unrecognized opcode `mov r9d,[4*5+rsi]'
encrypt.c: /tmp/cc8NlO3x.s:27: Error: unrecognized opcode `mov r10d,[4*6+rsi]'
encrypt.c: /tmp/cc8NlO3x.s:28: Error: unrecognized opcode `mov r11d,[4*7+rsi]'
encrypt.c: /tmp/cc8NlO3x.s:29: Error: unrecognized opcode `vmovdqa xmm13,XMMWORD PTR[PSHUFFLE_BYTE_FLIP_MASK+rip]'
encrypt.c: /tmp/cc8NlO3x.s:30: Error: unrecognized opcode `vmovdqa xmm10,XMMWORD PTR[_SHUF_00BA+rip]'
encrypt.c: /tmp/cc8NlO3x.s:31: Error: unrecognized opcode `vmovdqa xmm12,XMMWORD PTR[_SHUF_DC00+rip]'
encrypt.c: /tmp/cc8NlO3x.s:33: Error: unrecognized opcode `lea rbp,XMMWORD PTR[K256+rip]'
encrypt.c: /tmp/cc8NlO3x.s:34: Error: unrecognized opcode `vmovdqu xmm4,[rdi+0*16]'
encrypt.c: ...

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
gcc -march=rv64gc -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE avx1

Compiler output

Implementation: avx1
Security model: unknown
Compiler: gcc -march=rv64gc -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE
encrypt.c: /tmp/ccMoJAXe.s: Assembler messages:
encrypt.c: /tmp/ccMoJAXe.s:5: Error: unknown pseudo-op: `.intel_syntax'
encrypt.c: gcc: fatal error: Killed signal terminated program as
encrypt.c: compilation terminated.

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
gcc -march=rv64gc -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE avx1

Compiler output

Implementation: avx1
Security model: unknown
Compiler: gcc -march=rv64gc -O -fomit-frame-pointer -fwrapv -fPIC -fPIE
encrypt.c: /tmp/ccSYtWM2.s: Assembler messages:
encrypt.c: /tmp/ccSYtWM2.s:5: Error: unknown pseudo-op: `.intel_syntax'
encrypt.c: gcc: fatal error: Killed signal terminated program as
encrypt.c: compilation terminated.

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
gcc -march=rv64gc -O -fomit-frame-pointer -fwrapv -fPIC -fPIE avx1

Compiler output

Implementation: avx1
Security model: unknown
Compiler: gcc -march=rv64gc -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE
encrypt.c: /tmp/ccvMEFyz.s: Assembler messages:
encrypt.c: /tmp/ccvMEFyz.s:5: Error: unknown pseudo-op: `.intel_syntax'
encrypt.c: /tmp/ccvMEFyz.s:8: Internal error (Segmentation fault).
encrypt.c: Please report this bug.

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
gcc -march=rv64gc -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE avx1

Compiler output

Implementation: sse4
Security model: unknown
Compiler: gcc -march=rv64gc -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
encrypt.c: /tmp/ccGI6xWp.s: Assembler messages:
encrypt.c: /tmp/ccGI6xWp.s:5: Error: unknown pseudo-op: `.intel_syntax'
encrypt.c: /tmp/ccGI6xWp.s:10: Error: unrecognized opcode `push rbx'
encrypt.c: /tmp/ccGI6xWp.s:11: Error: unrecognized opcode `push rbp'
encrypt.c: /tmp/ccGI6xWp.s:12: Error: unrecognized opcode `push r13'
encrypt.c: /tmp/ccGI6xWp.s:13: Error: unrecognized opcode `push r14'
encrypt.c: /tmp/ccGI6xWp.s:14: Error: unrecognized opcode `push r15'
encrypt.c: /tmp/ccGI6xWp.s:15: Error: illegal operands `sub rsp,32'
encrypt.c: /tmp/ccGI6xWp.s:16: Error: unrecognized opcode `shl rdx,6'
encrypt.c: /tmp/ccGI6xWp.s:17: Error: unrecognized opcode `jz done_hash'
encrypt.c: /tmp/ccGI6xWp.s:18: Error: illegal operands `add rdx,rdi'
encrypt.c: /tmp/ccGI6xWp.s:19: Error: unrecognized opcode `mov [rsp+0],rdx'
encrypt.c: /tmp/ccGI6xWp.s:20: Error: unrecognized opcode `mov eax,[4*0+rsi]'
encrypt.c: /tmp/ccGI6xWp.s:21: Error: unrecognized opcode `mov ebx,[4*1+rsi]'
encrypt.c: /tmp/ccGI6xWp.s:22: Error: unrecognized opcode `mov ecx,[4*2+rsi]'
encrypt.c: /tmp/ccGI6xWp.s:23: Error: unrecognized opcode `mov r8d,[4*3+rsi]'
encrypt.c: /tmp/ccGI6xWp.s:24: Error: unrecognized opcode `mov edx,[4*4+rsi]'
encrypt.c: /tmp/ccGI6xWp.s:25: Error: unrecognized opcode `mov r9d,[4*5+rsi]'
encrypt.c: /tmp/ccGI6xWp.s:26: Error: unrecognized opcode `mov r10d,[4*6+rsi]'
encrypt.c: /tmp/ccGI6xWp.s:27: Error: unrecognized opcode `mov r11d,[4*7+rsi]'
encrypt.c: /tmp/ccGI6xWp.s:28: Error: unrecognized opcode `movdqa xmm12,XMMWORD PTR[PSHUFFLE_BYTE_FLIP_MASK+rip]'
encrypt.c: /tmp/ccGI6xWp.s:29: Error: unrecognized opcode `movdqa xmm10,XMMWORD PTR[_SHUF_00BA+rip]'
encrypt.c: /tmp/ccGI6xWp.s:30: Error: unrecognized opcode `movdqa xmm11,XMMWORD PTR[_SHUF_DC00+rip]'
encrypt.c: /tmp/ccGI6xWp.s:32: Error: unrecognized opcode `lea rbp,XMMWORD PTR[K256+rip]'
encrypt.c: /tmp/ccGI6xWp.s:33: Error: unrecognized opcode `movdqu xmm4,[rdi+0*16]'
encrypt.c: ...

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
gcc -march=rv64gc -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE sse4

Compiler output

Implementation: sse4
Security model: unknown
Compiler: gcc -march=rv64gc -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE
encrypt.c: /tmp/ccjJlp8f.s: Assembler messages:
encrypt.c: /tmp/ccjJlp8f.s:5: Error: unknown pseudo-op: `.intel_syntax'
encrypt.c: gcc: fatal error: Killed signal terminated program as
encrypt.c: compilation terminated.

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
gcc -march=rv64gc -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE sse4

Compiler output

Implementation: sse4
Security model: unknown
Compiler: gcc -march=rv64gc -O -fomit-frame-pointer -fwrapv -fPIC -fPIE
encrypt.c: /tmp/cce89mlr.s: Assembler messages:
encrypt.c: /tmp/cce89mlr.s:5: Error: unknown pseudo-op: `.intel_syntax'
encrypt.c: /tmp/cce89mlr.s:8: Internal error (Segmentation fault).
encrypt.c: Please report this bug.

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
gcc -march=rv64gc -O -fomit-frame-pointer -fwrapv -fPIC -fPIE sse4

Compiler output

Implementation: sse4
Security model: unknown
Compiler: gcc -march=rv64gc -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE
encrypt.c: /tmp/ccqdOodo.s: Assembler messages:
encrypt.c: /tmp/ccqdOodo.s:5: Error: unknown pseudo-op: `.intel_syntax'
encrypt.c: gcc: fatal error: Killed signal terminated program as
encrypt.c: compilation terminated.

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
gcc -march=rv64gc -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE sse4

Namespace violations

Implementation: ref
Security model: unknown
Compiler: gcc -march=rv64gc -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
omdsha256.o calc_L_i T
omdsha256.o double_block T
omdsha256.o final_masking_associated_data T
omdsha256.o final_masking_message T
omdsha256.o hash T
omdsha256.o increment_masking_associated_data T
omdsha256.o increment_masking_message T
omdsha256.o key_func T
omdsha256.o l2b T
omdsha256.o ntz T
omdsha256.o omdsha256_process T
omdsha256.o triple_block T
omdsha256.o xor_block T
sha256.o sha256_comp T

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
gcc -march=rv64gc -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE ref
gcc -march=rv64gc -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE ref
gcc -march=rv64gc -O -fomit-frame-pointer -fwrapv -fPIC -fPIE ref
gcc -march=rv64gc -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE ref