| View previous topic :: View next topic |
| Author |
Message |
Charalabos Michael Guest
|
Posted: Tue May 08, 2007 4:05 am Post subject: Feature Fastcode Library additions ? |
|
|
Hello Dennis and the rest of Fastcoders,
Is there anything NEW to be added into the Fastcode Library ?
(What i know so far is the Trim function)
Thank you
--
Charalabos Michael - [Creation Power] - http://www.creationpower.gr |
|
| Back to top |
|
 |
Dennis Guest
|
Posted: Tue May 08, 2007 9:34 pm Post subject: Re: Feature Fastcode Library additions ? |
|
|
Hi Michael
2007 target winners including Core Duo 2 target winners?
Do you have a list of functions present in the library?
Best regards
Dennis Kjaer Christensen |
|
| Back to top |
|
 |
Charalabos Michael Guest
|
Posted: Wed May 09, 2007 4:08 am Post subject: Re: Feature Fastcode Library additions ? |
|
|
Hello Dennis,
| Quote: | 2007 target winners including Core Duo 2 target winners?
|
We have a new 2007 target set ready ?
| Quote: | Do you have a list of functions present in the library?
|
Let's see in 0.64 the following latest functions are included:
RTL:
FastcodeAnsiStringReplace
FastcodeCompareMem
FastcodeCompareStr
FastcodeCompareText
FastcodeFillChar
FastcodeLowerCase
FastcodePos
FastcodePosEx
FastcodeStrComp
FastcodeStrCopy
FastcodeStrIComp
FastcodeStrLen
FastcodeStrToInt32
FastcodeUpperCase
Non-RTL:
FastCodeCharPos
FastcodeGCD
FastcodeMaxInt
FastcodePosIEx
I think only Trim is missing ... ?
(and some non-RTL functions which i give lower priority)
--
Charalabos Michael - [Creation Power] - http://www.creationpower.gr |
|
| Back to top |
|
 |
Dennis Guest
|
Posted: Wed May 09, 2007 8:13 pm Post subject: Re: Feature Fastcode Library additions ? |
|
|
Hi Michael
Try look at our site. We have 49 challenges with functions for our library.
You have included only 18 functions. This means that you have included only
36% of the available functions.
These functions are not included in the library
AES
ArcCos
ArcSin
Ceil32
Ceil64
CharPosEY
CharPosIEx
CharPosRev
Floor32
Floor64
Int64Div
Int64Mul
IsPrime
MaxFP
MaxInt64
Move
Polar Complex Number Addition
Polar Complex Number Subtraction
Polar To Rectangular Format Conversion
Power
Rectangular Complex Number Addition
Rectangular Complex Number Division
Rectangular Complex Number Multiplication
Rectangular Complex Number Subtraction
Rectangular To Polar Format Conversion
RGBToBGR
Round
Round32
RoundToEx
Trunc
Trunc32
Best regards
Dennis Kjaer Christensen |
|
| Back to top |
|
 |
Dennis Guest
|
Posted: Wed May 09, 2007 8:49 pm Post subject: Re: Feature Fastcode Library additions ? |
|
|
Hi Michael
I do not think that AES is suitable for the library
AES
Min/Max needs some special attention due to the potential of inlining Pascal
functions in D2005 ->
MaxFP
MaxInt64
MaxInt
MinInt
MinInt64
MinFP
I actually forgot the Minxx functions in the first list and we have 52
challenges not 49.
Round is slower than the RTL Round and should not be included
Round
On some targets the same is true for
Trunc
We have a general problem with non updated FP spreadsheets. Because of this
we are unable to add FP functions to the library. The winners on 2007
targets are unknown.
ArcCos
ArcSin
Ceil32
Ceil64
Floor32
Floor64
Power
Polar Complex Number Addition
Polar Complex Number Subtraction
Polar To Rectangular Format Conversion
Rectangular Complex Number Addition
Rectangular Complex Number Division
Rectangular Complex Number Multiplication
Rectangular Complex Number Subtraction
Rectangular To Polar Format Conversion
Round32
Trunc32
But these functions can be included in the library without any problems.
RGBToBGR
RoundToEx
Int64Div
Int64Mul
IsPrime
Move
CharPosEY
CharPosIEx
CharPosRev
Best regards
Dennis Kjaer Christensen |
|
| Back to top |
|
 |
Charalabos Michael Guest
|
Posted: Thu May 10, 2007 12:11 am Post subject: Re: Feature Fastcode Library additions ? |
|
|
Hello Dennis,
| Quote: | We have a general problem with non updated FP spreadsheets.
Because of this we are unable to add FP functions to the library.
The winners on 2007 targets are unknown.
|
Correct!
| Quote: | But these functions can be included in the library without any problems.
RGBToBGR
RoundToEx
Int64Div
Int64Mul
IsPrime
Move
CharPosEY
CharPosIEx
CharPosRev
|
Are the above function have a completed winnner spreadsheet ?
--
Charalabos Michael - [Creation Power] - http://www.creationpower.gr |
|
| Back to top |
|
 |
Dennis Guest
|
Posted: Thu May 10, 2007 12:32 am Post subject: Re: Feature Fastcode Library additions ? |
|
|
Hi
| Quote: | Are the above function have a completed winnner spreadsheet ?
|
I think so. Have a look at our site ;-)
Best regards
Dennis Kjaer Christensen |
|
| Back to top |
|
 |
Tommi Prami Guest
|
Posted: Thu May 10, 2007 8:11 am Post subject: Re: Feature Fastcode Library additions ? |
|
|
Dennis wrote:
| Quote: | These functions are not included in the library
|
I would like to see these:
AES
Ceil32
Ceil64
CharPosEY
CharPosIEx
CharPosRev
Floor32
Floor64
Int64Div
Int64Mul
Move
Round
Round32
Trunc
Trunc32
If just there is enough potential boost (room for optimization). If
straight forward PAscal code or RTL function is clearly too slow. But I
think that if boost is very marginal on function that is rarely used is
not an good challenge, but if it's easy to make 20 times faster function
with minor effort it is good even if the function is not used in every
application.
64bit Integer handling stuff is important, because in future
applications will default to it and now we start to design applications
by using 64bit integers maybe the porting will be much easier task to do...
-TP- |
|
| Back to top |
|
 |
|