Implementation notes: amd64, h3neo, crypto_aead/iscream12v1
Computer: h3neo
Microarchitecture: amd64; K10 45nm (100f63)
Architecture: amd64
CPU ID: AuthenticAMD-00100f63-078bfbff
SUPERCOP version: 20240625
Operation: crypto_aead
Primitive: iscream12v1
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
442485 | 6242 1024 0 | 27947 1876 1024 | T:ref | clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240704 | 20240625 |
442645 | 6082 1024 0 | 26867 1876 1024 | T:ref | clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240704 | 20240625 |
443935 | 9180 1024 0 | 32596 1844 1088 | T:ref | gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240704 | 20240625 |
522248 | 6528 1024 0 | 28819 1876 1024 | T:ref | clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240704 | 20240625 |
1034773 | 3203 1024 0 | 22413 1868 1024 | T:ref | clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240704 | 20240625 |
1166676 | 3515 1024 0 | 23275 1876 1024 | T:ref | clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240704 | 20240625 |
1535465 | 3617 1024 0 | 24764 1844 1088 | T:ref | gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240704 | 20240625 |
1552342 | 3953 1024 0 | 26052 1844 1088 | T:ref | gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240704 | 20240625 |
1595321 | 3131 1024 0 | 22591 1820 1056 | T:ref | gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240704 | 20240625 |
Compiler output
iscream.c: iscream.c:203:10: error: '__builtin_ia32_pshufb128' needs target feature ssse3
iscream.c: A = __builtin_ia32_pshufb128(table, t0);
iscream.c: ^
iscream.c: iscream.c:204:10: error: '__builtin_ia32_pshufb128' needs target feature ssse3
iscream.c: C = __builtin_ia32_pshufb128(table, t1);
iscream.c: ^
iscream.c: iscream.c:208:10: error: '__builtin_ia32_pshufb128' needs target feature ssse3
iscream.c: B = __builtin_ia32_pshufb128(table, t0);
iscream.c: ^
iscream.c: iscream.c:209:10: error: '__builtin_ia32_pshufb128' needs target feature ssse3
iscream.c: D = __builtin_ia32_pshufb128(table, t1);
iscream.c: ^
iscream.c: iscream.c:216:10: error: '__builtin_ia32_pshufb128' needs target feature ssse3
iscream.c: A ^= __builtin_ia32_pshufb128(table, in[0]);
iscream.c: ^
iscream.c: iscream.c:217:10: error: '__builtin_ia32_pshufb128' needs target feature ssse3
iscream.c: C ^= __builtin_ia32_pshufb128(table, in[2]);
iscream.c: ^
iscream.c: iscream.c:221:10: error: '__builtin_ia32_pshufb128' needs target feature ssse3
iscream.c: B ^= __builtin_ia32_pshufb128(table, in[0]);
iscream.c: ^
iscream.c: iscream.c:222:10: error: '__builtin_ia32_pshufb128' needs target feature ssse3
iscream.c: D ^= __builtin_ia32_pshufb128(table, in[2]);
iscream.c: ^
iscream.c: iscream.c:229:10: error: '__builtin_ia32_pshufb128' needs target feature ssse3
iscream.c: ...
Number of similar (implementation,compiler) pairs: 5, namely:
Implementation | Compiler |
T:sse | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:sse | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:sse | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:sse | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:sse | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
Compiler output
iscream.c: iscream.c: In function 'LBox16P':
iscream.c: iscream.c:203:10: warning: implicit declaration of function '__builtin_ia32_pshufb128'; did you mean '__builtin_ia32_psubb128'? [-Wimplicit-function-declaration]
iscream.c: 203 | A = __builtin_ia32_pshufb128(table, t0);
iscream.c: | ^~~~~~~~~~~~~~~~~~~~~~~~
iscream.c: | __builtin_ia32_psubb128
iscream.c: iscream.c:203:10: error: incompatible types when assigning to type 'v16qi' {aka '__vector(16) char'} from type 'int'
iscream.c: iscream.c:204:10: error: incompatible types when assigning to type 'v16qi' {aka '__vector(16) char'} from type 'int'
iscream.c: 204 | C = __builtin_ia32_pshufb128(table, t1);
iscream.c: | ^~~~~~~~~~~~~~~~~~~~~~~~
iscream.c: iscream.c:208:10: error: incompatible types when assigning to type 'v16qi' {aka '__vector(16) char'} from type 'int'
iscream.c: 208 | B = __builtin_ia32_pshufb128(table, t0);
iscream.c: | ^~~~~~~~~~~~~~~~~~~~~~~~
iscream.c: iscream.c:209:10: error: incompatible types when assigning to type 'v16qi' {aka '__vector(16) char'} from type 'int'
iscream.c: 209 | D = __builtin_ia32_pshufb128(table, t1);
iscream.c: | ^~~~~~~~~~~~~~~~~~~~~~~~
iscream.c: iscream.c:216:7: error: conversion of scalar 'int' to vector 'v16qi' {aka '__vector(16) char'} involves truncation
iscream.c: 216 | A ^= __builtin_ia32_pshufb128(table, in[0]);
iscream.c: | ^~
iscream.c: iscream.c:217:7: error: conversion of scalar 'int' to vector 'v16qi' {aka '__vector(16) char'} involves truncation
iscream.c: 217 | C ^= __builtin_ia32_pshufb128(table, in[2]);
iscream.c: | ^~
iscream.c: iscream.c:221:7: error: conversion of scalar 'int' to vector 'v16qi' {aka '__vector(16) char'} involves truncation
iscream.c: 221 | B ^= __builtin_ia32_pshufb128(table, in[0]);
iscream.c: | ^~
iscream.c: iscream.c:222:7: error: conversion of scalar 'int' to vector 'v16qi' {aka '__vector(16) char'} involves truncation
iscream.c: ...
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
T:sse | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:sse | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:sse | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:sse | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |