Implementation notes: aarch64, pi4b, crypto_sign/ed448goldilocks

Computer: pi4b
Microarchitecture: aarch64; Cortex-A72 (410fd083)
Architecture: aarch64
CPU ID: 410fd083
SUPERCOP version: 20240716
Operation: crypto_sign
Primitive: ed448goldilocks

Checksum failure


f06e0575a1e4d9c1e3a81c0786a1420168d5087277c51193ac65588c93ee1ff1

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:64clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)

Test failure


error 111
crypto_sign_open returns nonzero

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:32clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)

Compiler output


barrett_field.c: In file included from barrett_field.c:5:
barrett_field.c: In file included from ./barrett_field.h:15:
barrett_field.c: In file included from ./word.h:17:
barrett_field.c: In file included from /usr/include/endian.h:21:
barrett_field.c: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
barrett_field.c: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
barrett_field.c:   ^
barrett_field.c: 1 warning generated.
ec_point.c: In file included from ec_point.c:12:
ec_point.c: In file included from ./ec_point.h:13:
ec_point.c: In file included from ./p448.h:7:
ec_point.c: In file included from ./word.h:17:
ec_point.c: In file included from /usr/include/endian.h:21:
ec_point.c: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
ec_point.c: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
ec_point.c:   ^
ec_point.c: 1 warning generated.
goldilocks.c: In file included from goldilocks.c:6:
goldilocks.c: In file included from ./word.h:17:
goldilocks.c: In file included from /usr/include/endian.h:21:
goldilocks.c: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
goldilocks.c: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
goldilocks.c:   ^
goldilocks.c: 1 warning generated.
magic.c: In file included from magic.c:5:
magic.c: In file included from ./field.h:11:
magic.c: In file included from ./magic.h:14:
magic.c: In file included from ./word.h:17:
magic.c: In file included from /usr/include/endian.h:21:
magic.c: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
magic.c: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
magic.c:   ^
magic.c: 1 warning generated.
p448.c: In file included from p448.c:5:
p448.c: In file included from ./word.h:17:
p448.c: In file included from /usr/include/endian.h:21:
p448.c: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
p448.c: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
p448.c:   ^
p448.c: 1 warning generated.
scalarmul.c: In file included from scalarmul.c:5:
scalarmul.c: In file included from ./word.h:17:
scalarmul.c: In file included from /usr/include/endian.h:21:
scalarmul.c: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
scalarmul.c: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
scalarmul.c:   ^
scalarmul.c: 1 warning generated.
sha512.c: In file included from sha512.c:5:
sha512.c: In file included from ./word.h:17:
sha512.c: In file included from /usr/include/endian.h:21:
sha512.c: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
sha512.c: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
sha512.c:   ^
sha512.c: 1 warning generated.

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:32clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)

Compiler output


barrett_field.c: In file included from /usr/include/endian.h:21,
barrett_field.c:                  from word.h:17,
barrett_field.c:                  from barrett_field.h:15,
barrett_field.c:                  from barrett_field.c:5:
barrett_field.c: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
barrett_field.c:   194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
barrett_field.c:       |   ^~~~~~~
ec_point.c: In file included from /usr/include/endian.h:21,
ec_point.c:                  from word.h:17,
ec_point.c:                  from p448.h:7,
ec_point.c:                  from ec_point.h:13,
ec_point.c:                  from ec_point.c:12:
ec_point.c: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
ec_point.c:   194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
ec_point.c:       |   ^~~~~~~
goldilocks.c: In file included from /usr/include/endian.h:21,
goldilocks.c:                  from word.h:17,
goldilocks.c:                  from goldilocks.c:6:
goldilocks.c: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
goldilocks.c:   194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
goldilocks.c:       |   ^~~~~~~
magic.c: In file included from /usr/include/endian.h:21,
magic.c:                  from word.h:17,
magic.c:                  from magic.h:14,
magic.c:                  from field.h:11,
magic.c:                  from magic.c:5:
magic.c: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
magic.c:   194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
magic.c:       |   ^~~~~~~
p448.c: In file included from /usr/include/endian.h:21,
p448.c:                  from word.h:17,
p448.c:                  from p448.c:5:
p448.c: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
p448.c:   194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
p448.c:       |   ^~~~~~~
scalarmul.c: In file included from /usr/include/endian.h:21,
scalarmul.c:                  from word.h:17,
scalarmul.c:                  from scalarmul.c:5:
scalarmul.c: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
scalarmul.c:   194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
scalarmul.c:       |   ^~~~~~~
scalarmul.c: scalarmul.c:304:18: warning: argument 2 of type 'const word_t[14]' {aka 'const unsigned int[14]'} with mismatched bound [-Warray-parameter=]
scalarmul.c:   304 |     const word_t scalar[SCALAR_WORDS],
scalarmul.c:       |     ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
scalarmul.c: In file included from scalarmul.c:12:
scalarmul.c: scalarmul.h:201:19: note: previously declared as 'const word_t *' {aka 'const unsigned int *'}
scalarmul.c:   201 |     const word_t *scalar,
scalarmul.c:       |     ~~~~~~~~~~~~~~^~~~~~
scalarmul.c: scalarmul.c:776:18: warning: argument 2 of type 'const word_t[14]' {aka 'const unsigned int[14]'} with mismatched bound [-Warray-parameter=]
scalarmul.c:   776 |     const word_t scalar[SCALAR_WORDS],
scalarmul.c:       |     ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
scalarmul.c: In file included from scalarmul.c:12:
scalarmul.c: scalarmul.h:219:19: note: previously declared as 'const word_t *' {aka 'const unsigned int *'}
scalarmul.c:   219 |     const word_t *scalar,
scalarmul.c:       |     ~~~~~~~~~~~~~~^~~~~~
scalarmul.c: scalarmul.c:817:18: warning: argument 2 of type 'const word_t[14]' {aka 'const unsigned int[14]'} with mismatched bound [-Warray-parameter=]
scalarmul.c:   817 |     const word_t scalar[SCALAR_WORDS],
scalarmul.c:       |     ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
scalarmul.c: In file included from scalarmul.c:12:
scalarmul.c: scalarmul.h:260:19: note: previously declared as 'const word_t *' {aka 'const unsigned int *'}
scalarmul.c: ...
sha512.c: In file included from /usr/include/endian.h:21,
sha512.c:                  from word.h:17,
sha512.c:                  from sha512.c:5:
sha512.c: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
sha512.c:   194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
sha512.c:       |   ^~~~~~~
sign.c: sign.c:16:19: warning: argument 1 of type 'unsigned char[144]' with mismatched bound [-Warray-parameter=]
sign.c:    16 |     unsigned char pk[SECRETKEY_BYTES],
sign.c:       |     ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
sign.c: In file included from crypto_sign.h:4,
sign.c:                  from sign.c:13:
sign.c: crypto_sign_ed448goldilocks.h:34:63: note: previously declared as 'unsigned char *'
sign.c:    34 | extern int crypto_sign_ed448goldilocks_32_timingleaks_keypair(unsigned char *,unsigned char *);
sign.c:       |                                                               ^~~~~~~~~~~~~~~
sign.c: sign.c:17:19: warning: argument 2 of type 'unsigned char[56]' with mismatched bound [-Warray-parameter=]
sign.c:    17 |     unsigned char sk[PUBLICKEY_BYTES]
sign.c:       |     ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
sign.c: In file included from crypto_sign.h:4,
sign.c:                  from sign.c:13:
sign.c: crypto_sign_ed448goldilocks.h:34:79: note: previously declared as 'unsigned char *'
sign.c:    34 | extern int crypto_sign_ed448goldilocks_32_timingleaks_keypair(unsigned char *,unsigned char *);
sign.c:       |                                                                               ^~~~~~~~~~~~~~~
sign.c: sign.c:35:25: warning: argument 5 of type 'const unsigned char[144]' with mismatched bound [-Warray-parameter=]
sign.c:    35 |     const unsigned char sk[SECRETKEY_BYTES]
sign.c:       |     ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
sign.c: In file included from crypto_sign.h:4,
sign.c:                  from sign.c:13:
sign.c: crypto_sign_ed448goldilocks.h:32:133: note: previously declared as 'const unsigned char *'
sign.c:    32 | extern int crypto_sign_ed448goldilocks_32_timingleaks(unsigned char *,unsigned long long *,const unsigned char *,unsigned long long,const unsigned char *);
sign.c:       |                                                                                                                                     ^~~~~~~~~~~~~~~~~~~~~
sign.c: sign.c:55:25: warning: argument 5 of type 'const unsigned char[56]' with mismatched bound [-Warray-parameter=]
sign.c: ...

Number of similar (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
T:32gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:32gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:32gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:32gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)

Compiler output


barrett_field.c: In file included from barrett_field.c:5:
barrett_field.c: In file included from ./barrett_field.h:15:
barrett_field.c: In file included from ./word.h:17:
barrett_field.c: In file included from /usr/include/endian.h:21:
barrett_field.c: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
barrett_field.c: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
barrett_field.c:   ^
barrett_field.c: 1 warning generated.
goldilocks.c: In file included from goldilocks.c:6:
goldilocks.c: In file included from ./word.h:17:
goldilocks.c: In file included from /usr/include/endian.h:21:
goldilocks.c: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
goldilocks.c: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
goldilocks.c:   ^
goldilocks.c: 1 warning generated.
magic.c: In file included from magic.c:5:
magic.c: In file included from ./field.h:11:
magic.c: In file included from ./magic.h:14:
magic.c: In file included from ./word.h:17:
magic.c: In file included from /usr/include/endian.h:21:
magic.c: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
magic.c: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
magic.c:   ^
magic.c: 1 warning generated.
scalarmul.c: In file included from scalarmul.c:5:
scalarmul.c: In file included from ./word.h:17:
scalarmul.c: In file included from /usr/include/endian.h:21:
scalarmul.c: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
scalarmul.c: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
scalarmul.c:   ^
scalarmul.c: 1 warning generated.
sha512.c: In file included from sha512.c:5:
sha512.c: In file included from ./word.h:17:
sha512.c: In file included from /usr/include/endian.h:21:
sha512.c: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
sha512.c: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
sha512.c:   ^
sha512.c: 1 warning generated.

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:64clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)

Compiler output


