Difference between revisions of "Tests of a SIMD version of DVector3"
From GlueXWiki
(No difference)
|
Revision as of 07:48, 4 May 2010
- SIMD (Single-Instruction Multiple-Data) instructions provide means of doing multiple calculations or manipulations of several pieces of data with a single operation
- Size of special registers is 128 bits: can do 4 single-precision floating point calculations (SSE) or 2 double-precision floating point calculations (SSE2) at the same time
- Basic arithmetic and logical operations are supported, as are square roots and reciprocal square roots
- Implemented DVector3 with SSE2 instructions
- Three pairs of coordinates: xy,yz,zx
- gcc compiler flags: -msse2 -mfpmath=sse -O2
- Compare to TVector3 on ifarml6: