Implementation notes: aarch64, hikey960, crypto_encrypt/ntruees401ep2

Computer: hikey960
Architecture: aarch64
CPU ID: 410fd034
SUPERCOP version: 20190816
Operation: crypto_encrypt
Primitive: ntruees401ep2
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
12436246518 864 8069287 1848 1672refgcc_-funroll-loops_-O_-fomit-frame-pointer2019121120190816
12436253130 864 8074469 1864 1704refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv2019121120190816
24142546518 864 8069287 1848 1672refgcc_-funroll-loops_-fno-schedule-insns_-O_-fomit-frame-pointer2019121120190816
27059533194 864 8052759 1848 1672refgcc_-fno-schedule-insns_-O_-fomit-frame-pointer2019121120190816
29970073610 864 8096597 1864 1704refgcc_-funroll-loops_-O3_-fomit-frame-pointer2019121120190816
29970046146 864 8068711 1848 1672refgcc_-funroll-loops_-fno-schedule-insns_-O2_-fomit-frame-pointer2019121120190816
29970073134 864 8096069 1864 1704refgcc_-funroll-loops_-fno-schedule-insns_-O3_-fomit-frame-pointer2019121120190816
30802555222 864 8076533 1864 1704refgcc_-fno-schedule-insns_-O3_-fomit-frame-pointer2019121120190816
37387046610 864 8069159 1848 1672refgcc_-funroll-loops_-O2_-fomit-frame-pointer2019121120190816
37387030643 864 8049387 1832 1672refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv2019121120190816
41625033298 864 8052807 1848 1672refgcc_-fno-schedule-insns_-O2_-fomit-frame-pointer2019121120190816
46726055386 864 8076725 1864 1704refgcc_-O3_-fomit-frame-pointer2019121120190816
51615030643 864 8049387 1832 1672refgcc_-Os_-fomit-frame-pointer2019121120190816
59107533318 864 8052879 1848 1672refgcc_-O2_-fomit-frame-pointer2019121120190816
59107533486 864 8053047 1848 1672refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv2019121120190816
59634333194 864 8052759 1848 1672refgcc_-O_-fomit-frame-pointer2019121120190816
61605033270 864 8052839 1848 1672refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv2019121120190816
74925030607 864 8049371 1832 1672refgcc_-funroll-loops_-Os_-fomit-frame-pointer2019121120190816
76182930643 864 8049387 1832 1672refgcc_-fno-schedule-insns_-Os_-fomit-frame-pointer2019121120190816
79513330607 864 8049371 1832 1672refgcc_-funroll-loops_-fno-schedule-insns_-Os_-fomit-frame-pointer2019121120190816
179009063988 872 8086795 1840 1672refgcc2019121120190816
194554063988 872 8086795 1840 1672refcc2019121120190816
339700863988 872 8086795 1840 1672refgcc_-funroll-loops2019121120190816

Compiler output

Implementation: ref
Security model: unknown
Compiler: clang -O3 -fomit-frame-pointer -Qunused-arguments
ntru_crypto_sha1.c: ntru_crypto_sha1.c:85:33: warning: '&' within '^' [-Wbitwise-op-parentheses]
ntru_crypto_sha1.c: E += RL(A, 5) + K00_19 + (B & (C ^ D) ^ D) + data[ 0]; B = RL(B, 30);
ntru_crypto_sha1.c: ~~^~~~~~~~~ ~
ntru_crypto_sha1.c: ntru_crypto_sha1.c:85:33: note: place parentheses around the '&' expression to silence this warning
ntru_crypto_sha1.c: E += RL(A, 5) + K00_19 + (B & (C ^ D) ^ D) + data[ 0]; B = RL(B, 30);
ntru_crypto_sha1.c: ^
ntru_crypto_sha1.c: ( )
ntru_crypto_sha1.c: ntru_crypto_sha1.c:86:33: warning: '&' within '^' [-Wbitwise-op-parentheses]
ntru_crypto_sha1.c: D += RL(E, 5) + K00_19 + (A & (B ^ C) ^ C) + data[ 1]; A = RL(A, 30);
ntru_crypto_sha1.c: ~~^~~~~~~~~ ~
ntru_crypto_sha1.c: ntru_crypto_sha1.c:86:33: note: place parentheses around the '&' expression to silence this warning
ntru_crypto_sha1.c: D += RL(E, 5) + K00_19 + (A & (B ^ C) ^ C) + data[ 1]; A = RL(A, 30);
ntru_crypto_sha1.c: ^
ntru_crypto_sha1.c: ( )
ntru_crypto_sha1.c: ntru_crypto_sha1.c:87:33: warning: '&' within '^' [-Wbitwise-op-parentheses]
ntru_crypto_sha1.c: C += RL(D, 5) + K00_19 + (E & (A ^ B) ^ B) + data[ 2]; E = RL(E, 30);
ntru_crypto_sha1.c: ~~^~~~~~~~~ ~
ntru_crypto_sha1.c: ntru_crypto_sha1.c:87:33: note: place parentheses around the '&' expression to silence this warning
ntru_crypto_sha1.c: C += RL(D, 5) + K00_19 + (E & (A ^ B) ^ B) + data[ 2]; E = RL(E, 30);
ntru_crypto_sha1.c: ^
ntru_crypto_sha1.c: ( )
ntru_crypto_sha1.c: ntru_crypto_sha1.c:88:33: warning: '&' within '^' [-Wbitwise-op-parentheses]
ntru_crypto_sha1.c: B += RL(C, 5) + K00_19 + (D & (E ^ A) ^ A) + data[ 3]; D = RL(D, 30);
ntru_crypto_sha1.c: ~~^~~~~~~~~ ~
ntru_crypto_sha1.c: ntru_crypto_sha1.c:88:33: note: place parentheses around the '&' expression to silence this warning
ntru_crypto_sha1.c: ...

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
clang -O3 -fomit-frame-pointer -Qunused-arguments ref
clang -O3 -fwrapv -mavx2 -fomit-frame-pointer -Qunused-arguments ref
clang -O3 -fwrapv -mavx -fomit-frame-pointer -Qunused-arguments ref
clang -O3 -fwrapv -mavx -maes -mpclmul -fomit-frame-pointer -Qunused-arguments ref