Re: Assembler versus ANSI C

From: JS (NuncEstBibendum_at_excite.com)
Date: 07/31/03


Date: Thu, 31 Jul 2003 14:23:53 GMT

On Thu, 31 Jul 2003 12:34:50 +0000, Thomas Pornin wrote:

 
> -- On RISC architectures (Sparc, Alpha, PowerPC,...), careful C code can
> achieve almost the same efficiency than hand-optimized assembly. On those
> platforms, C is the way to go (with regards to assembly).

        That's not my experience, at least not on PA-RISC and IA64. Using the
same mathematical approaches, coding the arbitrary length integer
arithmetic in assembly can provide a 3x boost in the private key
operation under PA-RISC. A full, IA64 assembly language implementation of
the modular exponentiation yields even better results.



Relevant Pages

  • Re: Thou shalt have no other gods before the ANSI C standard
    ... The extra complexity from coding in a way ... > that will work even on platforms where bytes are 9 bits, ... prevent portability problems, then it is worth ...
    (sci.crypt)
  • 1 step or many lines?
    ... I'm wondering how most developers think when coding with regards to steps of ... Ant ...
    (microsoft.public.vb.general.discussion)
  • Re: Access Email Automation
    ... Best regards ... Michael Bauer - MVP Outlook ... coding skills in Access but absolutely no idea about coding in ...
    (microsoft.public.outlook.program_vba)
  • Re: Mono and D8 .NET
    ... >> VCL.NET is not supported by mono? ... > chance at portability to other .NET platforms. ... > Applications that are limited to the feature set of the .NET compact ... > Best regards, ...
    (borland.public.delphi.non-technical)
  • Re: TobjectList to TObjectList communication - code.txt (0/1)
    ... Efficiency is an interesting thing to measure. ... execution efficiency, sometime the concern is development time. ... design and coding rules, let alone ones that can be agreed upon by others. ...
    (comp.lang.pascal.delphi.misc)