From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id CB1E9BB9C for ; Fri, 18 Nov 2005 02:52:55 +0100 (CET) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.201]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id jAI1qs5g008278 for ; Fri, 18 Nov 2005 02:52:55 +0100 Received: by zproxy.gmail.com with SMTP id v1so77999nzb for ; Thu, 17 Nov 2005 17:52:54 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=uvDmYeSBf321B5w4x/1HYRUixdYHpKuLirLOuPCWOQanNTpN9FZ5xBs5l5+zhRNwnoxJjypAiJqFXmveZoIy4Wf5Vo3/yV24pK1av9uMLmFwB/w+hJGuYozLoXrQ0fBzWTC2fGT6uFreNa5ODOUdAMSJMeD5kbYt4gZXlX5GSss= Received: by 10.65.236.14 with SMTP id n14mr3205298qbr; Thu, 17 Nov 2005 17:52:54 -0800 (PST) Received: by 10.65.54.11 with HTTP; Thu, 17 Nov 2005 17:52:54 -0800 (PST) Message-ID: Date: Fri, 18 Nov 2005 10:52:54 +0900 From: =?ISO-8859-1?Q?Gr=E9gory_Guyomarc=27h?= To: Erik de Castro Lopo Subject: Re: [Caml-list] doing MMX through ocaml Cc: caml-list@yquem.inria.fr In-Reply-To: <20051118104926.3d9ffdc0.ocaml-erikd@mega-nerd.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_2031_24021360.1132278774661" References: <20051118104926.3d9ffdc0.ocaml-erikd@mega-nerd.com> X-Miltered: at nez-perce with ID 437D33F6.001 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; guyomarc'h:01 caml-list:01 ocaml:01 wwwlasmea:01 jocelyn:01 serot:01 cheers:01 integers:01 val:01 val:01 caml-list:01 beginner's:01 ocaml:01 beginners:01 bug:01 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=HTML_30_40,HTML_MESSAGE, RCVD_BY_IP autolearn=disabled version=3.0.3 ------=_Part_2031_24021360.1132278774661 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline There is already a binding for Altivec instructions you might want to have = a look at: http://wwwlasmea.univ-bpclermont.fr/Personnel/Jocelyn.Serot/camlg4.html Cheers, Gregory. On 11/18/05, 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. > > Erik > -- > +-----------------------------------------------------------+ > Erik de Castro Lopo > +-----------------------------------------------------------+ > "The music business is a cruel and shallow money trench, a long > plastic hallway where thieves and pimps run free, and good men > die like dogs. There's also a negative side." > -- Hunter S. Thompson > > _______________________________________________ > Caml-list mailing list. Subscription management: > http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list > Archives: http://caml.inria.fr > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs > ------=_Part_2031_24021360.1132278774661 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline There is already a binding for Altivec instructions you might want to have = a look at:

http://wwwlasmea.univ-bpclermont.fr/Personnel/Jocelyn.Serot/camlg4= .html

Cheers,
Gregory.

On 11/18/05, Erik de Castro Lopo <ocaml-erikd@mega-nerd.com> wrote:
Jonathan Roewen wrote:

> And since MMX deals solely with integers= , the Val_long/Long_val macros
> could be implemented by a simple ext= ra MMX instruction or two, right?

All Pentium III and later processo= rs 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 SSe= 2 far more interesting than MMX.

Erik
--
+--------------------= ---------------------------------------+
  Erik de Castro Lopo
+-----------------------------------= ------------------------+
"The music business is a cruel and shallo= w money trench, a long
plastic hallway where thieves and pimps run free= , and good men
die like dogs. There's also a negative side."
   -- = Hunter S. Thompson

_______________________________________________Caml-list mailing list. Subscription management:
http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
Archives: <= a href=3D"http://caml.inria.fr">http://caml.inria.fr
Beginner's list= : http://groups.y= ahoo.com/group/ocaml_beginners
Bug reports: http://= caml.inria.fr/bin/caml-bugs

------=_Part_2031_24021360.1132278774661--