[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [tortoisesvn] r21435 committed - Speed up FindScreenLineForViewLine using binary search

From: Oto BREZINA <otik_at_printflow.eu>
Date: Sat, 21 May 2011 20:45:01 +0200

On 2011-05-21 19:21, Stefan Küng wrote:
> On 21.05.2011 18:10, Oto BREZINA wrote:
>
>>> Please do not use assembler. It's not supported for x64 builds, it's
>> ok
>>> hard to read and with todays optimizing compilers not necessary.
>> I don't know any optimizer to be able use single instruction for
>> FindMostSignificatBit. If you know how to write it let me know. There is
>> other alternative in code though (20 instruction).
>> Will remove ASM way.
> If you really must, you can use compiler intrinsics:
> http://msdn.microsoft.com/en-us/library/5704bbxw%28VS.80%29.aspx
Not big deal here.
ok will leave it as note with alternative code
> If you use SSE2 intrinsics, make sure you have a fallback code path in
> case SSE2 is not supported on the processor.
not at this time - but will try keep in mind IF that time come
> Stefan

-- 
Oto BREZINA, Printflow s.r.o., EU
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2743396
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-05-21 20:45:13 CEST

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.