Browse thread
[Caml-list] 32 bit floats, SSE instructions
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2004-06-08 (05:18) |
From: | Brandon J. Van Every <vanevery@i...> |
Subject: | RE: [Caml-list] 32 bit floats, SSE instructions |
Brian Hurt wrote: > Actually, I'd be inclined to go one step > higher, and deal with arrays of vectors in what Intel calls SoA order > (i.e. structure of arrays, instead of array of structures- so > an array of > 3-vectors would be represented by three arrays- the first > array is the x > values of all vectors, the second is the y values, etc.). This makes > maximizing the utilization of the SSE units a lot easier. At the cost of inverting almost everyone's software architecture. This is ridiculous / stupid in the real world. It's also baloney on theoretical grounds: for just how many problems do you think it's worth destrying memory coherence by putting structure elements very far apart in memory? If you only want to do SoA "for some array length, then start over," just how segmented did you think I wanted my programming model to be? SoA might make sense if a language implementation did it totally behind the scenes, presenting a seemingly AoS interface to programmers. Exposing / locking into SoA is dumb, and yes, Intel is damn dumb. You don't think they're dumb, look at their chips. They're good at fab and marketing, they make lousy tack-on "kitchen sink" chips. Cheers, www.indiegamedesign.com Brandon Van Every Seattle, WA "We live in a world of very bright people building crappy software with total shit for tools and process." - Ed Mckenzie --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.693 / Virus Database: 454 - Release Date: 5/31/2004 ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners