diff --git a/Makefile b/Makefile index 6fb3e5a..6fe5fd4 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,13 @@ DHRY-LFLAGS = -DHRY-CFLAGS := -O3 -DTIME -DNOENUM -Wno-implicit -save-temps -DHRY-CFLAGS += -fno-builtin-printf -fno-common -falign-functions=4 +# Best effort +DHRY-CFLAGS := -O2 -DTIME -Wno-implicit -fno-builtin-printf -fno-common -static -mcmodel=medany -ffast-math -fno-common -falign-jumps=8 -falign-loops=8 -falign-functions=8 + +# Legal +#DHRY-CFLAGS := -O2 -DTIME -Wno-implicit -fno-builtin-printf -fno-common -static -mcmodel=medany -ffast-math -fno-common -falign-jumps=8 -falign-loops=8 -falign-functions=8 -fno-inline #Uncomment below for FPGA run, default DHRY_ITERS is 2000 for RTL -#DHRY-CFLAGS += -DDHRY_ITERS=20000000 +DHRY-CFLAGS += -DDHRY_ITERS=20000000 SRC = dhry_1.c dhry_2.c strcmp.S HDR = dhry.h