BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Fastcode Functions for Highlander 32 bit RTL - 2
Goto page 1, 2  Next
 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Language BASM
View previous topic :: View next topic  
Author Message
Dennis
Guest





PostPosted: Mon Mar 13, 2006 1:03 pm    Post subject: Fastcode Functions for Highlander 32 bit RTL - 2 Reply with quote



Hi

More candidates.

StrLen
GCD32
IsPrime
CharPosEy
RGBtoBGR

Fastcode GCD32 in the RTL
http://qc.borland.com/wc/qcmain.aspx?d=14400

Fastcode IsPrime in the RTL
http://qc.borland.com/wc/qcmain.aspx?d=14395

Fastcode CharPosEY in the RTL
http://qc.borland.com/wc/qcmain.aspx?d=14335

Best regards
Dennis Kjaer Christensen
Back to top
Roman Ganz
Guest





PostPosted: Mon Mar 13, 2006 2:03 pm    Post subject: Re: Fastcode Functions for Highlander 32 bit RTL - 2 Reply with quote



Hi Dennis,

the Pageadresse on the qc description are invalid, I get an 404-Error on

http://dennishomepage.gugs-cats.dk/GCDChallenge.htm
http://dennishomepage.gugs-cats.dk/IsPrimeChallenge.htm
http://dennishomepage.gugs-cats.dk/CharPosEYChallenge.htm

greets
Roman Ganz
Back to top
Dennis
Guest





PostPosted: Mon Mar 13, 2006 4:03 pm    Post subject: Re: Fastcode Functions for Highlander 32 bit RTL - 2 Reply with quote



Hi Roman

Correct.

We have moved the project to a new location.

Who volunteers to update the QC reports?

Best regards
Dennis Kjaer Christensen
Back to top
Dennis
Guest





PostPosted: Mon Mar 13, 2006 5:03 pm    Post subject: Re: Fastcode Functions for Highlander 32 bit RTL - 2 Reply with quote

Hi

Forget the link ;-)

http://fastcode.sourceforge.net/

Best regards
Dennis Kjaer Christensen
Back to top
Jouni Turunen
Guest





PostPosted: Mon Mar 13, 2006 9:03 pm    Post subject: Re: Fastcode Functions for Highlander 32 bit RTL - 2 Reply with quote

Hi Dennis,

Quote:
We have moved the project to a new location.

Who volunteers to update the QC reports?


I think that because you submitted those existing reports, only
you (or someone with sysop rights) have permissions to update those.

Regards,
Jouni

--
The Fastcode Project: http://www.fastcodeproject.org/
Back to top
Jouni Turunen
Guest





PostPosted: Mon Mar 13, 2006 9:03 pm    Post subject: Re: Fastcode Functions for Highlander 32 bit RTL - 2 Reply with quote

Hi Dennis,

Quote:

More candidates.

StrLen
GCD32
IsPrime
CharPosEy
RGBtoBGR


I already updated StrLen B&V to 2006. Will upload it and do others soon.

Regards,
Jouni

--
The Fastcode Project: http://www.fastcodeproject.org/
Back to top
Dennis
Guest





PostPosted: Tue Mar 14, 2006 8:03 am    Post subject: Re: Fastcode Functions for Highlander 32 bit RTL - 2 Reply with quote

Hi

Then I will do it.

I think that everybody can add comments.

How do I get the proper links from our frame based site?

Best regards
Dennis Kjaer Christensen
Back to top
Jouni Turunen
Guest





PostPosted: Tue Mar 14, 2006 10:03 am    Post subject: Re: Fastcode Functions for Highlander 32 bit RTL - 2 Reply with quote

Hi Dennis,

I have built 2006 versions of StrLen, GCD32, IsPrime, CharPosEy and
RGBAToBGRA. Bat system doesn't build RGBAToBGRA with range check
enabled:

Building RGBAToBGRABV_D2006_RangeOnOverflowOnOptOff.exe with D2006
Borland Delphi for Win32 compiler version 18.0
Copyright (c) 1983,2005 Borland Software Corporation
Defines.inc(56)
FastcodeCPUID.pas(546)
SystemInfoUnit.pas(548)
RGBToBGRDKCUnit.pas(1430) Warning: W1012 Constant expression violates
subrange bounds
RGBToBGRDKCUnit.pas(1430) Error: E2026 Constant expression expected
RGBToBGRDKCUnit.pas(1566) Warning: W1012 Constant expression violates
subrange bounds
RGBToBGRDKCUnit.pas(1566) Error: E2026 Constant expression expected
RGBToBGRDKCUnit.pas(1621)
MainUnit.pas(93) Fatal: F2063 Could not compile used unit
'RGBToBGRDKCUnit.pas'

