Article View: borland.public.cppbuilder.nativeapi
Article #261Re: help sought, possible asm/cpu/other problem???
From: dhoke
Date: Fri, 18 Jul 2008 07:12
Date: Fri, 18 Jul 2008 07:12
32 lines
2273 bytes
2273 bytes
"Bob Gonder" <none@nowhere.invalid> wrote in message news:mg9v74tvanottpsgaa2oiqk90uktscjtnu@4ax.com... > dhoke wrote: > >>I do have to wonder if the blurb is referring to the correct >>instructions??? > > Well, as I posted earlier, it is blindingly easy to replace the lahf with > a je I added that, and still left the lahf - it still "bogus" trips, interestingly, so far with the bogus ones (there are legit ones) always in a particular address region, with varying # of filler bytes, and with remaining bytes to check 7 (cx == 0x7) more on this in another post. > >>p.s. There is a borland.public.cppbuilder.language.basm group, which I >>will >>try to remember for future use. > > Also b.p.TASM > And if you are looking for fast code, > the fastcode project posts asm in the delphi.basm group. > There I think you will find that repe scasb is slow. > Still faster than the straight-forward c version, but I suppose I could get fancier - I vaguely remember the optimizations seen in ms memcpy version (think thats where I saw movsd, except for leading/trailing bytes.) Currently not worth the effort for me.
Technical Details
Message-ID:
<48804264@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!club-internet.fr!feedme-small.clubint.net!news.isoc.lu!newsgroups.borland.com!not-for-mailReferences:
<487e5d3c$1@newsgroups.borland.com> <487f4d89@newsgroups.borland.com> <mg9v74tvanottpsgaa2oiqk90uktscjtnu@4ax.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,ced19374283c232f X-Google-Attributes: gid10cc67,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Reply-To: "dhoke" <dhoke.nojunk@east-shore.com> From: "dhoke" <dhoke.nojunk@east-shore.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <487e5d3c$1@newsgroups.borland.com> <487f4d89@newsgroups.borland.com> <mg9v74tvanottpsgaa2oiqk90uktscjtnu@4ax.com> Subject: Re: help sought, possible asm/cpu/other problem??? Date: Fri, 18 Jul 2008 03:12:02 -0400 Lines: 34 Organization: East Shore Technologies, Inc. X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 71.245.145.51 Message-ID: <48804264@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1216365156 71.245.145.51 (18 Jul 2008 00:12:36 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!club-internet.fr!feedme-small.clubint.net!news.isoc.lu!newsgroups.borland.com!not-for-mail