13#ifndef __KERNEL_NATIVE_VECTOR_TYPES__
49# ifndef __KERNEL_GPU__
79 return float4(_mm_set1_ps(f));
98 return float4(_mm_cvtepi32_ps(
i.m128));
112 return int4(_mm_cvtps_epi32(f.m128));
114 return make_int4((
int)f.x, (
int)f.y, (
int)f.z, (
int)f.w);
120#ifdef __KERNEL_PRINTF__
121 printf(
"%s: %.8f %.8f %.8f %.8f\n", label, (
double)a.x, (
double)a.y, (
double)a.z, (
double)a.w);
btGeneric6DofConstraint & operator=(btGeneric6DofConstraint &other)
SIMD_FORCE_INLINE btVector3 & operator[](int i)
Get a mutable reference to a row of the matrix as a vector.
SIMD_FORCE_INLINE const btScalar & z() const
Return the z value.
SIMD_FORCE_INLINE const btScalar & w() const
Return the w value.
#define util_assert(statement)
#define ccl_device_inline
#define ccl_try_align(...)
#define CCL_NAMESPACE_END
VecBase< float, 4 > float4
ccl_device_inline float3 make_float3(const float4 a)
ccl_device_inline void print_float4(const ccl_private char *label, const float4 a)
ccl_device_inline float4 make_float4(const float x, const float y, float z, const float w)
ccl_device_inline int4 make_int4(const float4 f)