barrett_field.c: In file included from /usr/include/endian.h:21,
barrett_field.c:                  from word.h:17,
barrett_field.c:                  from barrett_field.h:15,
barrett_field.c:                  from barrett_field.c:5:
barrett_field.c: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
barrett_field.c:   194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
barrett_field.c:       |   ^~~~~~~
goldilocks.c: In file included from /usr/include/endian.h:21,
goldilocks.c:                  from word.h:17,
goldilocks.c:                  from goldilocks.c:6:
goldilocks.c: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
goldilocks.c:   194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
goldilocks.c:       |   ^~~~~~~
magic.c: In file included from /usr/include/endian.h:21,
magic.c:                  from word.h:17,
magic.c:                  from magic.h:14,
magic.c:                  from field.h:11,
magic.c:                  from magic.c:5:
magic.c: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
magic.c:   194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
magic.c:       |   ^~~~~~~
scalarmul.c: In file included from /usr/include/endian.h:21,
scalarmul.c:                  from word.h:17,
scalarmul.c:                  from scalarmul.c:5:
scalarmul.c: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
scalarmul.c:   194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
scalarmul.c:       |   ^~~~~~~
scalarmul.c: scalarmul.c:304:18: warning: argument 2 of type 'const word_t[7]' {aka 'const long unsigned int[7]'} with mismatched bound [-Warray-parameter=]
scalarmul.c:   304 |     const word_t scalar[SCALAR_WORDS],
scalarmul.c:       |     ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
scalarmul.c: In file included from scalarmul.c:12:
scalarmul.c: scalarmul.h:201:19: note: previously declared as 'const word_t *' {aka 'const long unsigned int *'}
scalarmul.c:   201 |     const word_t *scalar,
scalarmul.c:       |     ~~~~~~~~~~~~~~^~~~~~
scalarmul.c: scalarmul.c:776:18: warning: argument 2 of type 'const word_t[7]' {aka 'const long unsigned int[7]'} with mismatched bound [-Warray-parameter=]
scalarmul.c:   776 |     const word_t scalar[SCALAR_WORDS],
scalarmul.c:       |     ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
scalarmul.c: In file included from scalarmul.c:12:
scalarmul.c: scalarmul.h:219:19: note: previously declared as 'const word_t *' {aka 'const long unsigned int *'}
scalarmul.c:   219 |     const word_t *scalar,
scalarmul.c:       |     ~~~~~~~~~~~~~~^~~~~~
scalarmul.c: scalarmul.c:817:18: warning: argument 2 of type 'const word_t[7]' {aka 'const long unsigned int[7]'} with mismatched bound [-Warray-parameter=]
scalarmul.c:   817 |     const word_t scalar[SCALAR_WORDS],
scalarmul.c:       |     ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
scalarmul.c: In file included from scalarmul.c:12:
scalarmul.c: scalarmul.h:260:19: note: previously declared as 'const word_t *' {aka 'const long unsigned int *'}
scalarmul.c: ...
sha512.c: In file included from /usr/include/endian.h:21,
sha512.c:                  from word.h:17,
sha512.c:                  from sha512.c:5:
sha512.c: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
sha512.c:   194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
sha512.c:       |   ^~~~~~~
sign.c: sign.c:16:19: warning: argument 1 of type 'unsigned char[144]' with mismatched bound [-Warray-parameter=]
sign.c:    16 |     unsigned char pk[SECRETKEY_BYTES],
sign.c:       |     ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
sign.c: In file included from crypto_sign.h:4,
sign.c:                  from sign.c:13:
sign.c: crypto_sign_ed448goldilocks.h:34:63: note: previously declared as 'unsigned char *'
sign.c:    34 | extern int crypto_sign_ed448goldilocks_64_timingleaks_keypair(unsigned char *,unsigned char *);
sign.c:       |                                                               ^~~~~~~~~~~~~~~
sign.c: sign.c:17:19: warning: argument 2 of type 'unsigned char[56]' with mismatched bound [-Warray-parameter=]
sign.c:    17 |     unsigned char sk[PUBLICKEY_BYTES]
sign.c:       |     ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
sign.c: In file included from crypto_sign.h:4,
sign.c:                  from sign.c:13:
sign.c: crypto_sign_ed448goldilocks.h:34:79: note: previously declared as 'unsigned char *'
sign.c:    34 | extern int crypto_sign_ed448goldilocks_64_timingleaks_keypair(unsigned char *,unsigned char *);
sign.c:       |                                                                               ^~~~~~~~~~~~~~~
sign.c: sign.c:35:25: warning: argument 5 of type 'const unsigned char[144]' with mismatched bound [-Warray-parameter=]
sign.c:    35 |     const unsigned char sk[SECRETKEY_BYTES]
sign.c:       |     ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
sign.c: In file included from crypto_sign.h:4,
sign.c:                  from sign.c:13:
sign.c: crypto_sign_ed448goldilocks.h:32:133: note: previously declared as 'const unsigned char *'
sign.c:    32 | extern int crypto_sign_ed448goldilocks_64_timingleaks(unsigned char *,unsigned long long *,const unsigned char *,unsigned long long,const unsigned char *);
sign.c:       |                                                                                                                                     ^~~~~~~~~~~~~~~~~~~~~
sign.c: sign.c:55:25: warning: argument 5 of type 'const unsigned char[56]' with mismatched bound [-Warray-parameter=]
sign.c: ...

Number of similar (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
T:64gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:64gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:64gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:64gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)

Compiler output


