Implementation notes: amd64, bridge, crypto_sign/sflashv2

Computer: bridge
Architecture: amd64
CPU ID: GenuineIntel-000206a7-bfebfbff
SUPERCOP version: 20120928
Operation: crypto_sign
Primitive: sflashv2
TimeImplementationCompilerBenchmark dateSUPERCOP version
708280refgcc -funroll-loops -m64 -march=k8 -O2 -fomit-frame-pointer2012012820120120
708376refgcc -funroll-loops -march=k8 -O2 -fomit-frame-pointer2012012820120120
712100refgcc -funroll-loops -march=barcelona -O2 -fomit-frame-pointer2012012820120120
712328refgcc -funroll-loops -m64 -march=barcelona -O2 -fomit-frame-pointer2012012820120120
713716refgcc -funroll-loops -fno-schedule-insns -O2 -fomit-frame-pointer2012012820120120
713756refgcc -funroll-loops -O2 -fomit-frame-pointer2012012820120120
714608refgcc -funroll-loops -m64 -O2 -fomit-frame-pointer2012012820120120
790892refgcc -funroll-loops -m64 -march=nocona -O2 -fomit-frame-pointer2012012820120120
791492refgcc -funroll-loops -march=nocona -O2 -fomit-frame-pointer2012012820120120
827956refgcc -funroll-loops -O3 -fomit-frame-pointer2012012820120120
828164refgcc -funroll-loops -m64 -O3 -fomit-frame-pointer2012012820120120
830320refgcc -funroll-loops -fno-schedule-insns -O3 -fomit-frame-pointer2012012820120120
831716refgcc -funroll-loops -march=barcelona -O3 -fomit-frame-pointer2012012820120120
833220refgcc -funroll-loops -m64 -march=barcelona -O3 -fomit-frame-pointer2012012820120120
846380refgcc -funroll-loops -march=k8 -O3 -fomit-frame-pointer2012012820120120
846656refgcc -funroll-loops -m64 -march=k8 -O3 -fomit-frame-pointer2012012820120120
850444refgcc -funroll-loops -O -fomit-frame-pointer2012012820120120
850816refgcc -funroll-loops -fno-schedule-insns -O -fomit-frame-pointer2012012820120120
852116refgcc -funroll-loops -m64 -march=nocona -O -fomit-frame-pointer2012012820120120
853104refgcc -funroll-loops -march=nocona -O -fomit-frame-pointer2012012820120120
857860refgcc -funroll-loops -m64 -O -fomit-frame-pointer2012012820120120
862612refgcc -funroll-loops -m64 -march=nocona -O3 -fomit-frame-pointer2012012820120120
863480refgcc -funroll-loops -march=nocona -O3 -fomit-frame-pointer2012012820120120
864860refgcc -funroll-loops -m64 -march=k8 -O -fomit-frame-pointer2012012820120120
865544refgcc -funroll-loops -march=k8 -O -fomit-frame-pointer2012012820120120
865580refgcc -funroll-loops -march=barcelona -O -fomit-frame-pointer2012012820120120
865796refgcc -funroll-loops -m64 -march=barcelona -O -fomit-frame-pointer2012012820120120
892060refgcc -m64 -march=core2 -msse4 -O2 -fomit-frame-pointer2012012820120120
892620refgcc -m64 -march=corei7 -O2 -fomit-frame-pointer2012012820120120
894020refgcc -m64 -march=core2 -O2 -fomit-frame-pointer2012012820120120
894592refgcc -m64 -march=core2 -msse4.1 -O2 -fomit-frame-pointer2012012820120120
895792refgcc -O2 -fomit-frame-pointer2012012820120120
897380refgcc -fno-schedule-insns -O2 -fomit-frame-pointer2012012820120120
898804refgcc -m64 -O2 -fomit-frame-pointer2012012820120120
899528refgcc -m64 -march=barcelona -O2 -fomit-frame-pointer2012012820120120
899688refgcc -m64 -march=native -mtune=native -O2 -fomit-frame-pointer2012012820120120
901180refgcc -m64 -march=core-avx-i -O2 -fomit-frame-pointer2012012820120120
901492refgcc -march=barcelona -O2 -fomit-frame-pointer2012012820120120
905816refgcc -m64 -march=k8 -O2 -fomit-frame-pointer2012012820120120
906424refgcc -m64 -march=corei7-avx -O2 -fomit-frame-pointer2012012820120120
907576refgcc -march=nocona -O -fomit-frame-pointer2012012820120120
908500refgcc -m64 -march=nocona -O -fomit-frame-pointer2012012820120120
908600refgcc -march=k8 -O3 -fomit-frame-pointer2012012820120120
909056refgcc -march=k8 -O2 -fomit-frame-pointer2012012820120120
912072refgcc -m64 -march=k8 -O3 -fomit-frame-pointer2012012820120120
916728refgcc -m64 -march=k8 -O -fomit-frame-pointer2012012820120120
917552refgcc -m64 -march=core-avx-i -Os -fomit-frame-pointer2012012820120120
917892refgcc -m64 -march=core2 -msse4.1 -Os -fomit-frame-pointer2012012820120120
918260refgcc -m64 -march=core2 -Os -fomit-frame-pointer2012012820120120
918312refgcc -m64 -march=corei7 -Os -fomit-frame-pointer2012012820120120
919624refgcc -m64 -march=barcelona -O -fomit-frame-pointer2012012820120120
919748refgcc -m64 -march=core2 -msse4.1 -O -fomit-frame-pointer2012012820120120
919832refgcc -m64 -march=core2 -O -fomit-frame-pointer2012012820120120
919892refgcc -m64 -march=native -mtune=native -Os -fomit-frame-pointer2012012820120120
919944refgcc -march=k8 -O -fomit-frame-pointer2012012820120120
920184refgcc -m64 -march=core2 -msse4 -Os -fomit-frame-pointer2012012820120120
920188refgcc -m64 -march=corei7 -O -fomit-frame-pointer2012012820120120
920288refgcc -m64 -march=core2 -msse4 -O -fomit-frame-pointer2012012820120120
920332refgcc -m64 -march=corei7-avx -O -fomit-frame-pointer2012012820120120
920336refgcc -m64 -march=corei7-avx -Os -fomit-frame-pointer2012012820120120
920592refgcc -fno-schedule-insns -O -fomit-frame-pointer2012012820120120
920736refgcc -Os -fomit-frame-pointer2012012820120120
920876refgcc -march=barcelona -O -fomit-frame-pointer2012012820120120
920932refgcc -O -fomit-frame-pointer2012012820120120
921100refgcc -m64 -O -fomit-frame-pointer2012012820120120
921280refgcc -m64 -march=k8 -Os -fomit-frame-pointer2012012820120120
921936refgcc -m64 -march=native -mtune=native -O -fomit-frame-pointer2012012820120120
921960refgcc -fno-schedule-insns -Os -fomit-frame-pointer2012012820120120
922240refgcc -march=k8 -Os -fomit-frame-pointer2012012820120120
922336refgcc -m64 -march=core-avx-i -O -fomit-frame-pointer2012012820120120
922352refgcc -m64 -Os -fomit-frame-pointer2012012820120120
924612refgcc -m64 -march=barcelona -Os -fomit-frame-pointer2012012820120120
925960refgcc -funroll-loops -Os -fomit-frame-pointer2012012820120120
926152refgcc -funroll-loops -fno-schedule-insns -Os -fomit-frame-pointer2012012820120120
926176refgcc -funroll-loops -march=k8 -Os -fomit-frame-pointer2012012820120120
926712refgcc -funroll-loops -march=barcelona -Os -fomit-frame-pointer2012012820120120
927116refgcc -funroll-loops -m64 -Os -fomit-frame-pointer2012012820120120
927832refgcc -funroll-loops -m64 -march=k8 -Os -fomit-frame-pointer2012012820120120
928720refgcc -march=barcelona -Os -fomit-frame-pointer2012012820120120
930072refgcc -funroll-loops -m64 -march=barcelona -Os -fomit-frame-pointer2012012820120120
935160refgcc -m64 -march=core2 -O3 -fomit-frame-pointer2012012820120120
935840refgcc -m64 -march=core2 -msse4 -O3 -fomit-frame-pointer2012012820120120
936304refgcc -O3 -fomit-frame-pointer2012012820120120
936356refgcc -m64 -O3 -fomit-frame-pointer2012012820120120
936800refgcc -m64 -march=core2 -msse4.1 -O3 -fomit-frame-pointer2012012820120120
937076refgcc -m64 -march=corei7 -O3 -fomit-frame-pointer2012012820120120
937256refgcc -fno-schedule-insns -O3 -fomit-frame-pointer2012012820120120
938592refgcc -march=nocona -O2 -fomit-frame-pointer2012012820120120
938876refgcc -m64 -march=nocona -O2 -fomit-frame-pointer2012012820120120
939120refgcc -m64 -march=corei7-avx -O3 -fomit-frame-pointer2012012820120120
939540refgcc -m64 -march=core-avx-i -O3 -fomit-frame-pointer2012012820120120
940056refgcc -m64 -march=barcelona -O3 -fomit-frame-pointer2012012820120120
940648refgcc -march=barcelona -O3 -fomit-frame-pointer2012012820120120
941000refgcc -m64 -march=native -mtune=native -O3 -fomit-frame-pointer2012012820120120
951636refgcc -march=nocona -Os -fomit-frame-pointer2012012820120120
952124refgcc -march=nocona -O3 -fomit-frame-pointer2012012820120120
952596refgcc -m64 -march=nocona -O3 -fomit-frame-pointer2012012820120120
955488refgcc -m64 -march=nocona -Os -fomit-frame-pointer2012012820120120
958496refgcc -funroll-loops -m64 -march=nocona -Os -fomit-frame-pointer2012012820120120
958688refgcc -funroll-loops -march=nocona -Os -fomit-frame-pointer2012012820120120
2445236refgcc2012012820120120
2446336refgcc -funroll-loops2012012820120120
2451452refcc2012012820120120

Compiler output

Implementation: crypto_sign/sflashv2/ref
Compiler: gcc -O2 -fomit-frame-pointer
lib_flash.c: lib_flash.c: In function 'Flash_load_private_key':
lib_flash.c: lib_flash.c:1019:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
lib_flash.c: lib_flash.c: In function 'Flash_load_public_key':
lib_flash.c: lib_flash.c:913:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
lib_flash.c: In file included from /usr/include/string.h:642:0,
lib_flash.c: from /usr/include/memory.h:30,
lib_flash.c: from lib_flash.c:1:
lib_flash.c: In function 'memset',
lib_flash.c: inlined from 'format_message1' at lib_flash.c:726:8:
lib_flash.c: /usr/include/x86_64-linux-gnu/bits/string3.h:82:30: warning: call to '__warn_memset_zero_len' declared with attribute warning: memset used with constant zero length parameter; this could be due to transposed parameters [enabled by default]
lib_flash.c: In function 'memset',
lib_flash.c: inlined from 'format_message2' at lib_flash.c:783:8:
lib_flash.c: /usr/include/x86_64-linux-gnu/bits/string3.h:82:30: warning: call to '__warn_memset_zero_len' declared with attribute warning: memset used with constant zero length parameter; this could be due to transposed parameters [enabled by default]
try.c: crypto_sign_sflashv2.a(lib_flash.o): In function `format_message1':
try.c: lib_flash.c:(.text+0x...): warning: memset used with constant zero length parameter; this could be due to transposed parameters
measure.c: crypto_sign_sflashv2.a(lib_flash.o): In function `format_message1':
measure.c: lib_flash.c:(.text+0x...): warning: memset used with constant zero length parameter; this could be due to transposed parameters

