Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


mm256_blend_ps(v256, v256, int)

Blend packed single-precision (32-bit) floating-point elements from a and b using control mask imm8, and store the results in dst.
Read time 1 minuteLast updated 22 days ago

Definition

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

Parameters

Vector a

Vector b

imm8

Control mask

Returns

Type

Description

v256Vector

Remarks

____ 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