barrett_field.c: In file included from barrett_field.c:5:
barrett_field.c: In file included from ./barrett_field.h:15:
barrett_field.c: In file included from ./word.h:17:
barrett_field.c: In file included from /usr/include/endian.h:21:
barrett_field.c: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
barrett_field.c: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
barrett_field.c:   ^
barrett_field.c: 1 warning generated.
goldilocks.c: In file included from goldilocks.c:6:
goldilocks.c: In file included from ./word.h:17:
goldilocks.c: In file included from /usr/include/endian.h:21:
goldilocks.c: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
goldilocks.c: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
goldilocks.c:   ^
goldilocks.c: 1 warning generated.
magic.c: In file included from magic.c:5:
magic.c: In file included from ./field.h:11:
magic.c: In file included from ./magic.h:14:
magic.c: In file included from ./word.h:17:
magic.c: In file included from /usr/include/endian.h:21:
magic.c: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
magic.c: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
magic.c:   ^
magic.c: 1 warning generated.
p448.c: In file included from p448.c:6:
p448.c: ./x86-64-arith.h:20:13: error: invalid output constraint '=a' in asm
p448.c:        : [c]"=a"(c), [d]"=d"(d)
p448.c:             ^
p448.c: ./x86-64-arith.h:42:13: error: invalid output constraint '=a' in asm
p448.c:        : [c]"=a"(c), [d]"=d"(d)
p448.c:             ^
p448.c: ./x86-64-arith.h:63:13: error: invalid output constraint '=a' in asm
p448.c:        : [c]"=a"(c), [d]"=d"(d)
p448.c:             ^
p448.c: ./x86-64-arith.h:101:10: error: unknown register name 'rax' in asm
p448.c:        : "rax", "rdx", "cc");
p448.c:          ^
p448.c: ./x86-64-arith.h:133:10: error: unknown register name 'rax' in asm
p448.c:        : "rax", "rdx", "cc");
p448.c:          ^
p448.c: ./x86-64-arith.h:160:10: error: unknown register name 'rax' in asm
p448.c:        : "rax", "rdx", "cc");
p448.c:          ^
p448.c: ./x86-64-arith.h:189:10: error: unknown register name 'rax' in asm
p448.c:        : "rax", "rdx", "cc");
p448.c:          ^
p448.c: ./x86-64-arith.h:215:10: error: unknown register name 'rax' in asm
p448.c:        : "rax", "rdx", "cc");
p448.c:          ^
p448.c: ...

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:amd64clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)

Compiler output


barrett_field.c: In file included from /usr/include/endian.h:21,
barrett_field.c:                  from word.h:17,
barrett_field.c:                  from barrett_field.h:15,
barrett_field.c:                  from barrett_field.c:5:
barrett_field.c: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
barrett_field.c:   194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
barrett_field.c:       |   ^~~~~~~
goldilocks.c: In file included from /usr/include/endian.h:21,
goldilocks.c:                  from word.h:17,
goldilocks.c:                  from goldilocks.c:6:
goldilocks.c: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
goldilocks.c:   194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
goldilocks.c:       |   ^~~~~~~
magic.c: In file included from /usr/include/endian.h:21,
magic.c:                  from word.h:17,
magic.c:                  from magic.h:14,
magic.c:                  from field.h:11,
magic.c:                  from magic.c:5:
magic.c: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
magic.c:   194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
magic.c:       |   ^~~~~~~
p448.c: In file included from p448.c:6:
p448.c: x86-64-arith.h: In function 'p448_mul':
p448.c: x86-64-arith.h:94:3: error: unknown register name 'rdx' in 'asm'
p448.c:    94 |   __asm__ volatile
p448.c:       |   ^~~~~~~
p448.c: x86-64-arith.h:94:3: error: unknown register name 'rax' in 'asm'
p448.c: x86-64-arith.h:94:3: error: unknown register name 'rdx' in 'asm'
p448.c:    94 |   __asm__ volatile
p448.c:       |   ^~~~~~~
p448.c: x86-64-arith.h:94:3: error: unknown register name 'rax' in 'asm'
p448.c: x86-64-arith.h:94:3: error: unknown register name 'rdx' in 'asm'
p448.c:    94 |   __asm__ volatile
p448.c:       |   ^~~~~~~
p448.c: x86-64-arith.h:94:3: error: unknown register name 'rax' in 'asm'
p448.c: x86-64-arith.h:94:3: error: unknown register name 'rdx' in 'asm'
p448.c:    94 |   __asm__ volatile
p448.c:       |   ^~~~~~~
p448.c: x86-64-arith.h:94:3: error: unknown register name 'rax' in 'asm'
p448.c: x86-64-arith.h:94:3: error: unknown register name 'rdx' in 'asm'
p448.c:    94 |   __asm__ volatile
p448.c:       |   ^~~~~~~
p448.c: x86-64-arith.h:94:3: error: unknown register name 'rax' in 'asm'
p448.c: x86-64-arith.h:94:3: error: unknown register name 'rdx' in 'asm'
p448.c:    94 |   __asm__ volatile
p448.c:       |   ^~~~~~~
p448.c: ...

