Newsgroups: comp.os.msdos.djgpp From: Peter Berdeklis Subject: Re: MMX Message-ID: Nntp-Posting-Host: chinook.physics.utoronto.ca Sender: news AT info DOT physics DOT utoronto DOT ca (System Administrator) Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Organization: University of Toronto - Dept. of Physics In-Reply-To: Date: Fri, 7 Mar 1997 18:38:25 GMT References: Lines: 21 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp On Tue, 4 Mar 1997, Salvador Eduardo Tropea (SET) wrote: > * If you want to use MMX at 100%, you must make one of 2 things: > A) Make a very specialized optimizer, is really hard. > B) Make an extention of the C language, but will be totally non-standard. > [snip] > > If somebody makes that in the (B) fashion the best way is the use of > #pragmas but even with that is very hard because the compiler must see the > parallel operations and how to pack it in parallel MMX operations, plus the > fact that Intel is using FPU registers for that ... If these extensions to C are written they would likely be written in hand coded/massaged inline asm. In that case the compiler doesn't need to know anything about packing and parallel op's, just which registers are invalid (eg. the whole FPU stack). --------------- Peter Berdeklis Dept. of Physics, Univ. of Toronto