mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > Msieve

Reply
 
Thread Tools
Old 2007-03-29, 18:04   #1
bigmic
 
bigmic's Avatar
 
Mar 2007

22 Posts
Default compiled msieve on PS3

hi all,

i just want to announce i successfully compiled msieve on the
playstation3 (on yellow-dog linux)

using a single PPE i got a 272 bits number factored in 37 mins
(its not canned heat but its ok)

for compiling you have to fix the file dd.h (because no ppc_intrinsics.h on PS3)

starting at:

#if defined(__GNUC__) && (defined(__powerpc__) || defined(__ppc64__))

//#include <ppc_intrinsics.h>

/*
* fmsub - Floating Multiply-Subract (Double-Precision)
*
* (a * c - b) double precision
*/
static inline double __fmsub (double a, double c, double b) __attribute__((always_inline));
static inline double
__fmsub (double a, double c, double b)
{
double result;
__asm__ ("fmsub %0, %1, %2, %3"
/* outputs: */ : "=f" (result)
/* inputs: */ : "f" (a), "f" (c), "f" (b));
return result;
}

regards
bigmic is offline   Reply With Quote
Old 2007-03-29, 19:26   #2
jasonp
Tribal Bullet
 
jasonp's Avatar
 
Oct 2004

3,541 Posts
Default

Quote:
Originally Posted by bigmic View Post
i just want to announce i successfully compiled msieve on the
playstation3 (on yellow-dog linux)

using a single PPE i got a 272 bits number factored in 37 mins
(its not canned heat but its ok)
Very cool. Just to be pedantic, the compiled binary would not be using the special Cell processing engines everybody is drooling over, but rather the 64-bit PowerPC core. Once in a while I think about what it would take to make sieving SIMD-friendly, but any of the ideas I get would require major code transformations to even test.

jasonp
jasonp is offline   Reply With Quote
Old 2007-03-29, 20:06   #3
bigmic
 
bigmic's Avatar
 
Mar 2007

22 Posts
Default

haha :-)

hey - we got the toy for 3 days now in ancient europe :-)
so first tests with the spe's are made - i also don't expect fast progress
but some stuff is already working with spe support
(coded some RC4 code running on SPE's :-)

cu
bigmic is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
msieve on KNL frmky Msieve 3 2016-11-06 11:45
Experimental lasieve4_64, compiled with MinGW-w64! Dan Ee Factoring 40 2016-02-08 20:32
About self-compiled Prime95 tyeken8 Software 14 2009-05-27 11:02
Looking for windows-compiled gnfs-lasieve4I15e Andi47 Factoring 15 2008-02-21 19:15
How I get a compiled version of GMP-ECM? MatWur-S530113 GMP-ECM 12 2007-10-22 20:33

All times are UTC. The time now is 01:30.


Sat Jul 17 01:30:38 UTC 2021 up 49 days, 23:17, 1 user, load averages: 1.68, 1.29, 1.23

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.