Implementation notes: amd64, margaux, crypto_aead/giftcofb128v1

Computer: margaux
Microarchitecture: amd64; C2 65nm (6fb)
Architecture: amd64
CPU ID: GenuineIntel-000006fb-bfebfbff
SUPERCOP version: 20221122
Operation: crypto_aead
Primitive: giftcofb128v1
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
33084210682 0 025312 796 1072T:aadomn/opt32gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021050320210423
33687914390 0 031465 804 1072T:aadomn/opt32gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021050320210423
33804710230 0 024968 796 1072T:aadomn/opt32gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021050320210423
3407509252 0 022772 780 1040T:aadomn/opt32gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021050320210423
304210215617 0 032673 804 1072T:refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021050320210423
48657197547 0 024052 804 1008T:refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021050320210423
48741687575 0 023876 804 1008T:refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021050320210423
48788887547 0 022708 804 1008T:refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021050320210423
48797277547 0 022708 804 1008T:refclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021050320210423
63831953348 0 018008 796 1072T:refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021050320210423
63842623462 0 018216 796 1072T:refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021050320210423
63939832788 0 016356 780 1040T:refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021050320210423
118175623682 0 016890 796 1008T:refclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021050320210423

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