Cleanup: Remove special code for Visual Studio 2008.

Goodbye VC2008, it has been a pleasure (more or less) :D SCons / CMake cleaenup will follow.
Differential Revision: https://developer.blender.org/D715
This commit is contained in:
Thomas Dinges
2014-08-07 13:51:05 +02:00
parent f82dda557c
commit e3ed13cbd4
15 changed files with 7 additions and 181 deletions

View File

@@ -76,17 +76,6 @@ CCL_NAMESPACE_BEGIN
#ifdef _WIN32
#ifndef __KERNEL_GPU__
#if defined(_MSC_VER) && (_MSC_VER < 1800)
# define copysignf(x, y) ((float)_copysign(x, y))
# define hypotf(x, y) _hypotf(x, y)
# define isnan(x) _isnan(x)
# define isfinite(x) _finite(x)
#endif
#endif
#ifndef __KERNEL_OPENCL__
ccl_device_inline float fmaxf(float a, float b)

View File

@@ -69,13 +69,6 @@
#define WITH_CYCLES_OPTIMIZED_KERNEL_AVX2
#endif
/* MSVC 2008, no SSE41 (broken blendv intrinsic) and no AVX support */
#if defined(_MSC_VER) && (_MSC_VER < 1700)
#undef WITH_CYCLES_OPTIMIZED_KERNEL_SSE41
#undef WITH_CYCLES_OPTIMIZED_KERNEL_AVX
#undef WITH_CYCLES_OPTIMIZED_KERNEL_AVX2
#endif
#endif
/* SSE Experiment