Implementation notes: amd64, gsm2, crypto_dh/hector

Computer: gsm2
Architecture: amd64
CPU ID: GenuineIntel-000306e4-bfebfbff
SUPERCOP version: 20170725
Operation: crypto_dh
Primitive: hector

Compiler output

Implementation: crypto_dh/hector/ref
Compiler: cc
try.c: crypto_dh_hector.a(common.o): In function `gen_keypair':
try.c: common.c:(.text+0x...): undefined reference to `__gmpz_cmp'
try.c: crypto_dh_hector.a(common.o): In function `crypto_dh_hector_ref_keypair':
try.c: common.c:(.text+0x...): undefined reference to `__gmpz_init'
try.c: common.c:(.text+0x...): undefined reference to `__gmpz_clear'
try.c: crypto_dh_hector.a(config.o): In function `init_all':
try.c: config.c:(.text+0x...): undefined reference to `__gmpz_init_set_str'
try.c: config.c:(.text+0x...): undefined reference to `__gmpz_sizeinbase'
try.c: crypto_dh_hector.a(config.o): In function `clear_all':
try.c: config.c:(.text+0x...): undefined reference to `__gmpz_clear'
try.c: crypto_dh_hector.a(conversion.o): In function `bytearray_to_mpz_t':
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_set_ui'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_add_ui'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_mul_2exp'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_add_ui'
try.c: crypto_dh_hector.a(conversion.o): In function `mpz_t_to_bytearray':
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_sizeinbase'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_init_set'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_get_ui'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_fdiv_q_2exp'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_clear'
try.c: crypto_dh_hector.a(conversion.o): In function `scrambled_bytearray_to_mpz_t':
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_set_ui'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_mul_2exp'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_setbit'
try.c: ...

Number of similar (compiler,implementation) pairs: 3, namely:
CompilerImplementations
cc ref
gcc ref
gcc -funroll-loops ref

Compiler output

Implementation: crypto_dh/hector/ref
Compiler: gcc -O2 -fomit-frame-pointer
try.c: crypto_dh_hector.a(common.o): In function `gen_keypair':
try.c: common.c:(.text+0x...): undefined reference to `__gmpz_cmp'
try.c: crypto_dh_hector.a(common.o): In function `crypto_dh_hector_ref_keypair':
try.c: common.c:(.text+0x...): undefined reference to `__gmpz_init'
try.c: common.c:(.text+0x...): undefined reference to `__gmpz_clear'
try.c: crypto_dh_hector.a(config.o): In function `init_all':
try.c: config.c:(.text+0x...): undefined reference to `__gmpz_init_set_str'
try.c: config.c:(.text+0x...): undefined reference to `__gmpz_sizeinbase'
try.c: crypto_dh_hector.a(config.o): In function `clear_all':
try.c: config.c:(.text+0x...): undefined reference to `__gmpz_clear'
try.c: crypto_dh_hector.a(conversion.o): In function `bytearray_to_mpz_t':
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_set_ui'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_add_ui'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_mul_2exp'
try.c: crypto_dh_hector.a(conversion.o): In function `mpz_t_to_bytearray':
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_sizeinbase'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_init_set'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_fdiv_q_2exp'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_clear'
try.c: crypto_dh_hector.a(conversion.o): In function `scrambled_bytearray_to_mpz_t':
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_set_ui'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_mul_2exp'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_setbit'
try.c: crypto_dh_hector.a(conversion.o): In function `mpz_t_to_scrambled_bytearray':
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_sizeinbase'
try.c: ...

Number of similar (compiler,implementation) pairs: 43, namely:
CompilerImplementations
gcc -O2 -fomit-frame-pointer ref
gcc -Os -fomit-frame-pointer ref
gcc -fno-schedule-insns -O2 -fomit-frame-pointer ref
gcc -fno-schedule-insns -Os -fomit-frame-pointer ref
gcc -funroll-loops -Os -fomit-frame-pointer ref
gcc -funroll-loops -fno-schedule-insns -Os -fomit-frame-pointer ref
gcc -funroll-loops -m64 -Os -fomit-frame-pointer ref
gcc -funroll-loops -m64 -march=barcelona -Os -fomit-frame-pointer ref
gcc -funroll-loops -m64 -march=k8 -Os -fomit-frame-pointer ref
gcc -funroll-loops -m64 -march=nocona -Os -fomit-frame-pointer ref
gcc -funroll-loops -march=barcelona -Os -fomit-frame-pointer ref
gcc -funroll-loops -march=k8 -Os -fomit-frame-pointer ref
gcc -funroll-loops -march=nocona -Os -fomit-frame-pointer ref
gcc -m64 -O2 -fomit-frame-pointer ref
gcc -m64 -Os -fomit-frame-pointer ref
gcc -m64 -march=core-avx-i -O2 -fomit-frame-pointer ref
gcc -m64 -march=core-avx-i -Os -fomit-frame-pointer ref
gcc -m64 -march=core-avx2 -O2 -fomit-frame-pointer ref
gcc -m64 -march=core-avx2 -Os -fomit-frame-pointer ref
gcc -m64 -march=core2 -O2 -fomit-frame-pointer ref
gcc -m64 -march=core2 -Os -fomit-frame-pointer ref
gcc -m64 -march=core2 -msse4.1 -O2 -fomit-frame-pointer ref
gcc -m64 -march=core2 -msse4.1 -Os -fomit-frame-pointer ref
gcc -m64 -march=core2 -msse4 -O2 -fomit-frame-pointer ref
gcc -m64 -march=core2 -msse4 -Os -fomit-frame-pointer ref
gcc -m64 -march=corei7-avx -O2 -fomit-frame-pointer ref
gcc -m64 -march=corei7-avx -Os -fomit-frame-pointer ref
gcc -m64 -march=corei7 -O2 -fomit-frame-pointer ref
gcc -m64 -march=corei7 -Os -fomit-frame-pointer ref
gcc -m64 -march=k8 -O2 -fomit-frame-pointer ref
gcc -m64 -march=k8 -Os -fomit-frame-pointer ref
gcc -m64 -march=native -mtune=native -O2 -fomit-frame-pointer ref
gcc -m64 -march=native -mtune=native -Os -fomit-frame-pointer ref
gcc -m64 -march=nocona -O2 -fomit-frame-pointer ref
gcc -m64 -march=nocona -Os -fomit-frame-pointer ref
gcc -march=barcelona -O2 -fomit-frame-pointer ref
gcc -march=barcelona -Os -fomit-frame-pointer ref
gcc -march=k8 -O2 -fomit-frame-pointer ref
gcc -march=k8 -Os -fomit-frame-pointer ref
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv ref
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv ref
gcc -march=nocona -O2 -fomit-frame-pointer ref
gcc -march=nocona -Os -fomit-frame-pointer ref

Compiler output

Implementation: crypto_dh/hector/ref
Compiler: gcc -O3 -fomit-frame-pointer
try.c: crypto_dh_hector.a(common.o): In function `gen_keypair':
try.c: common.c:(.text+0x...): undefined reference to `__gmpz_cmp'
try.c: crypto_dh_hector.a(common.o): In function `crypto_dh_hector_ref_keypair':
try.c: common.c:(.text+0x...): undefined reference to `__gmpz_init'
try.c: common.c:(.text+0x...): undefined reference to `__gmpz_cmp'
try.c: common.c:(.text+0x...): undefined reference to `__gmpz_clear'
try.c: crypto_dh_hector.a(config.o): In function `init_all':
try.c: config.c:(.text+0x...): undefined reference to `__gmpz_init_set_str'
try.c: config.c:(.text+0x...): undefined reference to `__gmpz_sizeinbase'
try.c: crypto_dh_hector.a(config.o): In function `clear_all':
try.c: config.c:(.text+0x...): undefined reference to `__gmpz_clear'
try.c: crypto_dh_hector.a(conversion.o): In function `bytearray_to_mpz_t':
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_set_ui'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_add_ui'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_mul_2exp'
try.c: crypto_dh_hector.a(conversion.o): In function `mpz_t_to_bytearray':
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_sizeinbase'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_init_set'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_fdiv_q_2exp'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_clear'
try.c: crypto_dh_hector.a(conversion.o): In function `scrambled_bytearray_to_mpz_t':
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_set_ui'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_mul_2exp'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_setbit'
try.c: crypto_dh_hector.a(conversion.o): In function `mpz_t_to_scrambled_bytearray':
try.c: ...