Number of similar (compiler,implementation) pairs: 96, namely:
CompilerImplementations
gcc -O2 -fomit-frame-pointer ref
gcc -O3 -fomit-frame-pointer ref
gcc -O -fomit-frame-pointer ref
gcc -Os -fomit-frame-pointer ref
gcc -fno-schedule-insns -O2 -fomit-frame-pointer ref
gcc -fno-schedule-insns -O3 -fomit-frame-pointer ref
gcc -fno-schedule-insns -O -fomit-frame-pointer ref
gcc -fno-schedule-insns -Os -fomit-frame-pointer ref
gcc -funroll-loops -O2 -fomit-frame-pointer ref
gcc -funroll-loops -O3 -fomit-frame-pointer ref
gcc -funroll-loops -O -fomit-frame-pointer ref
gcc -funroll-loops -Os -fomit-frame-pointer ref
gcc -funroll-loops -fno-schedule-insns -O2 -fomit-frame-pointer ref
gcc -funroll-loops -fno-schedule-insns -O3 -fomit-frame-pointer ref
gcc -funroll-loops -fno-schedule-insns -O -fomit-frame-pointer ref
gcc -funroll-loops -fno-schedule-insns -Os -fomit-frame-pointer ref
gcc -funroll-loops -m64 -O2 -fomit-frame-pointer ref
gcc -funroll-loops -m64 -O3 -fomit-frame-pointer ref
gcc -funroll-loops -m64 -O -fomit-frame-pointer ref
gcc -funroll-loops -m64 -Os -fomit-frame-pointer ref
gcc -funroll-loops -m64 -march=barcelona -O2 -fomit-frame-pointer ref
gcc -funroll-loops -m64 -march=barcelona -O3 -fomit-frame-pointer ref
gcc -funroll-loops -m64 -march=barcelona -O -fomit-frame-pointer ref
gcc -funroll-loops -m64 -march=barcelona -Os -fomit-frame-pointer ref
gcc -funroll-loops -m64 -march=k8 -O2 -fomit-frame-pointer ref
gcc -funroll-loops -m64 -march=k8 -O3 -fomit-frame-pointer ref
gcc -funroll-loops -m64 -march=k8 -O -fomit-frame-pointer ref
gcc -funroll-loops -m64 -march=k8 -Os -fomit-frame-pointer ref
gcc -funroll-loops -m64 -march=nocona -O2 -fomit-frame-pointer ref
gcc -funroll-loops -m64 -march=nocona -O3 -fomit-frame-pointer ref
gcc -funroll-loops -m64 -march=nocona -O -fomit-frame-pointer ref
gcc -funroll-loops -m64 -march=nocona -Os -fomit-frame-pointer ref
gcc -funroll-loops -march=barcelona -O2 -fomit-frame-pointer ref
gcc -funroll-loops -march=barcelona -O3 -fomit-frame-pointer ref
gcc -funroll-loops -march=barcelona -O -fomit-frame-pointer ref
gcc -funroll-loops -march=barcelona -Os -fomit-frame-pointer ref
gcc -funroll-loops -march=k8 -O2 -fomit-frame-pointer ref
gcc -funroll-loops -march=k8 -O3 -fomit-frame-pointer ref
gcc -funroll-loops -march=k8 -O -fomit-frame-pointer ref
gcc -funroll-loops -march=k8 -Os -fomit-frame-pointer ref
gcc -funroll-loops -march=nocona -O2 -fomit-frame-pointer ref
gcc -funroll-loops -march=nocona -O3 -fomit-frame-pointer ref
gcc -funroll-loops -march=nocona -O -fomit-frame-pointer ref
gcc -funroll-loops -march=nocona -Os -fomit-frame-pointer ref
gcc -m64 -O2 -fomit-frame-pointer ref
gcc -m64 -O3 -fomit-frame-pointer ref
gcc -m64 -O -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 -O3 -fomit-frame-pointer ref
gcc -m64 -march=core-avx-i -O -fomit-frame-pointer ref
gcc -m64 -march=core-avx-i -Os -fomit-frame-pointer ref
gcc -m64 -march=core2 -O2 -fomit-frame-pointer ref
gcc -m64 -march=core2 -O3 -fomit-frame-pointer ref
gcc -m64 -march=core2 -O -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 -O3 -fomit-frame-pointer ref
gcc -m64 -march=core2 -msse4.1 -O -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 -O3 -fomit-frame-pointer ref
gcc -m64 -march=core2 -msse4 -O -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 -O3 -fomit-frame-pointer ref
gcc -m64 -march=corei7-avx -O -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 -O3 -fomit-frame-pointer ref
gcc -m64 -march=corei7 -O -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 -O3 -fomit-frame-pointer ref
gcc -m64 -march=k8 -O -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 -O3 -fomit-frame-pointer ref
gcc -m64 -march=native -mtune=native -O -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 -O3 -fomit-frame-pointer ref
gcc -m64 -march=nocona -O -fomit-frame-pointer ref
gcc -m64 -march=nocona -Os -fomit-frame-pointer ref
gcc -march=barcelona -O2 -fomit-frame-pointer ref
gcc -march=barcelona -O3 -fomit-frame-pointer ref
gcc -march=barcelona -O -fomit-frame-pointer ref
gcc -march=barcelona -Os -fomit-frame-pointer ref
gcc -march=k8 -O2 -fomit-frame-pointer ref
gcc -march=k8 -O3 -fomit-frame-pointer ref
gcc -march=k8 -O -fomit-frame-pointer ref
gcc -march=k8 -Os -fomit-frame-pointer ref
gcc -march=nocona -O2 -fomit-frame-pointer ref
gcc -march=nocona -O3 -fomit-frame-pointer ref
gcc -march=nocona -O -fomit-frame-pointer ref
gcc -march=nocona -Os -fomit-frame-pointer ref

