|
Blender
V2.93
|
Go to the source code of this file.
Classes | |
| struct | avxf |
Macros | |
| #define | _mm256_set_m128(hi, lo) _mm256_insertf128_ps(_mm256_castps128_ps256(lo), (hi), 0x1) |
| #define | _mm256_loadu2_m128(hiaddr, loaddr) _mm256_set_m128(_mm_loadu_ps(hiaddr), _mm_loadu_ps(loaddr)) |
Functions | |
| __forceinline avxf | cross (const avxf &a, const avxf &b) |
| __forceinline void | dot3 (const avxf &a, const avxf &b, float &den, float &den2) |
| __forceinline const avxf | cast (const __m256i &a) |
| Unary Operators. More... | |
| __forceinline const avxf | mm256_sqrt (const avxf &a) |
| __forceinline const avxf | operator+ (const avxf &a, const avxf &b) |
| Binary Operators. More... | |
| __forceinline const avxf | operator+ (const avxf &a, const float &b) |
| __forceinline const avxf | operator+ (const float &a, const avxf &b) |
| __forceinline const avxf | operator- (const avxf &a, const avxf &b) |
| __forceinline const avxf | operator- (const avxf &a, const float &b) |
| __forceinline const avxf | operator- (const float &a, const avxf &b) |
| __forceinline const avxf | operator* (const avxf &a, const avxf &b) |
| __forceinline const avxf | operator* (const avxf &a, const float &b) |
| __forceinline const avxf | operator* (const float &a, const avxf &b) |
| __forceinline const avxf | operator/ (const avxf &a, const avxf &b) |
| __forceinline const avxf | operator/ (const avxf &a, const float &b) |
| __forceinline const avxf | operator/ (const float &a, const avxf &b) |
| __forceinline const avxf | operator| (const avxf &a, const avxf &b) |
| __forceinline const avxf | operator^ (const avxf &a, const avxf &b) |
| __forceinline const avxf | operator& (const avxf &a, const avxf &b) |
| __forceinline const avxf | max (const avxf &a, const avxf &b) |
| __forceinline const avxf | min (const avxf &a, const avxf &b) |
| __forceinline const avxf | shuffle (const avxf &a, const __m256i &shuf) |
| Movement/Shifting/Shuffling Functions. More... | |
| template<int i0, int i1, int i2, int i3, int i4, int i5, int i6, int i7> | |
| __forceinline const avxf | shuffle (const avxf &a) |
| template<size_t i0, size_t i1, size_t i2, size_t i3> | |
| __forceinline const avxf | shuffle (const avxf &a, const avxf &b) |
| template<size_t i0, size_t i1, size_t i2, size_t i3> | |
| __forceinline const avxf | shuffle (const avxf &a) |
| template<size_t i0> | |
| __forceinline const avxf | shuffle (const avxf &a, const avxf &b) |
| template<size_t i0> | |
| __forceinline const avxf | shuffle (const avxf &a) |
| template<size_t i> | |
| __forceinline float | extract (const avxf &a) |
| template<> | |
| __forceinline float | extract< 0 > (const avxf &a) |
| __forceinline ssef | low (const avxf &a) |
| __forceinline ssef | high (const avxf &a) |
| template<int i0, int i1, int i2, int i3, int i4, int i5, int i6, int i7> | |
| __forceinline const avxf | permute (const avxf &a) |
| template<int S0, int S1, int S2, int S3, int S4, int S5, int S6, int S7> | |
| ccl_device_inline const avxf | set_sign_bit (const avxf &a) |
| template<size_t S0, size_t S1, size_t S2, size_t S3, size_t S4, size_t S5, size_t S6, size_t S7> | |
| ccl_device_inline const avxf | blend (const avxf &a, const avxf &b) |
| template<size_t S0, size_t S1, size_t S2, size_t S3> | |
| ccl_device_inline const avxf | blend (const avxf &a, const avxf &b) |
| __forceinline avxf | maxi (const avxf &a, const avxf &b) |
| __forceinline avxf | mini (const avxf &a, const avxf &b) |
| __forceinline const avxf | madd (const avxf &a, const avxf &b, const avxf &c) |
| Ternary Operators. More... | |
| __forceinline const avxf | nmadd (const avxf &a, const avxf &b, const avxf &c) |
| __forceinline const avxf | msub (const avxf &a, const avxf &b, const avxf &c) |
| __forceinline const avxb | operator<= (const avxf &a, const avxf &b) |
| Comparison Operators + Select. More... | |
| __forceinline const avxf | select (const avxb &m, const avxf &t, const avxf &f) |
| __forceinline avxf | mix (const avxf &a, const avxf &b, const avxf &t) |
| Common Functions. More... | |
| #define _mm256_loadu2_m128 | ( | hiaddr, | |
| loaddr | |||
| ) | _mm256_set_m128(_mm_loadu_ps(hiaddr), _mm_loadu_ps(loaddr)) |
Definition at line 387 of file util_avxf.h.
| #define _mm256_set_m128 | ( | hi, | |
| lo | |||
| ) | _mm256_insertf128_ps(_mm256_castps128_ps256(lo), (hi), 0x1) |
Definition at line 383 of file util_avxf.h.
| ccl_device_inline const avxf blend | ( | const avxf & | a, |
| const avxf & | b | ||
| ) |
Definition at line 305 of file util_avxf.h.
References Freestyle::a.
| ccl_device_inline const avxf blend | ( | const avxf & | a, |
| const avxf & | b | ||
| ) |
Definition at line 312 of file util_avxf.h.
References Freestyle::a.
| __forceinline const avxf cast | ( | const __m256i & | a | ) |
| __forceinline avxf cross | ( | const avxf & | a, |
| const avxf & | b | ||
| ) |
Definition at line 119 of file util_avxf.h.
References Freestyle::a, and r.
Referenced by angle_signed_on_axis_normalized_v3v3_v3(), Hair::apply_transform(), bevel_list_smooth(), BKE_gpencil_stroke_2d_flat(), BM_edge_is_convex(), BM_edgeloop_calc_normal_aligned(), BM_face_calc_area_uv(), bm_face_split_by_concave(), bm_mesh_calc_volume_face(), bsdf_hair_reflection_sample(), bsdf_hair_transmission_sample(), bsdf_principled_hair_eval(), bsdf_principled_hair_sample(), bt_edge_plane(), btPrimitiveTriangle::buildTriPlane(), btTriangleShapeEx::buildTriPlane(), calcNormal(), camera_sample_panorama(), blender::compositor::check_corners(), SphereTriangleDetector::collide(), compute_face_normal(), Mesh::Triangle::compute_normal(), btRigidBody::computeImpulseDenominator(), continuousCollisionDetection(), cross_poly_v2(), ED_view3d_depth_read_cached_normal(), edbm_dupli_extrude_cursor_invoke(), edge_edge_angle_less_than_180(), edges_angle_kind(), eevee_light_setup(), BicubicPatch::eval(), fillMultiBodyConstraint(), getJs(), getVelocityInLocalPointNoDelta(), getVelocityInLocalPointObsolete(), initialize2(), internalGetVelocityInLocalPointObsolete(), MyInternalTriangleIndexCallback::internalProcessTriangleIndex(), is_edge_convex_v3(), is_poly_convex_v2(), lineIntersectsTriangle(), make_orthonormals(), make_orthonormals_tangent(), make_transform_frame(), mean_value_half_tan_v3(), modifyMesh(), motion_triangle_refine(), motion_triangle_shader_setup(), Mesh::SubdFace::normal(), btDeformableMultiBodyDynamicsWorld::performGeometricCollisions(), pointOutsideOfPlane(), primitive_tangent(), DebugDrawcallback::processTriangle(), btConnectivityProcessor::processTriangle(), btSoftBodyTriangleCallback::processTriangle(), ray_triangle_intersect(), rect_light_sample(), setupContactConstraint(), setupFrictionConstraint(), setupMultiBodyContactConstraint(), slide_check_corners(), sortCachedPoints(), spherical_stereo_transform(), svm_node_normal_map(), svm_node_set_bump(), svm_node_tangent(), svm_node_vector_displacement(), svm_vector_math(), TEST(), transform_negative_scale(), triangle_area(), triangle_light_pdf(), triangle_light_sample(), triangle_normal(), triangle_point_normal(), triangle_refine(), triangle_refine_local(), and wireframe().
| __forceinline void dot3 | ( | const avxf & | a, |
| const avxf & | b, | ||
| float & | den, | ||
| float & | den2 | ||
| ) |
Definition at line 132 of file util_avxf.h.
References Freestyle::a, avxf::m256, and t.
| __forceinline float extract | ( | const avxf & | a | ) |
Definition at line 267 of file util_avxf.h.
References Freestyle::a.
| __forceinline float extract< 0 > | ( | const avxf & | a | ) |
Definition at line 272 of file util_avxf.h.
References Freestyle::a.
Referenced by BVHObjectBinning::BVHObjectBinning(), reduce_add(), reduce_max(), and reduce_min().
| __forceinline ssef high | ( | const avxf & | a | ) |
Definition at line 281 of file util_avxf.h.
References Freestyle::a.
Referenced by BKE_ptcache_mem_index_find(), clamp_float(), clamp_uint(), distribute_binary_search(), blender::compositor::LuminanceMatteOperation::executePixelSampled(), extract_pos_nor_hq_iter_lvert_bm(), kernel_filter_construct_transform(), kernel_filter_nlm_blur(), kernel_filter_nlm_calc_weight(), kernel_filter_nlm_construct_gramian(), kernel_filter_nlm_update_output(), nlm_blur_horizontal(), p_chart_stretch_minimize(), poselib_get_free_index(), randomDouble(), btAngularLimit::set(), and setLimit().
| __forceinline ssef low | ( | const avxf & | a | ) |
Definition at line 277 of file util_avxf.h.
References Freestyle::a.
Referenced by BKE_ptcache_mem_index_find(), clamp_float(), clamp_uint(), distribute_binary_search(), blender::compositor::LuminanceMatteOperation::executePixelSampled(), kernel_filter_construct_transform(), kernel_filter_nlm_blur(), kernel_filter_nlm_calc_weight(), kernel_filter_nlm_construct_gramian(), kernel_filter_nlm_update_output(), nlm_blur_horizontal(), p_chart_stretch_minimize(), poselib_get_free_index(), randomDouble(), ray_nearest_hit(), btAngularLimit::set(), and setLimit().
| __forceinline const avxf madd | ( | const avxf & | a, |
| const avxf & | b, | ||
| const avxf & | c | ||
| ) |
Ternary Operators.
Definition at line 334 of file util_avxf.h.
References Freestyle::a, and Freestyle::c.
Referenced by mix(), ray_triangle_intersect(), TEST(), transform_direction(), and transform_point().
| __forceinline const avxf max | ( | const avxf & | a, |
| const avxf & | b | ||
| ) |
Definition at line 224 of file util_avxf.h.
References Freestyle::a, and avxf::m256.
| __forceinline avxf maxi | ( | const avxf & | a, |
| const avxf & | b | ||
| ) |
Definition at line 318 of file util_avxf.h.
References Freestyle::a.
| __forceinline const avxf min | ( | const avxf & | a, |
| const avxf & | b | ||
| ) |
Definition at line 228 of file util_avxf.h.
References Freestyle::a, and avxf::m256.
| __forceinline avxf mini | ( | const avxf & | a, |
| const avxf & | b | ||
| ) |
Definition at line 324 of file util_avxf.h.
References Freestyle::a.
| __forceinline avxf mix | ( | const avxf & | a, |
| const avxf & | b, | ||
| const avxf & | t | ||
| ) |
Common Functions.
Definition at line 377 of file util_avxf.h.
References Freestyle::a, madd(), and t.
| __forceinline const avxf mm256_sqrt | ( | const avxf & | a | ) |
| __forceinline const avxf msub | ( | const avxf & | a, |
| const avxf & | b, | ||
| const avxf & | c | ||
| ) |
Definition at line 351 of file util_avxf.h.
References Freestyle::a, and Freestyle::c.
Referenced by TEST().
| __forceinline const avxf nmadd | ( | const avxf & | a, |
| const avxf & | b, | ||
| const avxf & | c | ||
| ) |
Definition at line 343 of file util_avxf.h.
References Freestyle::a, and Freestyle::c.
Referenced by TEST().
| __forceinline const avxf operator& | ( | const avxf & | a, |
| const avxf & | b | ||
| ) |
Definition at line 219 of file util_avxf.h.
References Freestyle::a, and avxf::m256.
| __forceinline const avxf operator* | ( | const avxf & | a, |
| const avxf & | b | ||
| ) |
Definition at line 183 of file util_avxf.h.
References Freestyle::a, and avxf::m256.
| __forceinline const avxf operator* | ( | const avxf & | a, |
| const float & | b | ||
| ) |
Definition at line 187 of file util_avxf.h.
References Freestyle::a.
| __forceinline const avxf operator* | ( | const float & | a, |
| const avxf & | b | ||
| ) |
Definition at line 191 of file util_avxf.h.
References Freestyle::a.
| __forceinline const avxf operator+ | ( | const avxf & | a, |
| const avxf & | b | ||
| ) |
Binary Operators.
Definition at line 157 of file util_avxf.h.
References Freestyle::a, and avxf::m256.
| __forceinline const avxf operator+ | ( | const avxf & | a, |
| const float & | b | ||
| ) |
Definition at line 161 of file util_avxf.h.
References Freestyle::a.
| __forceinline const avxf operator+ | ( | const float & | a, |
| const avxf & | b | ||
| ) |
Definition at line 165 of file util_avxf.h.
References Freestyle::a.
| __forceinline const avxf operator- | ( | const avxf & | a, |
| const avxf & | b | ||
| ) |
Definition at line 170 of file util_avxf.h.
References Freestyle::a, and avxf::m256.
| __forceinline const avxf operator- | ( | const avxf & | a, |
| const float & | b | ||
| ) |
Definition at line 174 of file util_avxf.h.
References Freestyle::a.
| __forceinline const avxf operator- | ( | const float & | a, |
| const avxf & | b | ||
| ) |
Definition at line 178 of file util_avxf.h.
References Freestyle::a.
| __forceinline const avxf operator/ | ( | const avxf & | a, |
| const avxf & | b | ||
| ) |
Definition at line 196 of file util_avxf.h.
References Freestyle::a, and avxf::m256.
| __forceinline const avxf operator/ | ( | const avxf & | a, |
| const float & | b | ||
| ) |
Definition at line 200 of file util_avxf.h.
References Freestyle::a.
| __forceinline const avxf operator/ | ( | const float & | a, |
| const avxf & | b | ||
| ) |
Definition at line 204 of file util_avxf.h.
References Freestyle::a.
| __forceinline const avxb operator<= | ( | const avxf & | a, |
| const avxf & | b | ||
| ) |
Comparison Operators + Select.
Definition at line 363 of file util_avxf.h.
References Freestyle::a, and avxf::m256.
| __forceinline const avxf operator^ | ( | const avxf & | a, |
| const avxf & | b | ||
| ) |
Definition at line 214 of file util_avxf.h.
References Freestyle::a, and avxf::m256.
| __forceinline const avxf operator| | ( | const avxf & | a, |
| const avxf & | b | ||
| ) |
Definition at line 209 of file util_avxf.h.
References Freestyle::a, and avxf::m256.
| __forceinline const avxf permute | ( | const avxf & | a | ) |
Definition at line 287 of file util_avxf.h.
References Freestyle::a, and i1.
| __forceinline const avxf select | ( | const avxb & | m, |
| const avxf & | t, | ||
| const avxf & | f | ||
| ) |
Definition at line 368 of file util_avxf.h.
References t.
| ccl_device_inline const avxf set_sign_bit | ( | const avxf & | a | ) |
Definition at line 299 of file util_avxf.h.
References Freestyle::a.
| __forceinline const avxf shuffle | ( | const avxf & | a | ) |
Definition at line 243 of file util_avxf.h.
References Freestyle::a, and i1.
| __forceinline const avxf shuffle | ( | const avxf & | a | ) |
Definition at line 254 of file util_avxf.h.
References Freestyle::a.
| __forceinline const avxf shuffle | ( | const avxf & | a | ) |
Definition at line 262 of file util_avxf.h.
References Freestyle::a.
| __forceinline const avxf shuffle | ( | const avxf & | a, |
| const __m256i & | shuf | ||
| ) |
Movement/Shifting/Shuffling Functions.
Definition at line 237 of file util_avxf.h.
References Freestyle::a.
| __forceinline const avxf shuffle | ( | const avxf & | a, |
| const avxf & | b | ||
| ) |
Definition at line 249 of file util_avxf.h.
References Freestyle::a, and i1.
| __forceinline const avxf shuffle | ( | const avxf & | a, |
| const avxf & | b | ||
| ) |
Definition at line 258 of file util_avxf.h.
References Freestyle::a.