Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] doing MMX through ocaml
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Brian Hurt <bhurt@s...>
Subject: Re: [Caml-list] doing MMX through ocaml


On Fri, 18 Nov 2005, Erik de Castro Lopo wrote:

> Jonathan Roewen wrote:
>
>> And since MMX deals solely with integers, the Val_long/Long_val macros
>> could be implemented by a simple extra MMX instruction or two, right?
>
> All Pentium III and later processors have the SSE instruction
> set which is like MMX, but for 32 bit floats. Pentium IV and
> latter also has SSE2 which is 64 bit floats.
>
> Personally, I find SSE and SSe2 far more interesting than MMX.

I'm pretty sure you need at least SSE for MPEG.  The core function is an 
8x8 2D FFT.  You *might* be able to do in fixed point (and thus in MMX), 
but the SSE version would be a lot easier to get right.

A run time code generator would be interesting...

Brian