| View previous topic :: View next topic |
| Author |
Message |
Charalabos Michael Guest
|
|
| Back to top |
|
 |
Dennis Guest
|
Posted: Sun Dec 03, 2006 8:52 pm Post subject: Re: RELEASE: Fastcode Library 0.6.1 |
|
|
Hi
Sample does not compile.
[Pascal Fatal Error] FastCodeCharPos.pas(33): F1026 File not found:
'FastCode.inc'
Best regards
Dennis Kjaer Christensen
----------------------------------------------------------------------------
----
Jeg beskyttes af den gratis SPAMfighter til privatbrugere.
Den har indtil videre sparet mig for at få 6156 spam-mails
Betalende brugere får ikke denne besked i deres e-mails.
Hent en gratis SPAMfighter her. |
|
| Back to top |
|
 |
Charalabos Michael Guest
|
Posted: Sun Dec 03, 2006 9:52 pm Post subject: Re: RELEASE: Fastcode Library 0.6.1 |
|
|
Hello Dennis,
| Quote: | Sample does not compile.
[Pascal Fatal Error] FastCodeCharPos.pas(33): F1026 File not found:
'FastCode.inc'
|
Put the fastcode.inc into the "Sample" folder. I guess it picked
up mine from the VCL path ... |
|
| Back to top |
|
 |
Dennis Guest
|
Posted: Sun Dec 03, 2006 9:53 pm Post subject: Re: RELEASE: Fastcode Library 0.6.1 |
|
|
Hi
| Quote: | Put the fastcode.inc into the "Sample" folder. I guess it picked
up mine from the VCL path ...
|
I simply added the folder to the search path and then it was ok.
Best regards
Dennis Kjaer Christensen
----------------------------------------------------------------------------
----
Jeg beskyttes af den gratis SPAMfighter til privatbrugere.
Den har indtil videre sparet mig for at fa 6156 spam-mails
Betalende brugere far ikke denne besked i deres e-mails.
Hent en gratis SPAMfighter her. |
|
| Back to top |
|
 |
Bart van der Werf Guest
|
Posted: Sun Dec 03, 2006 10:31 pm Post subject: Re: RELEASE: Fastcode Library 0.6.1 |
|
|
Great, i'll try it tomorrow.
does this release also fix the issue with needing the rebuild instead of
compile ? or else you get a compiler error ?
something with an unused default function argument ?
grt, Bart |
|
| Back to top |
|
 |
Dennis Guest
|
Posted: Sun Dec 03, 2006 10:34 pm Post subject: Re: RELEASE: Fastcode Library 0.6.1 |
|
|
Hi Bart
Yes that is fixed.
Best regards
Dennis Kjaer Christensen
----------------------------------------------------------------------------
----
Jeg beskyttes af den gratis SPAMfighter til privatbrugere.
Den har indtil videre sparet mig for at få 6156 spam-mails
Betalende brugere får ikke denne besked i deres e-mails.
Hent en gratis SPAMfighter her. |
|
| Back to top |
|
 |
Dennis Guest
|
Posted: Sun Dec 03, 2006 10:56 pm Post subject: Re: RELEASE: Fastcode Library 0.6.1 |
|
|
Hi
I would like to test the library under some of our B&V's. Lets use UpperCase
as an example.
I unzip UpperCaseBV364.zip into a folder and the
FastCode.Libraries-0.6.1.zip into the same folder. The two files named
FastcodeCPUIDBV.pas cannot coexist.
Open the UpperCase . dpr and compile - OK.
Add the Fastcode lib and problems starts. The problem is that the CPUID unit
used in the B&V is a different version than that used in the library. Having
the two files in separate folders will also create problems.
Best regards
Dennis Kjaer Christensen
----------------------------------------------------------------------------
----
Jeg beskyttes af den gratis SPAMfighter til privatbrugere.
Den har indtil videre sparet mig for at få 6156 spam-mails
Betalende brugere får ikke denne besked i deres e-mails.
Hent en gratis SPAMfighter her. |
|
| Back to top |
|
 |
Dennis Guest
|
Posted: Mon Dec 04, 2006 2:22 am Post subject: Re: RELEASE: Fastcode Library 0.6.1 |
|
|
Hi
I validated and benchmarked UpperCase via the B&V and everything is as
expected on Opteron, Win XP.
Using the default library patching mode.
Best regards
Dennis Kjaer Christensen
----------------------------------------------------------------------------
----
Jeg beskyttes af den gratis SPAMfighter til privatbrugere.
Den har indtil videre sparet mig for at få 6156 spam-mails
Betalende brugere får ikke denne besked i deres e-mails.
Hent en gratis SPAMfighter her. |
|
| Back to top |
|
 |
