English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2009-09-27 (22:12)
From: Jon Harrop <jon@f...>
Subject: Re: [Caml-list] HLVM...
On Sunday 27 September 2009 23:09:02 David McClain wrote:
> ... remember too, in signal and image processing applications,
> converting to raw machine integers and plowing ahead is often
> counterproductive.
> Rather we need saturating arithmetic to avoid abrupt transitions on
> overflow conditions, or modulo addressing. Neither of these is native
> to SSM, and have to be synthesized. DSP chips on the other hand almost
> always offer these variations implicitly or explicitly.

Sure. That does not change the fact that unnecessarily boxing these primitive 
types severely degrades performance.

Dr Jon Harrop, Flying Frog Consultancy Ltd.