Implementation notes: amd64, wintermute, crypto_stream/cryptmtv3
Computer: wintermute
Architecture: amd64
CPU ID: GenuineIntel-000306c3-bfebfbff
SUPERCOP version: 20140505
Operation: crypto_stream
Primitive: cryptmtv3
Time | Implementation | Compiler | Benchmark date | SUPERCOP version |
5716 | e/v3 | clang -O3 | 20140508 | 20140505 |
5724 | e/v3 | clang -O3 -mavx | 20140508 | 20140505 |
5732 | e/v3 | clang -O3 -mavx2 | 20140508 | 20140505 |
31284 | e/v3 | cc | 20140508 | 20140505 |
Compiler output
Implementation: crypto_stream/cryptmtv3/e/v3
Compiler: cc
cryptmt-v3.c: In file included from cryptmt-v3.c:1:
cryptmt-v3.c: ./e/cryptmt-v3.c:189:18: warning: array index 156 is past the end of the array (which contains 156 elements) [-Warray-bounds]
cryptmt-v3.c: do_recursion(ps->gt;sfmt[N], ps->gt;sfmt[POS1], ps->gt;sfmt[N - 1]);
cryptmt-v3.c: ^ ~
cryptmt-v3.c: ./e/cryptmt-v3.c:25:5: note: array 'sfmt' declared here
cryptmt-v3.c: u32 sfmt[N][4];
cryptmt-v3.c: ^
cryptmt-v3.c: ./e/cryptmt-v3.c:403:27: warning: 'memset' call operates on objects of type 'ECRYPT_ctx' while the size is based on a different type 'ECRYPT_ctx *' [-Wsizeof-pointer-memaccess]
cryptmt-v3.c: memset(ctx, 0, sizeof(ctx));
cryptmt-v3.c: ~~~ ^~~
cryptmt-v3.c: ./e/cryptmt-v3.c:403:27: note: did you mean to dereference the argument to 'sizeof' (and multiply it by the number of elements)?
cryptmt-v3.c: memset(ctx, 0, sizeof(ctx));
cryptmt-v3.c: ^~~
cryptmt-v3.c: 2 warnings generated.
Number of similar (compiler,implementation) pairs: 4, namely:
Compiler | Implementations
|
cc | e/v3 |
clang -O3 | e/v3 |
clang -O3 -mavx | e/v3 |
clang -O3 -mavx2 | e/v3
|