What kind of fix do I need for RGBToBGRDKCUnit.pas?

Regards,
Jouni


--
The Fastcode Project: http://www.fastcodeproject.org/
Back to top
Dennis
Guest





PostPosted: Tue Mar 14, 2006 11:03 am    Post subject: Re: Fastcode Functions for Highlander 32 bit RTL - 2 Reply with quote

Hi

Is this code valid in D7, D2005 and D2006?

const
MASK1 : uInt64 = $FF00FF00FF00FF00;
MASK2 : uInt64 = $00FF000000FF0000;
MASK3 : uInt64 = $000000FF000000FF;

eg. is the uInt64 type present in D7 and D2005?

Best regards
Dennis Kjaer Christensen
Back to top
Dennis
Guest





PostPosted: Tue Mar 14, 2006 11:03 am    Post subject: Re: Fastcode Functions for Highlander 32 bit RTL - 2 Reply with quote

Hi Jouni

Remove the failing functions.

Strange that this has not been corrected earlier. Did the code compile under
D7 or D2005?

I vaguely remember that it has been discussed earlier.

Best regards
Dennis Kjaer Christensen
Back to top
Dennis
Guest





PostPosted: Tue Mar 14, 2006 11:03 am    Post subject: Re: Fastcode Functions for Highlander 32 bit RTL - 2 Reply with quote

Hi

It compiles in D2006, but D7 has a bug and I get a compile error "Constant
Expression Violates Subrange Bounds"

But D7 compiles

MASK1 : Int64 = $FF00FF00FF00FF00;
MASK2 : Int64 = $00FF00FF00FF00FF;

!!!!!!!

This must be a solution

{$IFDEF VER150}
MASK1 : Int64 = $FF00FF00FF00FF00;
MASK2 : Int64 = $00FF00FF00FF00FF;
{$ELSE}
MASK1 : uInt64 = $FF00FF00FF00FF00;
MASK2 : uInt64 = $00FF00FF00FF00FF;
{$ENDIF}

Still we have to remove the bad functions and I will have to submit new
corrected functions.

Best regards
Dennis Kjaer Christensen
Back to top
Jouni Turunen
Guest





PostPosted: Tue Mar 14, 2006 11:03 am    Post subject: Re: Fastcode Functions for Highlander 32 bit RTL - 2 Reply with quote

Hi Dennis,
Quote:

Strange that this has not been corrected earlier. Did the code compile under
D7 or D2005?

I vaguely remember that it has been discussed earlier.


Ok. I removed those. Code compiled on D7 but didn't compile on D2005
or D2006. RGBAToBGRA 1.3.0 and other four new challenges are now
uploaded to Yahoo.

Regards,
Jouni

--
The Fastcode Project: http://www.fastcodeproject.org/
Back to top
Dennis
Guest





PostPosted: Tue Mar 14, 2006 12:03 pm    Post subject: Re: Fastcode Functions for Highlander 32 bit RTL - 2 Reply with quote

Hi Jouni

Uploaded a new unit with some garbage removed, the two failing functions
removed and two new fixed versions added. Function numbers incremented.

Best regards
Dennis Kjaer Christensen
Back to top
JED
Guest





PostPosted: Wed Mar 15, 2006 3:03 am    Post subject: Re: Fastcode Functions for Highlander 32 bit RTL - 2 Reply with quote

Dennis wrote:

Quote:
How do I get the proper links from our frame based site?

If the reports are opened then they can't be modified. If they aren't
open, comments aren't added to the internal report so the links should
be in the actual report.

--
http://www.jed-software.com
http://jedqc.blogspot.com
Back to top
Jouni Turunen
Guest





PostPosted: Wed Mar 15, 2006 10:03 am    Post subject: Re: Fastcode Functions for Highlander 32 bit RTL - 2 Reply with quote

Hi Dennis,

Quote:
Uploaded a new unit with some garbage removed, the two failing functions
removed and two new fixed versions added. Function numbers incremented.


RGBAToBGRA 1.4.0 with your new unit is in Yahoo. I also uploaded some
validation results and benchmark results of Dothan, AMD X2 and
Northwood. I will upload the rest when validation run is done
(CharPosEY, GCD32, IsPrime, RGBAToBGRA and StrLen validation on AMD X2,
AMD XP, Dothan, Northwood, Pentium 3 mobile and Pentium 2)

Regards,
Jouni


--
The Fastcode Project: http://www.fastcodeproject.org/
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Language BASM All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.