Compiler output

Implementation: crypto_sign/sflashv2/ref
Compiler: gcc -m64 -march=barcelona -O2 -fomit-frame-pointer
lib_flash.c: lib_flash.c: In function 'Flash_load_private_key':
lib_flash.c: lib_flash.c:1019:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
lib_flash.c: lib_flash.c: In function 'Flash_load_public_key':
lib_flash.c: lib_flash.c:913:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
lib_flash.c: In file included from /usr/include/string.h:642:0,
lib_flash.c: from /usr/include/memory.h:30,
lib_flash.c: from lib_flash.c:1:
lib_flash.c: In function 'memset',
lib_flash.c: inlined from 'format_message1' at lib_flash.c:726:8:
lib_flash.c: /usr/include/x86_64-linux-gnu/bits/string3.h:82:30: warning: call to '__warn_memset_zero_len' declared with attribute warning: memset used with constant zero length parameter; this could be due to transposed parameters [enabled by default]
lib_flash.c: In function 'memset',
lib_flash.c: inlined from 'format_message2' at lib_flash.c:783:8:
lib_flash.c: /usr/include/x86_64-linux-gnu/bits/string3.h:82:30: warning: call to '__warn_memset_zero_len' declared with attribute warning: memset used with constant zero length parameter; this could be due to transposed parameters [enabled by default]
try.c: crypto_sign_sflashv2.a(lib_flash.o): In function `format_message1':
try.c: lib_flash.c:(.text+0x...): warning: memset used with constant zero length parameter; this could be due to transposed parameters
measure.c: crypto_sign_sflashv2.a(lib_flash.o): In function `format_message1':
measure.c: lib_flash.c:(.text+0x...): warning: memset used with constant zero length parameter; this could be due to transposed parameters
lib_flash.c: lib_flash.c: In function 'Flash_load_private_key':
lib_flash.c: lib_flash.c:1019:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
lib_flash.c: lib_flash.c: In function 'Flash_load_public_key':
lib_flash.c: lib_flash.c:913:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
lib_flash.c: In file included from /usr/include/string.h:642:0,
lib_flash.c: from /usr/include/memory.h:30,
lib_flash.c: from lib_flash.c:1:
lib_flash.c: In function 'memset',
lib_flash.c: inlined from 'format_message1' at lib_flash.c:726:8:
lib_flash.c: /usr/include/x86_64-linux-gnu/bits/string3.h:82:30: warning: call to '__warn_memset_zero_len' declared with attribute warning: memset used with constant zero length parameter; this could be due to transposed parameters [enabled by default]
lib_flash.c: In function 'memset',
lib_flash.c: inlined from 'format_message2' at lib_flash.c:783:8:
lib_flash.c: /usr/include/x86_64-linux-gnu/bits/string3.h:82:30: warning: call to '__warn_memset_zero_len' declared with attribute warning: memset used with constant zero length parameter; this could be due to transposed parameters [enabled by default]
try.c: crypto_sign_sflashv2.a(lib_flash.o): In function `format_message1':
try.c: lib_flash.c:(.text+0x...): warning: memset used with constant zero length parameter; this could be due to transposed parameters
measure.c: crypto_sign_sflashv2.a(lib_flash.o): In function `format_message1':
measure.c: lib_flash.c:(.text+0x...): warning: memset used with constant zero length parameter; this could be due to transposed parameters

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