Mail Archives: djgpp/1997/03/10/04:56:29
Peter Berdeklis (peter AT atmosp DOT physics DOT utoronto DOT ca) writes:
> 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).
In other words, the minimal MMX support would be just to add to inline asm
the ability to specify "%MMX" as one of The Clobbered to mean the FPU
registers.
--
.*. Where feelings are concerned, answers are rarely simple [GeneDeWeese]
-() < When I go to the theater, I always go straight to the "bag and mix"
`*' bulk candy section...because variety is the spice of life... [me]
Paul Derbyshire ao950 AT freenet DOT carleton DOT ca, http://chat.carleton.ca/~pderbysh
- Raw text -