Number of similar (implementation,compiler) pairs: 3, namely:
ImplementationCompiler
T:amd64gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:amd64gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:amd64gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)

Compiler output


barrett_field.c: In file included from /usr/include/endian.h:21,
barrett_field.c:                  from word.h:17,
barrett_field.c:                  from barrett_field.h:15,
barrett_field.c:                  from barrett_field.c:5:
barrett_field.c: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
barrett_field.c:   194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
barrett_field.c:       |   ^~~~~~~
goldilocks.c: In file included from /usr/include/endian.h:21,
goldilocks.c:                  from word.h:17,
goldilocks.c:                  from goldilocks.c:6:
goldilocks.c: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
goldilocks.c:   194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
goldilocks.c:       |   ^~~~~~~
magic.c: In file included from /usr/include/endian.h:21,
magic.c:                  from word.h:17,
magic.c:                  from magic.h:14,
magic.c:                  from field.h:11,
magic.c:                  from magic.c:5:
magic.c: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
magic.c:   194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
magic.c:       |   ^~~~~~~
p448.c: In file included from p448.c:6:
p448.c: x86-64-arith.h: In function 'widemul':
p448.c: x86-64-arith.h:17:3: error: impossible constraint in 'asm'
p448.c:    17 |   __asm__ volatile
p448.c:       |   ^~~~~~~
p448.c: x86-64-arith.h: In function 'mac':
p448.c: x86-64-arith.h:94:3: error: unknown register name 'rdx' in 'asm'
p448.c:    94 |   __asm__ volatile
p448.c:       |   ^~~~~~~
p448.c: x86-64-arith.h:94:3: error: unknown register name 'rax' in 'asm'
p448.c: x86-64-arith.h: In function 'mac_rm':
p448.c: x86-64-arith.h:153:3: error: unknown register name 'rdx' in 'asm'
p448.c:   153 |   __asm__ volatile
p448.c:       |   ^~~~~~~
p448.c: x86-64-arith.h:153:3: error: unknown register name 'rax' in 'asm'
p448.c: x86-64-arith.h: In function 'mac2':
p448.c: x86-64-arith.h:181:3: error: unknown register name 'rdx' in 'asm'
p448.c:   181 |   __asm__ volatile
p448.c:       |   ^~~~~~~
p448.c: x86-64-arith.h:181:3: error: unknown register name 'rax' in 'asm'
p448.c: x86-64-arith.h: In function 'msb':
p448.c: x86-64-arith.h:208:3: error: unknown register name 'rdx' in 'asm'
p448.c:   208 |   __asm__ volatile
p448.c:       |   ^~~~~~~
p448.c: x86-64-arith.h:208:3: error: unknown register name 'rax' in 'asm'
p448.c: ...

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:amd64gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)

Compiler output