Tommi Prami Guest
|
Posted: Mon Dec 04, 2006 8:49 pm Post subject: Re: RELEASE: Fastcode Library 0.6.1 |
|
|
| Quote: | - Fixed Delphi 6 compilation problems
|
Small problems...
I needed to compile Delhi6 in the Define in the project options, that is
fine.
FastCodePos.pas did not compile
Reference to the StrUtils.PosExe(...)
Now many units uses the PosEx in Inc file. Why not put as public one
proc/challenge to the Fastcode.pas and patch that also. Then all should
use one selected to be the fasted or whatever. Not there is ASM code
even if someone would like to use pure pascal all over the code...
-TP- |
|
| Back to top |
|
 |
Charalabos Michael Guest
|
Posted: Mon Dec 04, 2006 10:58 pm Post subject: Re: RELEASE: Fastcode Library 0.6.1 |
|
|
Hello Tommi,
| Quote: | Small problems...
I needed to compile Delhi6 in the Define in the project options, that is
fine.
FastCodePos.pas did not compile
Reference to the StrUtils.PosExe(...)
Now many units uses the PosEx in Inc file. Why not put as public one
proc/challenge to the Fastcode.pas and patch that also. Then all should
use one selected to be the fasted or whatever. Not there is ASM code
even if someone would like to use pure pascal all over the code...
|
Could you post me the "error" message ?
Thank you |
|
| Back to top |
|
 |
Tommi Prami Guest
|
Posted: Tue Dec 05, 2006 9:11 am Post subject: Re: RELEASE: Fastcode Library 0.6.1 |
|
|
FastcodePosUnit.pas(380): Endeclared identifier: 'PosEx'
Charalabos Michael wrote:
| Quote: | Hello Tommi,
Small problems...
I needed to compile Delhi6 in the Define in the project options, that
is fine.
FastCodePos.pas did not compile
Reference to the StrUtils.PosExe(...)
Now many units uses the PosEx in Inc file. Why not put as public one
proc/challenge to the Fastcode.pas and patch that also. Then all
should use one selected to be the fasted or whatever. Not there is ASM
code even if someone would like to use pure pascal all over the code...
Could you post me the "error" message ?
Thank you |
|
|
| Back to top |
|
 |
Bart van der Werf Guest
|
Posted: Fri Dec 08, 2006 3:57 pm Post subject: Re: RELEASE: Fastcode Library 0.6.1 |
|
|
I'm seeing that using fastcode does do more then simply optimize an
application,
If i include it while profiling with aqtime it fails, any ideas ? |
|
| Back to top |
|
 |
Andreas Hausladen Guest
|
Posted: Sun Dec 10, 2006 4:58 pm Post subject: Re: RELEASE: Fastcode Library 0.6.1 |
|
|
Some files have unix line breaks.
--
Regards,
Andreas Hausladen |
|
| Back to top |
|
 |
Andreas Hausladen Guest
|
Posted: Sun Dec 10, 2006 6:34 pm Post subject: Re: RELEASE: Fastcode Library 0.6.1 |
|
|
The units AnsiStringReplaceJOHPASUnit12.pas,
AnsiStringReplaceJOHIA32Unit13.pas and AnsiStringReplaceJOHIA32Unit12.pas
do not include {$I Fastcode.inc} which causes the files to fail under
Delphi 7.
Furthermore AnsiStringReplaceJOHIA32Unit12.pas does not compile under
Delphi 6 and 7 because the D7PosEx.inc file is included multiple times.
This "code" could replace the exising iD7PosEx.inc inclusion in
AnsiStringReplaceJOHIA32Unit12.
{$IFDEF Delphi4}
{$IFNDEF Delphi9}
{$I D7PosEx.inc}
{$ENDIF}
{$ENDIF}
--
Regards,
Andreas Hausladen |
|
| Back to top |
|
 |
Andreas Hausladen Guest
|
Posted: Sun Dec 10, 2006 6:39 pm Post subject: Re: RELEASE: Fastcode Library 0.6.1 |
|
|
The function Pos_JOH_PAS_6 in FastcodePosUnit does not compile in Delphi 6
because Sysutils.PosEx is used that does not exist in Delphi 6.
--
Regards,
Andreas Hausladen |
|
| Back to top |
|
 |
|