Implementation notes: amd64, hydra8, crypto_aead/giftcofb128v1

Computer: hydra8
Microarchitecture: amd64; IB+AES (306a9)
Architecture: amd64
CPU ID: GenuineIntel-000306a9-bfebfbff
SUPERCOP version: 20221122
Operation: crypto_aead
Primitive: giftcofb128v1
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
28230914358 0 031401 804 1072T:aadomn/opt32gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011420210114
28245910230 0 024944 796 1072T:aadomn/opt32gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011420210114
2837439254 0 022788 780 1040T:aadomn/opt32gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011420210114
28689310682 0 025312 796 1072T:aadomn/opt32gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011420210114
238873913129 0 030153 804 1072T:refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011420210114
45566027663 0 024979 820 1040T:refclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021011420210114
45578707663 0 024979 820 1040T:refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021011420210114
45585417663 0 026499 820 1040T:refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021011420210114
45616257575 0 024083 820 1008T:refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021011420210114
52493773600 0 017033 812 1008T:refclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021011420210114
62378263446 0 018176 796 1072T:refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011420210114
64005983348 0 018008 796 1072T:refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011420210114
68450192790 0 016372 780 1040T:refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011420210114

Compiler output

Implementation: T:aadomn/opt32
Security model: timingleaks
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
giftb128.c: giftb128.c:52:17: error: assigning to 'u32' (aka 'unsigned int') from incompatible type 'void'
giftb128.c: rkey[i] = REARRANGE_RKEY_0(rkey[i]);
giftb128.c: ^ ~~~~~~~~~~~~~~~~~~~~~~~~~
giftb128.c: giftb128.c:53:21: error: assigning to 'u32' (aka 'unsigned int') from incompatible type 'void'
giftb128.c: rkey[i + 1] = REARRANGE_RKEY_0(rkey[i + 1]);
giftb128.c: ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
giftb128.c: giftb128.c:54:21: error: assigning to 'u32' (aka 'unsigned int') from incompatible type 'void'
giftb128.c: rkey[i + 2] = REARRANGE_RKEY_1(rkey[i + 2]);
giftb128.c: ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
giftb128.c: giftb128.c:55:21: error: assigning to 'u32' (aka 'unsigned int') from incompatible type 'void'
giftb128.c: rkey[i + 3] = REARRANGE_RKEY_1(rkey[i + 3]);
giftb128.c: ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
giftb128.c: giftb128.c:56:21: error: assigning to 'u32' (aka 'unsigned int') from incompatible type 'void'
giftb128.c: rkey[i + 4] = REARRANGE_RKEY_2(rkey[i + 4]);
giftb128.c: ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
giftb128.c: giftb128.c:57:21: error: assigning to 'u32' (aka 'unsigned int') from incompatible type 'void'
giftb128.c: rkey[i + 5] = REARRANGE_RKEY_2(rkey[i + 5]);
giftb128.c: ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
giftb128.c: giftb128.c:58:21: error: assigning to 'u32' (aka 'unsigned int') from incompatible type 'void'
giftb128.c: rkey[i + 6] = REARRANGE_RKEY_3(rkey[i + 6]);
giftb128.c: ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
giftb128.c: giftb128.c:59:21: error: assigning to 'u32' (aka 'unsigned int') from incompatible type 'void'
giftb128.c: rkey[i + 7] = REARRANGE_RKEY_3(rkey[i + 7]);
giftb128.c: ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
giftb128.c: 8 errors generated.

Number of similar (compiler,implementation) pairs: 5, namely:
CompilerImplementations
clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:aadomn/opt32
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:aadomn/opt32
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:aadomn/opt32
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:aadomn/opt32
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:aadomn/opt32

Namespace violations

Implementation: T:aadomn/opt32
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
encrypt.o giftcofb_crypt T
giftb128.o giftb128 T
giftb128.o precompute_rkeys T
giftb128.o rconst R

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

Namespace violations

Implementation: T:ref
Security model: timingleaks
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
encrypt.o cofb_decrypt T
encrypt.o cofb_encrypt T
gift128.o GIFT_RC R
gift128.o giftb128 T
gift128.o rowperm T

Number of similar (compiler,implementation) pairs: 9, namely:
CompilerImplementations
clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ref
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ref
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ref
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ref
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ref
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref