diff options
author | Samuel Neves <sneves@dei.uc.pt> | 2016-10-12 17:19:55 +0300 |
---|---|---|
committer | Samuel Neves <sneves@dei.uc.pt> | 2016-10-12 17:19:55 +0300 |
commit | c19dd2bd835ae98d8f40e7d712042476b4ad1ccf (patch) | |
tree | 53fd914ee1bce5f324ee6083162221a4d9a9e522 /bench | |
parent | 7a39ee4736dce7d9ded9cd4b0eaea7a7fe18d721 (diff) |
formatting, more c89
Diffstat (limited to 'bench')
-rw-r--r-- | bench/makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bench/makefile b/bench/makefile index 8945dba..b637c82 100644 --- a/bench/makefile +++ b/bench/makefile @@ -1,6 +1,6 @@ CC=gcc # std to gnu99 to support inline asm -CFLAGS=-O3 -march=native -DSUPERCOP # -DHAVE_XOP # uncomment on XOP-enabled CPUs +CFLAGS=-O3 -march=native -Wall -Wextra -DSUPERCOP # -DHAVE_XOP # uncomment on XOP-enabled CPUs FILES=bench.c all: bench @@ -9,7 +9,7 @@ bench: bench.c $(CC) $(FILES) $(CFLAGS) ../sse/blake2b.c -o blake2b $(CC) $(FILES) $(CFLAGS) ../sse/blake2s.c -o blake2s $(CC) $(FILES) $(CFLAGS) md5.c -o md5 -lcrypto -lz - + plot: bench ./blake2b > blake2b.data ./blake2s > blake2s.data |