float4_t.h 513 B

12345678910111213141516171819202122
  1. /*
  2. * Copyright 2010-2012 Branimir Karadzic. All rights reserved.
  3. * License: http://www.opensource.org/licenses/BSD-2-Clause
  4. */
  5. #ifndef __BX_FLOAT4_T_H__
  6. #define __BX_FLOAT4_T_H__
  7. #include <stdint.h>
  8. #include "bx.h"
  9. #define BX_FLOAT4_INLINE BX_FORCE_INLINE
  10. #if defined(__SSE2__) || (BX_COMPILER_MSVC && (BX_ARCH_64BIT || _M_IX86_FP >= 2) )
  11. # include "float4_sse.h"
  12. #elif 0 // __ARM_NEON__
  13. # include "float4_neon.h"
  14. #else
  15. # include "float4_ref.h"
  16. #endif //
  17. #endif // __BX_FLOAT4_T_H__