From 865052b4e90ab12337230c890f44b3c079b9da74 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Wed, 1 Nov 2023 23:05:35 +0100 Subject: [PATCH] compiler optimizations from user @np0 --- tools/mfkey/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/mfkey/Makefile b/tools/mfkey/Makefile index 7f5371132..22f87f207 100644 --- a/tools/mfkey/Makefile +++ b/tools/mfkey/Makefile @@ -1,9 +1,10 @@ MYSRCPATHS = ../../common ../../common/crapto1 MYSRCS = crypto1.c crapto1.c bucketsort.c MYINCLUDES = -I../../include -I../../common -MYCFLAGS = -O3 +MYCFLAGS = -O3 -funroll-all-loops --param max-completely-peeled-insns=1000 --param max-completely-peel-times=10000 MYDEFS = +#BINS = mfkey32 mfkey32v2 mfkey64 staticnested BINS = mfkey32 mfkey32v2 mfkey64 INSTALLTOOLS = $(BINS) @@ -19,3 +20,4 @@ endif mfkey32 : $(OBJDIR)/mfkey32.o $(MYOBJS) mfkey32v2 : $(OBJDIR)/mfkey32v2.o $(MYOBJS) mfkey64 : $(OBJDIR)/mfkey64.o $(MYOBJS) +#staticnested : $(OBJDIR)/staticnested.o $(MYOBJS)