Logo by Fiery - Contribute your own Logo!

END OF AN ERA, FRACTALFORUMS.COM IS CONTINUED ON FRACTALFORUMS.ORG

it was a great time but no longer maintainable by c.Kleinhuis contact him for any data retrieval,
thanks and see you perhaps in 10 years again

this forum will stay online for reference
News: Check out the originating "3d Mandelbulb" thread here
 
*
Welcome, Guest. Please login or register. April 25, 2024, 11:42:39 PM


Login with username, password and session length


The All New FractalForums is now in Public Beta Testing! Visit FractalForums.org and check it out!


Pages: 1 [2]   Go Down
  Print  
Share this topic on DiggShare this topic on FacebookShare this topic on GoogleShare this topic on RedditShare this topic on StumbleUponShare this topic on Twitter
Author Topic: An absolute beginner to x64 ASM on Linux  (Read 5304 times)
0 Members and 1 Guest are viewing this topic.
Adam Majewski
Fractal Lover
**
Posts: 221


WWW
« Reply #15 on: May 14, 2012, 06:47:11 PM »

Thx for interesting informations.

If I'm not wrong ppmb it is one of netpb :
http://en.wikipedia.org/wiki/Netpbm_format
and
http://en.wikibooks.org/wiki/Fractals/Computer_graphic_techniques/2D/gfile

Can you show asm code for such functions like :
 double GiveLastIteration(double Zx0, double Zy0, double Cx, double Cy, int ER2)
 {
  double Zx2, Zy2; /* Zx2=Zx*Zx;  Zy2=Zy*Zy  */
  double Zx = Zx0;
  double Zy = Zy0;
  double i=0.0;
  Zx2=Zx*Zx;
  Zy2=Zy*Zy;
  while  (Zx2+Zy2<ER2)  /* ER2=ER*ER */
  {
   Zy=2*Zx*Zy + Cy;
   Zx=Zx2-Zy2 + Cx;
   Zx2=Zx*Zx;
   Zy2=Zy*Zy;
   i+=1.0;
  }
  return i;
 }

 How much faster it will be then above C function ?


« Last Edit: May 14, 2012, 06:52:32 PM by Adam Majewski » Logged
Pages: 1 [2]   Go Down
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
Absolute Tree and a Sunset Mandelbulb3D Gallery KRAFTWERK 0 592 Last post October 23, 2011, 11:30:32 AM
by KRAFTWERK
question from a new mandelbulber user (beginner) Discuss Fractal Forums michel sanchez 3 3695 Last post December 25, 2015, 06:39:43 AM
by michel sanchez
Beginner with MD3D Tutorials Clior13 8 2032 Last post July 25, 2016, 09:33:20 PM
by Madman
Absolute Reductionism? General Discussion rloldershaw 2 2751 Last post August 02, 2016, 05:29:23 PM
by rloldershaw
absolute beginner Fragmentarium robiwankenobi 2 1120 Last post January 13, 2017, 03:23:26 PM
by Adam Majewski

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM
Page created in 0.117 seconds with 24 queries. (Pretty URLs adds 0.009s, 2q)