Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Originating-IP: [206.16.11.200] From: "C. J." To: cygwin AT cygwin DOT com Subject: Re: 1.3.10 memcmp() bug Date: Wed, 24 Apr 2002 12:30:14 -0700 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 24 Apr 2002 19:30:14.0749 (UTC) FILETIME=[7552B0D0:01C1EBC6] > > I wasnt sure wheter I should post about this on gcc bug report list or > > here. Anyways, it seems that using -O2 flag with gcc causes huge >slowdown > > in memcmp(). However i dont see performance drop under linux, so I >suppose > > it is cygwin issue. cygwin's gcc version may be using an outdated x86 'optimization' for memcmp. VC++ has a similar problem, see this: http://groups.google.com/groups?hl=en&threadm=ucZKhyE3BHA.1464%40tkmsftngp02&rnum=3&prev=/groups%3Fq%3Drep%2Bgroup:microsoft.public.dotnet.languages.vc%26hl%3Den%26selm%3DucZKhyE3BHA.1464%2540tkmsftngp02%26rnum%3D3 _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/