Go Back > Great Internet Mersenne Prime Search > Software

Thread Tools
Old 2010-12-20, 22:10   #1
Nov 2010

1148 Posts
Default SZPTR - whare is it defined

SZPTR symbol is referenced is several files of the mprime sources:
 $ find . -name '*' | xargs grep -l SZPTR
but I cannot find its definition anywhere. Is this some kind of VS internals which supposedly equals "sizeof (void *)" ?


Also, the opt_save_reg macro is being used, but I cannot find it within mprime bundle. The closest I get is the save_reg macro from provided by microsoft SDK. Are those macros different ?


Last fiddled with by tichy on 2010-12-20 at 22:53
tichy is offline   Reply With Quote
Old 2010-12-21, 02:30   #2
P90 years forever!
Prime95's Avatar
Aug 2002
Yeehaw, FL

72×149 Posts

I think it is in unravel.Mac
Prime95 is offline   Reply With Quote
Old 2010-12-21, 11:10   #3
Nov 2010

22×19 Posts

Originally Posted by Prime95 View Post
I think it is in unravel.Mac
Well, that was the first place I checked. Other than that I do full grep on 25.11 zip contents. Interestingly, google when queried on opt_save_reg returns nothing, neither msdn. Anyway, if it is not something you have on the top of the head, then I'll try to workaround that.

tichy is offline   Reply With Quote
Old 2010-12-21, 22:25   #4
Batalov's Avatar
Mar 2008

47×197 Posts

both are in unravel.mac

Last fiddled with by Batalov on 2010-12-21 at 22:30
Batalov is offline   Reply With Quote
Old 2010-12-22, 09:02   #5
Nov 2010

22·19 Posts

Sorry, you were right.
My linear programming habits :) - I expected definition before first use, and as I saw both SZPTR and opt_save_reg being referenced several times in sequence from the start of the file I would not expect definition to follow after those references. MASM startles me every day.
tichy is offline   Reply With Quote

Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
How is GIMPS' sustained throughput defined? NBtarheel_33 PrimeNet 86 2018-02-28 08:24
another defined sequence MattcAnderson Miscellaneous Math 4 2017-07-05 08:05

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

Tue Jan 19 09:02:14 UTC 2021 up 47 days, 5:13, 0 users, load averages: 1.88, 2.06, 2.20

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, 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.