Re: FastCode RTL Replacement v0.20 Released!



Hi John

> > Are you suggesting that where the same function is the winner on more
than
> > one target, that we completely dupliicate the function (where absolutely
> > no
> > code should be required).
>
> Ok, we are discussing the direct calling unit only.
>
> My opinion about not unnecessarily duplicating functions (for the reasons
> given in my previous meesage) do still apply

No they do not, because there is no way in Pascal to have to function
interfaces pointing at the same implementation.

You suggest using function pointers which is not an option in a library with
flat function calls.

This is an option in "CPUID..." and "Patching..."

In "conditional compilation" you can easily have the same function compiled
as implementation in more targets.

For your logic to apply we must abandon the current library design regarding
"Direct calling...".

Regards
Dennis


.



Relevant Pages

  • Re: FastCode RTL Replacement v0.20 Released!
    ... > Are you suggesting that where the same function is the winner on more than ... > one target, that we completely dupliicate the function (where absolutely ...
    (borland.public.delphi.language.basm)
  • Re: FastCode RTL Replacement v0.20 Released!
    ... > Hi John ... that we completely dupliicate the function (where absolutely ... pointer and assigning is to the correct implementation does (with no code ... particular target, ...
    (borland.public.delphi.language.basm)
  • Re: Fastcode Library - Modes
    ... {$DEFINE FastcodeMMX} ... the 0.3 library hadn't any target specific definition. ... Conditional compilation is also supported. ... Compiler directives are named: ...
    (borland.public.delphi.language.basm)