mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Software

Reply
 
Thread Tools
Old 2005-05-22, 03:32   #1
Patanjali
 

2×31×151 Posts
Question How does prime95 use 3dnow?

24.11 whatsnew.txt says it now uses 3dnow instructions. What are they used for
  Reply With Quote
Old 2005-05-22, 08:16   #2
dsouza123
 
dsouza123's Avatar
 
Sep 2002

66210 Posts
Default

In the past Prime95 only used ALU (CPU integer), FPU (x87 floating point) and
SSE2 (SIMD/Vector floating point).
3DNow are SIMD for 32 bit floating point or integer but it is unlikely that 32 bit
floating point are used for LL because only a few bits of precision can be extracted
for FFT.
My guess is 3DNow is used for trial factoring somehow,
even though it works mainly with integer values about 64 bits in size.

Haven't looked at any code though to really findout.

It just may be a way of distingushing Athlon64/Opteron from Pentium 4/D
because only the AMD will have 3DNow but both have SSE2.
dsouza123 is offline   Reply With Quote
Old 2005-05-22, 13:49   #3
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

19·397 Posts
Default

Only the prefetchw instruction is used. On AMD machines this is better than using the prefetcht1 instruction.
Prime95 is offline   Reply With Quote
Reply



All times are UTC. The time now is 22:07.


Fri Aug 6 22:07:13 UTC 2021 up 14 days, 16:36, 1 user, load averages: 3.38, 3.10, 2.84

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.