mersenneforum.org  

Go Back   mersenneforum.org > Search Forums

Showing results 1 to 25 of 1000
Search took 0.41 seconds.
Search: Posts Made By: bsquared
Forum: Lounge 2020-07-27, 15:03
Replies: 13
Views: 273
Posted By bsquared
I ran into this luna moth while camping last...

I ran into this luna moth while camping last month. I'd never seen one this close up before.
It was pretty big - maybe 5 inches wingtip to wingtip.
Forum: Lounge 2020-07-23, 12:44
Replies: 91
Views: 5,645
Posted By bsquared
Congratulations, and nice pictures! I hope to do...

Congratulations, and nice pictures! I hope to do that also someday.
Forum: Programming 2020-07-23, 02:42
Replies: 14
Views: 513
Posted By bsquared
Agreed, it's not a good benchmark. The OP asked...

Agreed, it's not a good benchmark. The OP asked for a way to multiply 64-bit unsigned ints and he now has several things to try. I assumed he will use them in his application to figure out which is...
Forum: Programming 2020-07-22, 15:48
Replies: 14
Views: 513
Posted By bsquared
As far as I can see from objdump, yes (except the...

As far as I can see from objdump, yes (except the one usage of mulx).
Forum: Programming 2020-07-22, 14:56
Replies: 14
Views: 513
Posted By bsquared
Yeah, macros may integrate better into the rest...

Yeah, macros may integrate better into the rest of the code.

However, for this simple benchmark loop:

for (i = 0; i < 1000000000; i++)
{
c = mulx64(a, b, &d);
a = c;
b = d;
}
Forum: Programming 2020-07-22, 13:25
Replies: 14
Views: 513
Posted By bsquared
Try: __inline uint64_t mul64(uint64_t x,...

Try:
__inline uint64_t mul64(uint64_t x, uint64_t y, uint64_t* hi) {
__asm__(
"mulq %3 \n\t"
: "=&a"(x), "=&d"(y)
: "0"(x), "1"(y)
: "cc"
);

*hi...
Forum: YAFU 2020-07-10, 01:14
Replies: 2
Views: 195
Posted By bsquared
Yes, use -pretest

Yes, use -pretest
Forum: Factoring 2020-06-29, 23:11
Replies: 10
Views: 693
Posted By bsquared
For the C100, this is not true; or at least, it...

For the C100, this is not true; or at least, it is close enough to be worth discussing. For the others, of course you're right. But everyone discussing here knows that already; we are optimizing...
Forum: Factoring 2020-06-29, 14:10
Replies: 10
Views: 693
Posted By bsquared
Thanks! I have also been tinkering with the...

Thanks!

I have also been tinkering with the three large prime variation during this pandemic. I've mostly been focused on seeing if I can make QS faster in the upper end of the size range where...
Forum: Factoring 2020-06-28, 03:06
Replies: 10
Views: 693
Posted By bsquared
Congratulations, that's quite a feat! Can...

Congratulations, that's quite a feat!

Can you give a few more details? What were the large prime bounds? Do you have any more statistics on the cycles, e.g., the percentage that used a TLP? ...
Forum: Puzzles 2020-06-25, 19:21
Replies: 16
Views: 1,538
Posted By bsquared
It is yafu starting from a r381 (wip-branch).

It is yafu starting from a r381 (wip-branch).
Forum: Puzzles 2020-06-25, 13:25
Replies: 16
Views: 1,538
Posted By bsquared
>> x=2^7* 5 * 23 * 127 * 659 * 53323 * 1876187 *...

>> x=2^7* 5 * 23 * 127 * 659 * 53323 * 1876187 * 97544836889 * 665320793909
7998766649128898059663516612687535453720960
>> totient(x)
3031634148236289733373855928919180891127808
>> sigma(x,1)-x...
Forum: Miscellaneous Math 2020-06-23, 20:48
Replies: 59
Views: 1,160
Posted By bsquared
I agree with the first but my take on his...

I agree with the first but my take on his "explanation" so far is that BillyB(x,0) = x. i.e., a thing of size x cut zero times remains size x. So BillyB(0,0) = 0 by that definition.

[edit]
but...
Forum: Msieve 2020-06-16, 19:52
Replies: 2
Views: 172
Posted By bsquared
Yeah, I ran across this and came up with this...

Yeah, I ran across this and came up with this fix:
https://www.mersenneforum.org/showpost.php?p=540947&postcount=81

I suspect the problem comes about because of this from the gmp changelog:

...
Forum: YAFU 2020-06-16, 16:08
Replies: 14
Views: 907
Posted By bsquared
The CADO-as-a-black-box approach might not be too...

The CADO-as-a-black-box approach might not be too bad to add to yafu... I really don't want to have to deal with param files, managing different stages, etc. But if someone already has good params...
Forum: Factoring 2020-06-15, 20:28
Replies: 22
Views: 1,151
Posted By bsquared
Yes, exactly. But I'm using 16-bit containers...

Yes, exactly. But I'm using 16-bit containers for everything so overflow is a little trickier to handle. There are actually several different k's used in the p/2^k approximations as primes grow in...
Forum: YAFU 2020-06-15, 19:04
Replies: 14
Views: 907
Posted By bsquared
I saw this too. I think it has to do with blank...

I saw this too. I think it has to do with blank lines in the .ini. I changed the ReadINI function to ignore these but the writeINI function that is called as part of tune did not get changed and...
Forum: YAFU 2020-06-15, 18:51
Replies: 14
Views: 907
Posted By bsquared
In my mind, the .ini file should be used to set...

In my mind, the .ini file should be used to set *permanent* parameters. Things that you always need (for example the ecm path, ggnfs binary folder, and ecm pretesting preferences). Anything in the...
Forum: Factoring 2020-06-15, 17:14
Replies: 22
Views: 1,151
Posted By bsquared
By the way, I would recommend ignoring most of...

By the way, I would recommend ignoring most of the optimization stuff I talked about until you address other things. I posted them mostly for reference. Till's list of things in post 15 and 16 are...
Forum: Factoring 2020-06-15, 16:14
Replies: 22
Views: 1,151
Posted By bsquared
Yafu uses a similar method, with the following...

Yafu uses a similar method, with the following optimizations:

1) small primes (less than 256) are not sieved. A "zeroth" pass trial divides candidates by these small primes and there is a second...
Forum: YAFU 2020-06-15, 15:49
Replies: 14
Views: 907
Posted By bsquared
I'm seeing normal usage of tune info after...

I'm seeing normal usage of tune info after testing just now:

fac: using pretesting plan: normal
fac: using tune info for qs/gnfs crossover


Make sure that yafu.ini doesn't have lines...
Forum: YAFU 2020-06-15, 14:41
Replies: 1
Views: 204
Posted By bsquared
I don't have any current plans to do that, no. ...

I don't have any current plans to do that, no. I'm not familiar enough with how CADO works to tackle that anytime soon.
Forum: YAFU 2020-06-09, 14:16
Replies: 57
Views: 9,562
Posted By bsquared
Also, here is r388 with AVX512 enabled code. ...

Also, here is r388 with AVX512 enabled code. I've folded my AVX-ECM (https://www.mersenneforum.org/showthread.php?p=533915) implementation into this latest version, which is 1.5x to 2.5x higher...
Forum: YAFU 2020-06-09, 14:01
Replies: 57
Views: 9,562
Posted By bsquared
First off, sorry for all of the difficulty here. ...

First off, sorry for all of the difficulty here. I have not been in the habit of checking for successful builds on windows when checking in code, especially for older systems. It is also no fun...
Forum: YAFU 2020-06-08, 20:05
Replies: 57
Views: 9,562
Posted By bsquared
It's possible, yes. It's getting harder to test...

It's possible, yes. It's getting harder to test on all possible system/compiler combinations as I check in new code. I just tested r388 (branch wip) on a linux system with a E5-2697 v3 chip built...
Showing results 1 to 25 of 1000

 
All times are UTC. The time now is 09:05.

Tue Aug 4 09:05:32 UTC 2020 up 18 days, 4:52, 0 users, load averages: 2.17, 1.89, 1.60

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.