include/arithmetic/SSEPlus_arithmetic_SSE3.h

Go to the documentation of this file.
00001 //
00002 // Copyright (c) 2006-2008 Advanced Micro Devices, Inc. All Rights Reserved.
00003 // This software is subject to the Apache v2.0 License.
00004 //
00005 #ifndef __SSEPLUS_ARITHMETIC_SSE3_H__
00006 #define __SSEPLUS_ARITHMETIC_SSE3_H__
00007 
00008 #include "../native/SSEPlus_native_SSE3.h"
00009 
00015 SSP_FORCEINLINE
00016 __m128 ssp_arithmetic_hadd4_dup_ps_SSE3( __m128 a )      // [18 cycles]                 // Sum all 4 values
00017 {
00018         a = _mm_hadd_ps( a, a );
00019         a = _mm_hadd_ps( a, a );
00020     return a;
00021 } 
00022 
00028 #endif // __SSEPLUS_ARITHMETIC_SSE2_H__

Generated on Wed May 21 13:44:11 2008 for "SSEPlus" by  doxygen 1.5.4