Number of similar (compiler,implementation) pairs: 16, namely:
CompilerImplementations
gcc -O3 -fomit-frame-pointer ref
gcc -fno-schedule-insns -O3 -fomit-frame-pointer ref
gcc -m64 -O3 -fomit-frame-pointer ref
gcc -m64 -march=core-avx-i -O3 -fomit-frame-pointer ref
gcc -m64 -march=core2 -O3 -fomit-frame-pointer ref
gcc -m64 -march=core2 -msse4.1 -O3 -fomit-frame-pointer ref
gcc -m64 -march=core2 -msse4 -O3 -fomit-frame-pointer ref
gcc -m64 -march=corei7-avx -O3 -fomit-frame-pointer ref
gcc -m64 -march=corei7 -O3 -fomit-frame-pointer ref
gcc -m64 -march=k8 -O3 -fomit-frame-pointer ref
gcc -m64 -march=native -mtune=native -O3 -fomit-frame-pointer ref
gcc -m64 -march=nocona -O3 -fomit-frame-pointer ref
gcc -march=barcelona -O3 -fomit-frame-pointer ref
gcc -march=k8 -O3 -fomit-frame-pointer ref
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv ref
gcc -march=nocona -O3 -fomit-frame-pointer ref

Compiler output

Implementation: crypto_dh/hector/ref
Compiler: gcc -O -fomit-frame-pointer
try.c: crypto_dh_hector.a(common.o): In function `gen_keypair':
try.c: common.c:(.text+0x...): undefined reference to `__gmpz_cmp'
try.c: crypto_dh_hector.a(common.o): In function `crypto_dh_hector_ref_keypair':
try.c: common.c:(.text+0x...): undefined reference to `__gmpz_init'
try.c: common.c:(.text+0x...): undefined reference to `__gmpz_clear'
try.c: crypto_dh_hector.a(config.o): In function `init_all':
try.c: config.c:(.text+0x...): undefined reference to `__gmpz_init_set_str'
try.c: config.c:(.text+0x...): undefined reference to `__gmpz_sizeinbase'
try.c: crypto_dh_hector.a(config.o): In function `clear_all':
try.c: config.c:(.text+0x...): undefined reference to `__gmpz_clear'
try.c: crypto_dh_hector.a(conversion.o): In function `bytearray_to_mpz_t':
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_set_ui'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_add_ui'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_mul_2exp'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_add_ui'
try.c: crypto_dh_hector.a(conversion.o): In function `mpz_t_to_bytearray':
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_sizeinbase'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_init_set'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_fdiv_q_2exp'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_clear'
try.c: crypto_dh_hector.a(conversion.o): In function `scrambled_bytearray_to_mpz_t':
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_set_ui'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_mul_2exp'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_setbit'
try.c: crypto_dh_hector.a(conversion.o): In function `mpz_t_to_scrambled_bytearray':
try.c: ...

