POV-Ray : Newsgroups : povray.off-topic : Mac Plus vs AMD Dual Core : Re: Mac Plus vs AMD Dual Core Server Time
11 Oct 2024 17:47:49 EDT (-0400)
  Re: Mac Plus vs AMD Dual Core  
From: John VanSickle
Date: 10 Oct 2007 16:16:44
Message: <470d332c@news.povray.org>
Darren New wrote:
> ... and if the application writer understands not only the application 
> but also the machine details, and if the application is not signficantly 
> larger than the compiler ...

When I did assembler, I usually had my C compiler generate an assembler 
listing.  I could then pick through the assembly code, and eliminate 
instructions that didn't add value to the function, or replace them with 
shorter or quicker sets of instructions that accomplished the same 
thing.  Maybe my compiler sucked, but I could often reduce a function by 
50% in both size and execution time by whacking code that compilers need 
to put in, but which isn't really required by the algorithm.

I generally did this only for sections of code that got executed a lot 
in a given period of time; otherwise it wasn't worth it.

Regards,
John


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.