X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: "Bob W" Newsgroups: comp.os.msdos.djgpp Subject: Re: Sequence points, any? Date: 5 Apr 2006 17:40:45 -0700 Organization: http://groups.google.com Lines: 25 Message-ID: <1144284045.083854.45700@i39g2000cwa.googlegroups.com> References: <1144238453 DOT 674596 DOT 302360 AT z34g2000cwc DOT googlegroups DOT com> <49i0u7Foq6jlU1 AT news DOT dfncis DOT de> NNTP-Posting-Host: 84.102.38.22 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1144284050 17147 127.0.0.1 (6 Apr 2006 00:40:50 GMT) X-Complaints-To: groups-abuse AT google DOT com NNTP-Posting-Date: Thu, 6 Apr 2006 00:40:50 +0000 (UTC) User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727),gzip(gfe),gzip(gfe) Complaints-To: groups-abuse AT google DOT com Injection-Info: i39g2000cwa.googlegroups.com; posting-host=84.102.38.22; posting-account=CXf2IQ0AAADhHwR4LIBYSPHMQKV3cPd3 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Thank you very much for your post. That was pretty good analysis, which was also good enough to remove my remaining doubts about the new way gcc is handling the kind of code mentioned in this thread. > > If gcc's out-of-sequence optimisation is prevented > > by using one of the methods mentioned previously, > > the program actually executes a touch faster. > > ... on the CPU you tried it on. Which may not be the one it was > optimizing for. I presume that you are not referring to specific submodel targets here (e.g. P3, P4, etc.). You probably have meant to tell me that gcc's general compile method gets tuned torwards hyperthreading capable targets - and gcc sticks to its new way of handling things regardless whether a "vintage target" like the P3 is specified in the command line option or not. Did I get this right?