Number of similar (compiler,implementation) pairs: 17, namely:
CompilerImplementations
gcc -O -fomit-frame-pointer ref
gcc -fno-schedule-insns -O -fomit-frame-pointer ref
gcc -m64 -O -fomit-frame-pointer ref
gcc -m64 -march=core-avx-i -O -fomit-frame-pointer ref
gcc -m64 -march=core-avx2 -O -fomit-frame-pointer ref
gcc -m64 -march=core2 -O -fomit-frame-pointer ref
gcc -m64 -march=core2 -msse4.1 -O -fomit-frame-pointer ref
gcc -m64 -march=core2 -msse4 -O -fomit-frame-pointer ref
gcc -m64 -march=corei7-avx -O -fomit-frame-pointer ref
gcc -m64 -march=corei7 -O -fomit-frame-pointer ref
gcc -m64 -march=k8 -O -fomit-frame-pointer ref
gcc -m64 -march=native -mtune=native -O -fomit-frame-pointer ref
gcc -m64 -march=nocona -O -fomit-frame-pointer ref
gcc -march=barcelona -O -fomit-frame-pointer ref
gcc -march=k8 -O -fomit-frame-pointer ref
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv ref
gcc -march=nocona -O -fomit-frame-pointer ref

Compiler output

Implementation: crypto_dh/hector/ref
Compiler: gcc -funroll-loops -O2 -fomit-frame-pointer
try.c: crypto_dh_hector.a(common.o): In function `gen_keypair':
try.c: common.c:(.text+0x...): undefined reference to `__gmpz_cmp'
try.c: crypto_dh_hector.a(common.o): In function `crypto_dh_hector_ref_keypair':
try.c: common.c:(.text+0x...): undefined reference to `__gmpz_init'
try.c: common.c:(.text+0x...): undefined reference to `__gmpz_clear'
try.c: crypto_dh_hector.a(config.o): In function `init_all':
try.c: config.c:(.text+0x...): undefined reference to `__gmpz_init_set_str'
try.c: config.c:(.text+0x...): undefined reference to `__gmpz_sizeinbase'
try.c: crypto_dh_hector.a(config.o): In function `clear_all':
try.c: config.c:(.text+0x...): undefined reference to `__gmpz_clear'
try.c: crypto_dh_hector.a(conversion.o): In function `bytearray_to_mpz_t':
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_set_ui'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_add_ui'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_mul_2exp'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_add_ui'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_mul_2exp'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_add_ui'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_mul_2exp'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_add_ui'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_mul_2exp'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_add_ui'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_mul_2exp'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_add_ui'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_mul_2exp'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_add_ui'
try.c: ...

Number of similar (compiler,implementation) pairs: 9, namely:
CompilerImplementations
gcc -funroll-loops -O2 -fomit-frame-pointer ref
gcc -funroll-loops -fno-schedule-insns -O2 -fomit-frame-pointer ref
gcc -funroll-loops -m64 -O2 -fomit-frame-pointer ref
gcc -funroll-loops -m64 -march=barcelona -O2 -fomit-frame-pointer ref
gcc -funroll-loops -m64 -march=k8 -O2 -fomit-frame-pointer ref
gcc -funroll-loops -m64 -march=nocona -O2 -fomit-frame-pointer ref
gcc -funroll-loops -march=barcelona -O2 -fomit-frame-pointer ref
gcc -funroll-loops -march=k8 -O2 -fomit-frame-pointer ref
gcc -funroll-loops -march=nocona -O2 -fomit-frame-pointer ref

Compiler output

Implementation: crypto_dh/hector/ref
Compiler: gcc -funroll-loops -O3 -fomit-frame-pointer
try.c: crypto_dh_hector.a(common.o): In function `gen_keypair':
try.c: common.c:(.text+0x...): undefined reference to `__gmpz_cmp'
try.c: crypto_dh_hector.a(common.o): In function `crypto_dh_hector_ref_keypair':
try.c: common.c:(.text+0x...): undefined reference to `__gmpz_init'
try.c: common.c:(.text+0x...): undefined reference to `__gmpz_cmp'
try.c: common.c:(.text+0x...): undefined reference to `__gmpz_clear'
try.c: crypto_dh_hector.a(config.o): In function `init_all':
try.c: config.c:(.text+0x...): undefined reference to `__gmpz_init_set_str'
try.c: config.c:(.text+0x...): undefined reference to `__gmpz_sizeinbase'
try.c: crypto_dh_hector.a(config.o): In function `clear_all':
try.c: config.c:(.text+0x...): undefined reference to `__gmpz_clear'
try.c: crypto_dh_hector.a(conversion.o): In function `bytearray_to_mpz_t':
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_set_ui'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_add_ui'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_mul_2exp'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_add_ui'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_mul_2exp'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_add_ui'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_mul_2exp'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_add_ui'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_mul_2exp'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_add_ui'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_mul_2exp'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_add_ui'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_mul_2exp'
try.c: ...

Number of similar (compiler,implementation) pairs: 9, namely:
CompilerImplementations
gcc -funroll-loops -O3 -fomit-frame-pointer ref
gcc -funroll-loops -fno-schedule-insns -O3 -fomit-frame-pointer ref
gcc -funroll-loops -m64 -O3 -fomit-frame-pointer ref
gcc -funroll-loops -m64 -march=barcelona -O3 -fomit-frame-pointer ref
gcc -funroll-loops -m64 -march=k8 -O3 -fomit-frame-pointer ref
gcc -funroll-loops -m64 -march=nocona -O3 -fomit-frame-pointer ref
gcc -funroll-loops -march=barcelona -O3 -fomit-frame-pointer ref
gcc -funroll-loops -march=k8 -O3 -fomit-frame-pointer ref
gcc -funroll-loops -march=nocona -O3 -fomit-frame-pointer ref

Compiler output

Implementation: crypto_dh/hector/ref
Compiler: gcc -funroll-loops -O -fomit-frame-pointer
try.c: crypto_dh_hector.a(common.o): In function `gen_keypair':
try.c: common.c:(.text+0x...): undefined reference to `__gmpz_cmp'
try.c: crypto_dh_hector.a(common.o): In function `crypto_dh_hector_ref_keypair':
try.c: common.c:(.text+0x...): undefined reference to `__gmpz_init'
try.c: common.c:(.text+0x...): undefined reference to `__gmpz_clear'
try.c: crypto_dh_hector.a(config.o): In function `init_all':
try.c: config.c:(.text+0x...): undefined reference to `__gmpz_init_set_str'
try.c: config.c:(.text+0x...): undefined reference to `__gmpz_sizeinbase'
try.c: crypto_dh_hector.a(config.o): In function `clear_all':
try.c: config.c:(.text+0x...): undefined reference to `__gmpz_clear'
try.c: crypto_dh_hector.a(conversion.o): In function `bytearray_to_mpz_t':
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_set_ui'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_add_ui'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_mul_2exp'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_add_ui'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_mul_2exp'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_add_ui'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_mul_2exp'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_add_ui'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_mul_2exp'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_add_ui'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_mul_2exp'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_add_ui'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_add_ui'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_mul_2exp'
try.c: ...

