Implementation notes: amd64, comet, crypto_aead/giftcofb128v1

Computer: comet
Microarchitecture: amd64; CometLake (806ec)
Architecture: amd64
CPU ID: GenuineIntel-000806ec-bfebfbff
SUPERCOP version: 20221025
Operation: crypto_aead
Primitive: giftcofb128v1
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
2577139114 0 022154 804 1040T:aadomn/opt32gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011520210114
25845110038 0 024350 820 1040T:aadomn/opt32gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011520210114
26205310966 0 027783 828 1040T:aadomn/opt32gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011520210114
27111610856 0 025078 820 1040T:aadomn/opt32gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011520210114
13228073492 0 017152 804 1008T:refclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021011520210114
212259710340 0 027167 828 1040T:refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011520210114
33392318174 0 025610 812 1040T:refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021011520210114
33400678174 0 025754 812 1040T:refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021011520210114
33407688174 0 025610 812 1040T:refclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021011520210114
37708403237 0 017566 820 1040T:refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011520210114
38263363275 0 017526 820 1040T:refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011520210114
42304082433 0 015530 804 1040T:refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011520210114
49139737764 0 024490 812 1008T:refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021011520210114

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