Implementation notes: amd64, h3neo, crypto_aead/scream10v3

Computer: h3neo
Microarchitecture: amd64; K10 45nm (100f63)
Architecture: amd64
CPU ID: AuthenticAMD-00100f63-078bfbff
SUPERCOP version: 20240107
Operation: crypto_aead
Primitive: scream10v3
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
4262127136 0 827931 844 1024T:refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122020231212
4267807264 0 828979 844 1024T:refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122020231212
46670310861 0 834316 812 1120T:refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122020231212
4751627668 0 829979 844 1024T:refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122020231212
8474805306 0 824493 836 1024T:refclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122020231212
9873325825 0 825579 844 1024T:refclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122020231212
9911446997 0 829156 812 1120T:refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122020231212
10125986321 0 827516 812 1120T:refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122020231212
11208295939 0 825407 788 1088T:refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122020231212

Compiler output

Implementation: T:sse
Security model: timingleaks
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
scream.c: scream.c:202:10: error: '__builtin_ia32_pshufb128' needs target feature ssse3
scream.c: A = __builtin_ia32_pshufb128(table, t0);
scream.c: ^
scream.c: scream.c:203:10: error: '__builtin_ia32_pshufb128' needs target feature ssse3
scream.c: C = __builtin_ia32_pshufb128(table, t1);
scream.c: ^
scream.c: scream.c:207:10: error: '__builtin_ia32_pshufb128' needs target feature ssse3
scream.c: B = __builtin_ia32_pshufb128(table, t0);
scream.c: ^
scream.c: scream.c:208:10: error: '__builtin_ia32_pshufb128' needs target feature ssse3
scream.c: D = __builtin_ia32_pshufb128(table, t1);
scream.c: ^
scream.c: scream.c:215:10: error: '__builtin_ia32_pshufb128' needs target feature ssse3
scream.c: A ^= __builtin_ia32_pshufb128(table, in[0]);
scream.c: ^
scream.c: scream.c:216:10: error: '__builtin_ia32_pshufb128' needs target feature ssse3
scream.c: C ^= __builtin_ia32_pshufb128(table, in[2]);
scream.c: ^
scream.c: scream.c:220:10: error: '__builtin_ia32_pshufb128' needs target feature ssse3
scream.c: B ^= __builtin_ia32_pshufb128(table, in[0]);
scream.c: ^
scream.c: scream.c:221:10: error: '__builtin_ia32_pshufb128' needs target feature ssse3
scream.c: D ^= __builtin_ia32_pshufb128(table, in[2]);
scream.c: ^
scream.c: scream.c:228:10: error: '__builtin_ia32_pshufb128' needs target feature ssse3
scream.c: ...

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

Compiler output

Implementation: T:sse
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
scream.c: scream.c: In function 'LBox16P':
scream.c: scream.c:202:10: warning: implicit declaration of function '__builtin_ia32_pshufb128'; did you mean '__builtin_ia32_psubb128'? [-Wimplicit-function-declaration]
scream.c: 202 | A = __builtin_ia32_pshufb128(table, t0);
scream.c: | ^~~~~~~~~~~~~~~~~~~~~~~~
scream.c: | __builtin_ia32_psubb128
scream.c: scream.c:202:10: error: incompatible types when assigning to type 'v16qi' {aka '__vector(16) char'} from type 'int'
scream.c: scream.c:203:10: error: incompatible types when assigning to type 'v16qi' {aka '__vector(16) char'} from type 'int'
scream.c: 203 | C = __builtin_ia32_pshufb128(table, t1);
scream.c: | ^~~~~~~~~~~~~~~~~~~~~~~~
scream.c: scream.c:207:10: error: incompatible types when assigning to type 'v16qi' {aka '__vector(16) char'} from type 'int'
scream.c: 207 | B = __builtin_ia32_pshufb128(table, t0);
scream.c: | ^~~~~~~~~~~~~~~~~~~~~~~~
scream.c: scream.c:208:10: error: incompatible types when assigning to type 'v16qi' {aka '__vector(16) char'} from type 'int'
scream.c: 208 | D = __builtin_ia32_pshufb128(table, t1);
scream.c: | ^~~~~~~~~~~~~~~~~~~~~~~~
scream.c: scream.c:215:7: error: conversion of scalar 'int' to vector 'v16qi' {aka '__vector(16) char'} involves truncation
scream.c: 215 | A ^= __builtin_ia32_pshufb128(table, in[0]);
scream.c: | ^~
scream.c: scream.c:216:7: error: conversion of scalar 'int' to vector 'v16qi' {aka '__vector(16) char'} involves truncation
scream.c: 216 | C ^= __builtin_ia32_pshufb128(table, in[2]);
scream.c: | ^~
scream.c: scream.c:220:7: error: conversion of scalar 'int' to vector 'v16qi' {aka '__vector(16) char'} involves truncation
scream.c: 220 | B ^= __builtin_ia32_pshufb128(table, in[0]);
scream.c: | ^~
scream.c: scream.c:221:7: error: conversion of scalar 'int' to vector 'v16qi' {aka '__vector(16) char'} involves truncation
scream.c: ...

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