Number of similar (compiler,implementation) pairs: 9, namely:
CompilerImplementations
gcc -funroll-loops -O -fomit-frame-pointer ref
gcc -funroll-loops -fno-schedule-insns -O -fomit-frame-pointer ref
gcc -funroll-loops -m64 -O -fomit-frame-pointer ref
gcc -funroll-loops -m64 -march=barcelona -O -fomit-frame-pointer ref
gcc -funroll-loops -m64 -march=k8 -O -fomit-frame-pointer ref
gcc -funroll-loops -m64 -march=nocona -O -fomit-frame-pointer ref
gcc -funroll-loops -march=barcelona -O -fomit-frame-pointer ref
gcc -funroll-loops -march=k8 -O -fomit-frame-pointer ref
gcc -funroll-loops -march=nocona -O -fomit-frame-pointer ref

Compiler output

Implementation: crypto_dh/hector/ref
Compiler: gcc -m64 -march=barcelona -O2 -fomit-frame-pointer
try.c: crypto_dh_hector.a(common.o): In function `gen_keypair':
try.c: common.c:(.text+0x...): undefined reference to `__gmpz_cmp'
try.c: crypto_dh_hector.a(common.o): In function `crypto_dh_hector_ref_keypair':
try.c: common.c:(.text+0x...): undefined reference to `__gmpz_init'
try.c: common.c:(.text+0x...): undefined reference to `__gmpz_clear'
try.c: crypto_dh_hector.a(config.o): In function `init_all':
try.c: config.c:(.text+0x...): undefined reference to `__gmpz_init_set_str'
try.c: config.c:(.text+0x...): undefined reference to `__gmpz_sizeinbase'
try.c: crypto_dh_hector.a(config.o): In function `clear_all':
try.c: config.c:(.text+0x...): undefined reference to `__gmpz_clear'
try.c: crypto_dh_hector.a(conversion.o): In function `bytearray_to_mpz_t':
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_set_ui'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_add_ui'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_mul_2exp'
try.c: crypto_dh_hector.a(conversion.o): In function `mpz_t_to_bytearray':
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_sizeinbase'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_init_set'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_fdiv_q_2exp'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_clear'
try.c: crypto_dh_hector.a(conversion.o): In function `scrambled_bytearray_to_mpz_t':
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_set_ui'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_mul_2exp'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_setbit'
try.c: crypto_dh_hector.a(conversion.o): In function `mpz_t_to_scrambled_bytearray':
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_sizeinbase'
try.c: ...
try.c: crypto_dh_hector.a(common.o): In function `gen_keypair':
try.c: common.c:(.text+0x...): undefined reference to `__gmpz_cmp'
try.c: crypto_dh_hector.a(common.o): In function `crypto_dh_hector_ref_keypair':
try.c: common.c:(.text+0x...): undefined reference to `__gmpz_init'
try.c: common.c:(.text+0x...): undefined reference to `__gmpz_clear'
try.c: crypto_dh_hector.a(config.o): In function `init_all':
try.c: config.c:(.text+0x...): undefined reference to `__gmpz_init_set_str'
try.c: config.c:(.text+0x...): undefined reference to `__gmpz_sizeinbase'
try.c: crypto_dh_hector.a(config.o): In function `clear_all':
try.c: config.c:(.text+0x...): undefined reference to `__gmpz_clear'
try.c: crypto_dh_hector.a(conversion.o): In function `bytearray_to_mpz_t':
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_set_ui'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_add_ui'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_mul_2exp'
try.c: crypto_dh_hector.a(conversion.o): In function `mpz_t_to_bytearray':
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_sizeinbase'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_init_set'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_fdiv_q_2exp'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_clear'
try.c: crypto_dh_hector.a(conversion.o): In function `scrambled_bytearray_to_mpz_t':
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_set_ui'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_mul_2exp'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_setbit'
try.c: crypto_dh_hector.a(conversion.o): In function `mpz_t_to_scrambled_bytearray':
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_sizeinbase'
try.c: ...