barrett_field.c: In file included from barrett_field.c:5:
barrett_field.c: In file included from ./barrett_field.h:15:
barrett_field.c: In file included from ./word.h:17:
barrett_field.c: In file included from /usr/include/endian.h:21:
barrett_field.c: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
barrett_field.c: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
barrett_field.c:   ^
barrett_field.c: 1 warning generated.
crandom.c: In file included from crandom.c:11:
crandom.c: In file included from ./magic.h:15:
crandom.c: ./p448.h:314:14: warning: implicit declaration of function 'vshr_n_u32' is invalid in C99 [-Wimplicit-function-declaration]
crandom.c:        tmp = vshr_n_u32(aa[7],28);
crandom.c:              ^
crandom.c: ./p448.h:318:17: warning: implicit declaration of function 'vsra_n_u32' is invalid in C99 [-Wimplicit-function-declaration]
crandom.c:         aa[i] = vsra_n_u32(aa[i] & vmask, aa[i-1], 28);
crandom.c:                 ^
crandom.c: ./p448.h:320:31: warning: implicit declaration of function 'vrev64_u32' is invalid in C99 [-Wimplicit-function-declaration]
crandom.c:     aa[0] = (aa[0] & vmask) + vrev64_u32(tmp) + (tmp&vm2);
crandom.c:                               ^
crandom.c: 3 warnings generated.
ec_point.c: In file included from ec_point.c:12:
ec_point.c: In file included from ./ec_point.h:13:
ec_point.c: In file included from ./p448.h:7:
ec_point.c: In file included from ./word.h:17:
ec_point.c: In file included from /usr/include/endian.h:21:
ec_point.c: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
ec_point.c: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
ec_point.c:   ^
ec_point.c: In file included from ec_point.c:12:
ec_point.c: In file included from ./ec_point.h:13:
ec_point.c: ./p448.h:314:14: warning: implicit declaration of function 'vshr_n_u32' is invalid in C99 [-Wimplicit-function-declaration]
ec_point.c:        tmp = vshr_n_u32(aa[7],28);
ec_point.c:              ^
ec_point.c: ./p448.h:318:17: warning: implicit declaration of function 'vsra_n_u32' is invalid in C99 [-Wimplicit-function-declaration]
ec_point.c:         aa[i] = vsra_n_u32(aa[i] & vmask, aa[i-1], 28);
ec_point.c:                 ^
ec_point.c: ./p448.h:320:31: warning: implicit declaration of function 'vrev64_u32' is invalid in C99 [-Wimplicit-function-declaration]
ec_point.c:     aa[0] = (aa[0] & vmask) + vrev64_u32(tmp) + (tmp&vm2);
ec_point.c:                               ^
ec_point.c: 4 warnings generated.
goldilocks.c: In file included from goldilocks.c:6:
goldilocks.c: In file included from ./word.h:17:
goldilocks.c: In file included from /usr/include/endian.h:21:
goldilocks.c: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
goldilocks.c: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
goldilocks.c:   ^
goldilocks.c: In file included from goldilocks.c:15:
goldilocks.c: In file included from ./ec_point.h:13:
goldilocks.c: ./p448.h:314:14: warning: implicit declaration of function 'vshr_n_u32' is invalid in C99 [-Wimplicit-function-declaration]
goldilocks.c:        tmp = vshr_n_u32(aa[7],28);
goldilocks.c:              ^
goldilocks.c: ./p448.h:318:17: warning: implicit declaration of function 'vsra_n_u32' is invalid in C99 [-Wimplicit-function-declaration]
goldilocks.c:         aa[i] = vsra_n_u32(aa[i] & vmask, aa[i-1], 28);
goldilocks.c:                 ^
goldilocks.c: ./p448.h:320:31: warning: implicit declaration of function 'vrev64_u32' is invalid in C99 [-Wimplicit-function-declaration]
goldilocks.c:     aa[0] = (aa[0] & vmask) + vrev64_u32(tmp) + (tmp&vm2);
goldilocks.c:                               ^
goldilocks.c: 4 warnings generated.
magic.c: In file included from magic.c:5:
magic.c: In file included from ./field.h:11:
magic.c: In file included from ./magic.h:14:
magic.c: In file included from ./word.h:17:
magic.c: In file included from /usr/include/endian.h:21:
magic.c: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
magic.c: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
magic.c:   ^
magic.c: In file included from magic.c:5:
magic.c: In file included from ./field.h:11:
magic.c: In file included from ./magic.h:15:
magic.c: ./p448.h:314:14: warning: implicit declaration of function 'vshr_n_u32' is invalid in C99 [-Wimplicit-function-declaration]
magic.c:        tmp = vshr_n_u32(aa[7],28);
magic.c:              ^
magic.c: ./p448.h:318:17: warning: implicit declaration of function 'vsra_n_u32' is invalid in C99 [-Wimplicit-function-declaration]
magic.c:         aa[i] = vsra_n_u32(aa[i] & vmask, aa[i-1], 28);
magic.c:                 ^
magic.c: ./p448.h:320:31: warning: implicit declaration of function 'vrev64_u32' is invalid in C99 [-Wimplicit-function-declaration]
magic.c:     aa[0] = (aa[0] & vmask) + vrev64_u32(tmp) + (tmp&vm2);
magic.c:                               ^
magic.c: 4 warnings generated.
p448.c: In file included from p448.c:5:
p448.c: In file included from ./word.h:17:
p448.c: In file included from /usr/include/endian.h:21:
p448.c: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
p448.c: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
p448.c:   ^
p448.c: In file included from p448.c:6:
p448.c: ./p448.h:314:14: warning: implicit declaration of function 'vshr_n_u32' is invalid in C99 [-Wimplicit-function-declaration]
p448.c:        tmp = vshr_n_u32(aa[7],28);
p448.c:              ^
p448.c: ./p448.h:318:17: warning: implicit declaration of function 'vsra_n_u32' is invalid in C99 [-Wimplicit-function-declaration]
p448.c:         aa[i] = vsra_n_u32(aa[i] & vmask, aa[i-1], 28);
p448.c:                 ^
p448.c: ./p448.h:320:31: warning: implicit declaration of function 'vrev64_u32' is invalid in C99 [-Wimplicit-function-declaration]
p448.c:     aa[0] = (aa[0] & vmask) + vrev64_u32(tmp) + (tmp&vm2);
p448.c:                               ^
p448.c: p448.c:362:12: error: unknown register name 'q0' in asm
p448.c:         :: "q0","q1","q2","q3",
p448.c:            ^
p448.c: p448.c:564:12: error: unknown register name 'q0' in asm
p448.c:         :: "q0","q1","q2","q3",
p448.c:            ^
p448.c: p448.c:585:13: warning: implicit declaration of function 'vmull_lane_u32' is invalid in C99 [-Wimplicit-function-declaration]
p448.c:     accum = vmull_lane_u32(va[7], vb, 1);
p448.c:             ^
p448.c: ...

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:neonclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)

