Blender
V2.93
intern
cycles
kernel
kernels
cpu
filter_sse2.cpp
Go to the documentation of this file.
1
/*
2
* Copyright 2011-2017 Blender Foundation
3
*
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
* you may not use this file except in compliance with the License.
6
* You may obtain a copy of the License at
7
*
8
* http://www.apache.org/licenses/LICENSE-2.0
9
*
10
* Unless required by applicable law or agreed to in writing, software
11
* distributed under the License is distributed on an "AS IS" BASIS,
12
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
* See the License for the specific language governing permissions and
14
* limitations under the License.
15
*/
16
17
/* Optimized CPU kernel entry points. This file is compiled with SSE2
18
* optimization flags and nearly all functions inlined, while kernel.cpp
19
* is compiled without for other CPU's. */
20
21
#include "
util/util_optimization.h
"
22
23
#ifndef WITH_CYCLES_OPTIMIZED_KERNEL_SSE2
24
# define KERNEL_STUB
25
#else
26
/* SSE optimization disabled for now on 32 bit, see bug T36316. */
27
# if !(defined(__GNUC__) && (defined(i386) || defined(_M_IX86)))
28
# define __KERNEL_SSE2__
29
# endif
30
#endif
/* WITH_CYCLES_OPTIMIZED_KERNEL_SSE2 */
31
32
#include "
kernel/filter/filter.h
"
33
#define KERNEL_ARCH cpu_sse2
34
#include "
kernel/kernels/cpu/filter_cpu_impl.h
"
filter.h
filter_cpu_impl.h
util_optimization.h
Generated on Tue Jan 31 2023 14:37:24 for Blender by
doxygen
1.9.1