Number of similar (compiler,implementation) pairs: 2, namely:
CompilerImplementations
gcc -m64 -march=barcelona -O2 -fomit-frame-pointer ref
gcc -m64 -march=barcelona -Os -fomit-frame-pointer ref

Compiler output

Implementation: crypto_dh/hector/ref
Compiler: gcc -m64 -march=barcelona -O3 -fomit-frame-pointer
try.c: crypto_dh_hector.a(common.o): In function `gen_keypair':
try.c: common.c:(.text+0x...): undefined reference to `__gmpz_cmp'
try.c: crypto_dh_hector.a(common.o): In function `crypto_dh_hector_ref_keypair':
try.c: common.c:(.text+0x...): undefined reference to `__gmpz_init'
try.c: common.c:(.text+0x...): undefined reference to `__gmpz_cmp'
try.c: common.c:(.text+0x...): undefined reference to `__gmpz_clear'
try.c: crypto_dh_hector.a(config.o): In function `init_all':
try.c: config.c:(.text+0x...): undefined reference to `__gmpz_init_set_str'
try.c: config.c:(.text+0x...): undefined reference to `__gmpz_sizeinbase'
try.c: crypto_dh_hector.a(config.o): In function `clear_all':
try.c: config.c:(.text+0x...): undefined reference to `__gmpz_clear'
try.c: crypto_dh_hector.a(conversion.o): In function `bytearray_to_mpz_t':
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_set_ui'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_add_ui'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_mul_2exp'
try.c: crypto_dh_hector.a(conversion.o): In function `mpz_t_to_bytearray':
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_sizeinbase'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_init_set'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_fdiv_q_2exp'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_clear'
try.c: crypto_dh_hector.a(conversion.o): In function `scrambled_bytearray_to_mpz_t':
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_set_ui'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_mul_2exp'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_setbit'
try.c: crypto_dh_hector.a(conversion.o): In function `mpz_t_to_scrambled_bytearray':
try.c: ...
try.c: crypto_dh_hector.a(common.o): In function `gen_keypair':
try.c: common.c:(.text+0x...): undefined reference to `__gmpz_cmp'
try.c: crypto_dh_hector.a(common.o): In function `crypto_dh_hector_ref_keypair':
try.c: common.c:(.text+0x...): undefined reference to `__gmpz_init'
try.c: common.c:(.text+0x...): undefined reference to `__gmpz_cmp'
try.c: common.c:(.text+0x...): undefined reference to `__gmpz_clear'
try.c: crypto_dh_hector.a(config.o): In function `init_all':
try.c: config.c:(.text+0x...): undefined reference to `__gmpz_init_set_str'
try.c: config.c:(.text+0x...): undefined reference to `__gmpz_sizeinbase'
try.c: crypto_dh_hector.a(config.o): In function `clear_all':
try.c: config.c:(.text+0x...): undefined reference to `__gmpz_clear'
try.c: crypto_dh_hector.a(conversion.o): In function `bytearray_to_mpz_t':
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_set_ui'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_add_ui'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_mul_2exp'
try.c: crypto_dh_hector.a(conversion.o): In function `mpz_t_to_bytearray':
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_sizeinbase'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_init_set'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_fdiv_q_2exp'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_clear'
try.c: crypto_dh_hector.a(conversion.o): In function `scrambled_bytearray_to_mpz_t':
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_set_ui'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_mul_2exp'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_setbit'
try.c: crypto_dh_hector.a(conversion.o): In function `mpz_t_to_scrambled_bytearray':
try.c: ...

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
gcc -m64 -march=barcelona -O3 -fomit-frame-pointer ref

