From b72a0e584fa9aca315cbedda067ece63dee2217d Mon Sep 17 00:00:00 2001 From: David Monniaux Date: Wed, 30 Jan 2019 21:40:13 +0100 Subject: show cycles --- test/monniaux/bitsliced-aes/Makefile | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'test/monniaux/bitsliced-aes/Makefile') diff --git a/test/monniaux/bitsliced-aes/Makefile b/test/monniaux/bitsliced-aes/Makefile index 9073b602..65de1e2e 100644 --- a/test/monniaux/bitsliced-aes/Makefile +++ b/test/monniaux/bitsliced-aes/Makefile @@ -3,16 +3,18 @@ obj = $(src:.c=.o) CC=k1-mbr-gcc LDFLAGS = -Wl,--gc-sections -CFLAGS = -O3 -fdata-sections -ffunction-sections -DUNROLL_TRANSPOSE +CFLAGS = -O3 -fdata-sections -ffunction-sections # -DUNROLL_TRANSPOSE name = bitslice -$(name): _testbench $(obj) - $(CC) $(LDFLAGS) -o $@ $(obj) $(LDFLAGS) - +%.s : %.c + $(CC) $(CFLAGS) -S -o $@ $< test: _test $(obj) - $(CC) $(LDFLAGS) -o $(name) $(obj) $(LDFLAGS) + $(CC) $(LDFLAGS) -o $(name) $(obj) ../clock.o $(LDFLAGS) + +$(name): _testbench $(obj) + $(CC) $(LDFLAGS) -o $@ $(obj) $(LDFLAGS) footprint: _footprint $(obj) $(CC) $(LDFLAGS) -o $(name) $(obj) $(LDFLAGS) -- cgit