Version: Unity 6.6 Alpha (6000.6)
LanguageEnglish
  • C#

X86.Avx.mm256_blend_ps

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Declaration

public static v256 mm256_blend_ps(v256 a, v256 b, int imm8);

Parameters

Parameter Description
a Vector a
b Vector b
imm8 Control mask

Returns

v256 Vector

Description

Blend packed single-precision (32-bit) floating-point elements from a and b using control mask imm8, and store the results in dst.

____ VBLENDPS ymm1, ymm2, ymm3/v256, imm8 Single precision floating point values from the second source operand are conditionally merged with values from the first source operand and written to the destination. The immediate bits [7:0] determine whether the corresponding single precision floating-point value in the destination is copied from the second source or first source. If a bit in the mask, corresponding to a word, is "1", then the single-precision floating-point value in the second source operand is copied, else the value in the first source operand is copied