From 3cb5404d9ecede03de010f09892f935bafc9c988 Mon Sep 17 00:00:00 2001 From: Tanel Liiv Date: Sat, 7 Mar 2020 13:47:38 +0200 Subject: [PATCH] tweaks --- Makefile | 4 ++-- README.md | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index f92ba92..fb54865 100644 --- a/Makefile +++ b/Makefile @@ -15,9 +15,9 @@ rpt_release: *.zig -lc -lm \ -I./Prime95-29.8b6/gwnum/ --library ./Prime95-29.8b6/gwnum/gwnum.a \ -I./gmp-6.2.0 --library ./gmp-6.2.0/.libs/libgmp.a \ - --name rpt_release + --name rpt_release_linux64 PATH=/home/tanel/software/upx-3.96-amd64_linux/:$PATH \ - upx -9 ./rpt_release + upx -9 ./rpt_release_linux64 v: #v -cg -prod -cc gcc-9 -cflags -fauto-profile=altllr.gcov altllr.v diff --git a/README.md b/README.md index 15dc957..f3d0a4e 100644 --- a/README.md +++ b/README.md @@ -64,16 +64,16 @@ $ ./rpt 39547695 506636 4 ``` ``` -./rpt 39547695 506636 4 130 ↵ +./rpt 39547695 506636 3 === RPT - Riesel Prime Tester v0.0.2 [GWNUM: 29.8 GMP: 6.2.0] === -LLR testing: 39547695*2^506636-1 [152521 digits] on 4 threads +LLR testing: 39547695*2^506636-1 [152521 digits] on 3 threads FFT size 50KB [WARNING: Probably too many threads for this FFT size] step 1. find U0 ... found V1 [11] using Jacobi Symbols in 0ms found U0 using Lucas Sequence in 64ms step 2. LLR test ... 0....1....2....3....4....5....6....7....8....9....X -LLR took 62269ms +LLR took 58755ms #> 39547695*2^506636-1 [152521 digits] IS PRIME ``` Pseudocode of the whole thing