From: "Alexei A. Frounze" Newsgroups: comp.os.msdos.djgpp Subject: Re: THE -O2 PROBLEM Date: Sun, 30 Apr 2000 13:24:39 +0400 Organization: MTU-Intel ISP Lines: 19 Message-ID: <390BFBD7.8C94443E@mtu-net.ru> References: <38F20E7A DOT 3330E9A4 AT mtu-net DOT ru> <38F6C64E DOT C7753C6C AT mtu-net DOT ru> <8d7l3g$j3i$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE> <38F76B94 DOT 5E968BA7 AT mtu-net DOT ru> <38F78F5F DOT 25DD4C47 AT is DOT elta DOT co DOT il> <390b89b1 DOT 9812591 AT news DOT cobweb DOT com DOT au> NNTP-Posting-Host: ppp101-40.dialup.mtu-net.ru Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit X-Trace: gavrilo.mtu.ru 957086831 32284 212.188.101.40 (30 Apr 2000 09:27:11 GMT) X-Complaints-To: usenet-abuse AT mtu DOT ru NNTP-Posting-Date: 30 Apr 2000 09:27:11 GMT X-Mailer: Mozilla 4.72 [en] (Win95; I) X-Accept-Language: en,ru To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Rotes Sapiens wrote: > > I have another suggestion, perhaps it is a good idea not to optimise > asm at all? I can't see any harm in linking the asm object file into > the program without optimising it. Perhaps this should go in the FAQ? :) The preoblem was a bit different. I wanted to get my 3d engince as fast as possible and I had a lot of inline ASM because even parameter passing and calls reduce the performance... What you suggest is okay -- it will work. :) But how about efficiency? My inline ASM was not just for fun. :) bye. Alexei A. Frounze ----------------------------------------- Homepage: http://alexfru.chat.ru Mirror: http://members.xoom.com/alexfru