aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Andres Erbsen <andreser@mit.edu>2017-07-05 14:32:34 -0400
committerGravatar Andres Erbsen <andreser@mit.edu>2017-07-05 14:32:34 -0400
commite014b3acd1c78070f3ffe697c00988e78828726f (patch)
tree848e463cef869c89c92cb23a812c5921dc851d47 /Makefile
parentcdab01cfb8fd963164e5c434ead83fd46d3d6ff3 (diff)
benchmark NISTZ256 with and without adx
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files changed, 11 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 651199929..c442d5572 100644
--- a/Makefile
+++ b/Makefile
@@ -168,11 +168,17 @@ third_party/openssl-curve25519/measure: third_party/openssl-curve25519/compiler
third_party/openssl-curve25519/measurements.txt: third_party/openssl-curve25519/measure capture.sh
./capture.sh third_party/openssl-curve25519 2047
-third_party/openssl-nistz256/measure: third_party/openssl-nistz256/compiler.sh third_party/openssl-nistz256/bench_madd.c third_party/openssl-nistz256/cpu_intel.c third_party/openssl-nistz256/ecp_nistz256-x86_64.s third_party/openssl-nistz256/nistz256.h
- third_party/openssl-nistz256/compiler.sh -o third_party/openssl-nistz256/measure measure.c third_party/openssl-nistz256/bench_madd.c third_party/openssl-nistz256/cpu_intel.c third_party/openssl-nistz256/ecp_nistz256-x86_64.s -I liblow -I third_party/openssl-nistz256 -D UUT=bench_madd
+third_party/openssl-nistz256-amd64/measure: third_party/openssl-nistz256-amd64/compiler.sh third_party/openssl-nistz256-amd64/bench_madd.c third_party/openssl-nistz256-amd64/cpu_intel.c third_party/openssl-nistz256-amd64/ecp_nistz256-x86_64.s third_party/openssl-nistz256-amd64/nistz256.h
+ third_party/openssl-nistz256-amd64/compiler.sh -o third_party/openssl-nistz256-amd64/measure measure.c third_party/openssl-nistz256-amd64/bench_madd.c third_party/openssl-nistz256-amd64/cpu_intel.c third_party/openssl-nistz256-amd64/ecp_nistz256-x86_64.s -I liblow -I third_party/openssl-nistz256-amd64 -D UUT=bench_madd
-third_party/openssl-nistz256/measurements.txt: third_party/openssl-nistz256/measure capture.sh
- ./capture.sh third_party/openssl-nistz256 65535
+third_party/openssl-nistz256-amd64/measurements.txt: third_party/openssl-nistz256-amd64/measure capture.sh
+ ./capture.sh third_party/openssl-nistz256-amd64 65535
+
+third_party/openssl-nistz256-adx/measure: third_party/openssl-nistz256-adx/compiler.sh third_party/openssl-nistz256-adx/bench_madd.c third_party/openssl-nistz256-adx/cpu_intel.c third_party/openssl-nistz256-adx/ecp_nistz256-x86_64.s third_party/openssl-nistz256-adx/nistz256.h
+ third_party/openssl-nistz256-adx/compiler.sh -o third_party/openssl-nistz256-adx/measure measure.c third_party/openssl-nistz256-adx/bench_madd.c third_party/openssl-nistz256-adx/cpu_intel.c third_party/openssl-nistz256-adx/ecp_nistz256-x86_64.s -I liblow -I third_party/openssl-nistz256-adx -D UUT=bench_madd
+
+third_party/openssl-nistz256-adx/measurements.txt: third_party/openssl-nistz256-adx/measure capture.sh
+ ./capture.sh third_party/openssl-nistz256-adx 65535
third_party/openssl-nistp256c64/measure: third_party/openssl-nistp256c64/compiler.sh third_party/openssl-nistp256c64/bench_madd.c third_party/openssl-nistp256c64/ecp_nistp256.c third_party/openssl-nistp256c64/ecp_nistp256.h
third_party/openssl-nistp256c64/compiler.sh -o third_party/openssl-nistp256c64/measure measure.c third_party/openssl-nistp256c64/bench_madd.c third_party/openssl-nistp256c64/ecp_nistp256.c third_party/openssl-nistp256c64/ecp_nistp256.h -I liblow -I third_party/openssl-nistp256c64 -D UUT=bench_madd
@@ -207,7 +213,7 @@ src/Specific/NISTP256/AMD64/icc/measure: src/Specific/NISTP256/AMD64/icc/compile
src/Specific/NISTP256/AMD64/icc/measurements.txt: src/Specific/NISTP256/AMD64/icc/measure capture.sh
./capture.sh src/Specific/NISTP256/AMD64/icc 65535
-bench: src/Specific/X25519/C64/measurements.txt third_party/openssl-curve25519/measurements.txt src/Specific/NISTP256/AMD64/measurements.txt src/Specific/NISTP256/AMD64/icc/measurements.txt third_party/openssl-nistz256/measurements.txt third_party/openssl-nistp256c64/measurements.txt
+bench: src/Specific/X25519/C64/measurements.txt third_party/openssl-curve25519/measurements.txt src/Specific/NISTP256/AMD64/measurements.txt src/Specific/NISTP256/AMD64/icc/measurements.txt third_party/openssl-nistz256-amd64/measurements.txt third_party/openssl-nistz256-adx/measurements.txt third_party/openssl-nistp256c64/measurements.txt
head -999999 $?
test: src/Specific/X25519/C64/test src/Specific/NISTP256/AMD64/test/feadd_test src/Specific/NISTP256/AMD64/test/femul_test src/Specific/NISTP256/AMD64/test/p256_test src/Specific/NISTP256/AMD64/icc/p256_test