Compiler output


barrett_field.c: In file included from /usr/include/endian.h:21,
barrett_field.c:                  from word.h:17,
barrett_field.c:                  from barrett_field.h:15,
barrett_field.c:                  from barrett_field.c:5:
barrett_field.c: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
barrett_field.c:   194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
barrett_field.c:       |   ^~~~~~~
crandom.c: In file included from magic.h:15,
crandom.c:                  from crandom.c:11:
crandom.c: p448.h: In function 'p448_weak_reduce':
crandom.c: p448.h:314:14: warning: implicit declaration of function 'vshr_n_u32' [-Wimplicit-function-declaration]
crandom.c:   314 |        tmp = vshr_n_u32(aa[7],28);
crandom.c:       |              ^~~~~~~~~~
crandom.c: p448.h:314:14: error: incompatible types when initializing type 'uint32x2_t' {aka '__vector(2) unsigned int'} using type 'int'
crandom.c: p448.h:318:17: warning: implicit declaration of function 'vsra_n_u32' [-Wimplicit-function-declaration]
crandom.c:   318 |         aa[i] = vsra_n_u32(aa[i] & vmask, aa[i-1], 28);
crandom.c:       |                 ^~~~~~~~~~
crandom.c: p448.h:318:17: error: incompatible types when assigning to type 'uint32x2_t' {aka '__vector(2) unsigned int'} from type 'int'
crandom.c: p448.h:320:31: warning: implicit declaration of function 'vrev64_u32' [-Wimplicit-function-declaration]
crandom.c:   320 |     aa[0] = (aa[0] & vmask) + vrev64_u32(tmp) + (tmp&vm2);
crandom.c:       |                               ^~~~~~~~~~

Number of similar (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
T:neongcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:neongcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:neongcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:neongcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)