feat: add O3

This commit is contained in:
tqcq 2024-10-24 04:52:51 +00:00
parent 578fc8e937
commit bd380c3e96
2 changed files with 1 additions and 6 deletions

View File

@ -4,7 +4,7 @@ LDIR=lib
BUILD=obj BUILD=obj
ODIR=src/.obj ODIR=src/.obj
CFLAGS+=-I$(IDIR) #-ggdb CFLAGS+=-I$(IDIR) -O3 #-ggdb
# CXX=g++ # CXX=g++
LDFLAGS=-lpthread LDFLAGS=-lpthread

View File

@ -360,9 +360,6 @@ find_row_mask(std::vector<set_t> &sets,
} }
//---------------------------------------------------------- //----------------------------------------------------------
#pragma push_options
#pragma optimize("O3")
void void
rev_mc(size_t sets_cnt, size_t threshold, size_t rounds, size_t m_size, char *o_file, uint64_t flags) rev_mc(size_t sets_cnt, size_t threshold, size_t rounds, size_t m_size, char *o_file, uint64_t flags)
{ {
@ -446,8 +443,6 @@ rev_mc(size_t sets_cnt, size_t threshold, size_t rounds, size_t m_size, char *o_
free_buffer(&mem); free_buffer(&mem);
} }
#pragma pop_options
// Fin. // Fin.
//---------------------------------------------------------- //----------------------------------------------------------