Fix Cycles compilation on x86, without SSE.
This commit is contained in:
parent
34e9f6b956
commit
270bbc89ec
|
@ -153,14 +153,14 @@ __forceinline bool none ( const sseb& b ) { return _mm_movemask_ps(b) == 0x
|
|||
|
||||
__forceinline size_t movemask( const sseb& a ) { return _mm_movemask_ps(a); }
|
||||
|
||||
#endif
|
||||
|
||||
ccl_device_inline void print_sseb(const char *label, const sseb &a)
|
||||
{
|
||||
printf("%s: %df %df %df %d\n",
|
||||
label, a[0], a[1], a[2], a[3]);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
CCL_NAMESPACE_END
|
||||
|
||||
#endif
|
||||
|
|
|
@ -580,8 +580,6 @@ ccl_device_inline const ssef set_sign_bit(const ssef &a)
|
|||
return a ^ cast(ssei(S1 << 31, S2 << 31, S3 << 31, S4 << 31));
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
ccl_device_inline void print_ssef(const char *label, const ssef &a)
|
||||
{
|
||||
printf("%s: %.8f %.8f %.8f %.8f\n",
|
||||
|
@ -592,6 +590,8 @@ ccl_device_inline void print_ssef(const char *label, const ssef &a)
|
|||
(double)a[3]);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
CCL_NAMESPACE_END
|
||||
|
||||
#endif
|
||||
|
|
|
@ -286,14 +286,14 @@ __forceinline void store4i_nt(void* ptr, const ssei& v) {
|
|||
#endif
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
ccl_device_inline void print_ssei(const char *label, const ssei &a)
|
||||
{
|
||||
printf("%s: %df %df %df %d\n",
|
||||
label, a[0], a[1], a[2], a[3]);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
CCL_NAMESPACE_END
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue