search for: complexmultipl

Displaying 3 results from an estimated 3 matches for "complexmultipl".

Did you mean: complexmultiply
2004 Aug 06
2
[PATCH] Make SSE Run Time option.
...on is shown. For Single precision simply replace all "pd" with "ps" and "__m128d" with "__m128". //For C[] = A[] * B[] //The real and imaginary parts of A, B and C are stored in //different arrays, not interleaved inline void ComplexMultiply( __m128d *Cr, __m128d *Ci, __m128d Ar, __m128d Ai, __m128d Br, __m128d Bi ) { // http://mathworld.wolfram.com/ComplexMultiplication.html // Cr = Ar * Br - Ai * Bi...
2004 Aug 06
0
[PATCH] Make SSE Run Time option.
...is shown. For Single precision simply > replace all "pd" with "ps" and "__m128d" with "__m128". > > //For C[] = A[] * B[] > //The real and imaginary parts of A, B and C are stored in > //different arrays, not interleaved > inline void ComplexMultiply( __m128d *Cr, __m128d *Ci, > __m128d Ar, __m128d Ai, > __m128d Br, __m128d Bi ) > { > // http://mathworld.wolfram.com/ComplexMultiplication.html > // Cr = Ar * Br - Ai * Bi > // Ci = Ai * Br + Ar * Bi > > __m128d real = _mm_mul_pd( Ar, Br ); > __m1...
2004 Aug 06
5
[PATCH] Make SSE Run Time option.
> Personally, I don't think much of PNI. The complex arithmetic stuff they > added sets you up for a lot of permute overhead that is inefficient -- > especially on a processor that is already weak on permute. In my opinion, Actually, the new instructions make it possible to do complex multiplies without the need to permute and separate the add and subtract. The really useful