caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Brian Hurt <bhurt@spnz.org>
To: Erik de Castro Lopo <ocaml-erikd@mega-nerd.com>
Cc: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] doing MMX through ocaml
Date: Thu, 17 Nov 2005 21:06:33 -0600 (CST)	[thread overview]
Message-ID: <Pine.LNX.4.63.0511172104210.24132@localhost.localdomain> (raw)
In-Reply-To: <20051118104926.3d9ffdc0.ocaml-erikd@mega-nerd.com>



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


  parent reply	other threads:[~2005-11-18  3:01 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-17 21:13 Jonathan Roewen
2005-11-17 21:47 ` Oliver Bandel
2005-11-17 21:57   ` Jonathan Roewen
2005-11-17 22:16   ` Damien Bobillot
2005-11-17 22:43     ` Daniel Bünzli
2005-11-17 22:55       ` Jonathan Roewen
2005-11-18  1:26         ` Vincenzo Ciancia
2005-11-18 10:04         ` [Caml-list] " Alessandro Baretta
2005-11-17 22:55       ` Damien Bobillot
2005-11-17 23:01 ` Vincenzo Ciancia
2005-11-17 23:49 ` [Caml-list] " Erik de Castro Lopo
2005-11-18  1:52   ` Grégory Guyomarc'h
2005-11-18  3:06   ` Brian Hurt [this message]
2005-11-18  3:29     ` Jonathan Roewen
2005-11-18 19:22     ` Ken Rose
2005-11-21  9:11       ` Sebastian Egner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.63.0511172104210.24132@localhost.localdomain \
    --to=bhurt@spnz.org \
    --cc=caml-list@yquem.inria.fr \
    --cc=ocaml-erikd@mega-nerd.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).