[PD] [OT] SSE/MMX tips?

Mathieu Bouchard matju at artengine.ca
Thu Sep 8 08:02:16 CEST 2011


On Wed, 7 Sep 2011, Charles Henry wrote:
> On Wed, Sep 7, 2011 at 7:59 PM, Mathieu Bouchard <matju at artengine.ca> wrote:
>> On Wed, 7 Sep 2011, Mathieu Bouchard wrote:
>>> On Wed, 7 Sep 2011, Bill Gribble wrote:
>>>> So far iteration on plain floats seems to be the best I can come up with,
>>>> but HADDPS is tantalizingly close to what I want to do.  Any hints?
> Sorry, what's HADDPS?

http://www.rz.uni-karlsruhe.de/rz/docs/VTune/reference/HADDPS--Packed_Single-FP_Horizontal_Add.htm

> This is really interesting.  Your compiler probably knows how to
> optimize this kind of information.

How can you tell that ? I bet it doesn't...

What could it be doing about a scan like this, anyway ?

btw, has anyone looked at the «restrict» keyword yet ?

  _______________________________________________________________________
| Mathieu Bouchard ---- tél: +1.514.383.3801 ---- Villeray, Montréal, QC


More information about the Pd-list mailing list