Compiler output

Implementation: crypto_dh/hector/ref
Compiler: gcc -m64 -march=barcelona -O -fomit-frame-pointer
try.c: crypto_dh_hector.a(common.o): In function `gen_keypair':
try.c: common.c:(.text+0x...): undefined reference to `__gmpz_cmp'
try.c: crypto_dh_hector.a(common.o): In function `crypto_dh_hector_ref_keypair':
try.c: common.c:(.text+0x...): undefined reference to `__gmpz_init'
try.c: common.c:(.text+0x...): undefined reference to `__gmpz_clear'
try.c: crypto_dh_hector.a(config.o): In function `init_all':
try.c: config.c:(.text+0x...): undefined reference to `__gmpz_init_set_str'
try.c: config.c:(.text+0x...): undefined reference to `__gmpz_sizeinbase'
try.c: crypto_dh_hector.a(config.o): In function `clear_all':
try.c: config.c:(.text+0x...): undefined reference to `__gmpz_clear'
try.c: crypto_dh_hector.a(conversion.o): In function `bytearray_to_mpz_t':
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_set_ui'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_add_ui'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_mul_2exp'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_add_ui'
try.c: crypto_dh_hector.a(conversion.o): In function `mpz_t_to_bytearray':
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_sizeinbase'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_init_set'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_fdiv_q_2exp'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_clear'
try.c: crypto_dh_hector.a(conversion.o): In function `scrambled_bytearray_to_mpz_t':
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_set_ui'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_mul_2exp'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_setbit'
try.c: crypto_dh_hector.a(conversion.o): In function `mpz_t_to_scrambled_bytearray':
try.c: ...
try.c: crypto_dh_hector.a(common.o): In function `gen_keypair':
try.c: common.c:(.text+0x...): undefined reference to `__gmpz_cmp'
try.c: crypto_dh_hector.a(common.o): In function `crypto_dh_hector_ref_keypair':
try.c: common.c:(.text+0x...): undefined reference to `__gmpz_init'
try.c: common.c:(.text+0x...): undefined reference to `__gmpz_clear'
try.c: crypto_dh_hector.a(config.o): In function `init_all':
try.c: config.c:(.text+0x...): undefined reference to `__gmpz_init_set_str'
try.c: config.c:(.text+0x...): undefined reference to `__gmpz_sizeinbase'
try.c: crypto_dh_hector.a(config.o): In function `clear_all':
try.c: config.c:(.text+0x...): undefined reference to `__gmpz_clear'
try.c: crypto_dh_hector.a(conversion.o): In function `bytearray_to_mpz_t':
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_set_ui'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_add_ui'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_mul_2exp'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_add_ui'
try.c: crypto_dh_hector.a(conversion.o): In function `mpz_t_to_bytearray':
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_sizeinbase'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_init_set'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_fdiv_q_2exp'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_clear'
try.c: crypto_dh_hector.a(conversion.o): In function `scrambled_bytearray_to_mpz_t':
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_set_ui'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_mul_2exp'
try.c: conversion.c:(.text+0x...): undefined reference to `__gmpz_setbit'
try.c: crypto_dh_hector.a(conversion.o): In function `mpz_t_to_scrambled_bytearray':
try.c: ...

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
gcc -m64 -march=barcelona -O -fomit-frame-pointer ref