Skip to content

Commit

Permalink
removed the rest of RDTSC occurances
Browse files Browse the repository at this point in the history
  • Loading branch information
czurnieden committed Jun 16, 2024
1 parent 706cb91 commit 07792f5
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 55 deletions.
2 changes: 1 addition & 1 deletion etc/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ graphs: tune

clean:
rm -f *.log *.o *.obj *.exe pprime tune mersenne drprime mont 2kprime pprime.dat \
tuning_list get_limbsize out *.da *.dyn *.dpi *~ cmake_install.cmake Makefile
tuning_list get_limbsize out *.da *.dyn *.dpi *~ cmake_install.cmake Makefile
rm -rf .libs
rm -rf CMakeFiles

Expand Down
18 changes: 1 addition & 17 deletions etc/makefile.icc
Original file line number Diff line number Diff line change
Expand Up @@ -37,22 +37,6 @@ tune: tune.o
graphs: tune
./tune_it.sh 1000


# same app but using RDTSC for higher precision [requires 80586+], coff based gcc installs [e.g. ming, cygwin, djgpp]
tune86: tune.c
nasm -f coff timer.asm
$(CC) -DX86_TIMER $(CFLAGS) tune.c timer.o $(LIBNAME) -o tune86

# for cygwin
tune86c: tune.c
nasm -f gnuwin32 timer.asm
$(CC) -DX86_TIMER $(CFLAGS) tune.c timer.o $(LIBNAME) -o tune86

#make tune86 for linux or any ELF format
tune86l: tune.c
nasm -f elf -DUSE_ELF timer.asm
$(CC) -DX86_TIMER $(CFLAGS) tune.c timer.o $(LIBNAME) -o tune86l

# spits out mersenne primes
mersenne: mersenne.o
$(CC) mersenne.o $(LIBNAME) -o mersenne
Expand All @@ -70,4 +54,4 @@ mont: mont.o


clean:
rm -f *.log *.o *.obj *.exe pprime tune mersenne drprime tune86 tune86l mont 2kprime pprime.dat multiplying squaring readradix writeradix test get_limbsize *png *.il tuning_list
rm -f *.log *.o *.obj *.exe pprime tune mersenne drprime mont 2kprime pprime.dat get_limbsize *.il tuning_list
37 changes: 0 additions & 37 deletions etc/timer.asm

This file was deleted.

0 comments on commit 07792f5

Please sign in to comment.