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

X86.Avx.cmp_ss

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 v128 cmp_ss(v128 a, v128 b, int imm8);

Parameters

Parameter Description
a Vector a
b Vector b
imm8 imm8

Returns

v128 Vector

Description

Compare the lower single-precision (32-bit) floating-point element in a and b based on the comparison operand specified by imm8, store the result in the lower element of dst, and copy the upper 3 packed elements from a to the upper elements of dst.

____ VCMPSS xmm1, xmm2, xmm3/m64, imm8 Compares the low single-precision floating-point values in the second source operand (third operand) and the first source operand (second operand) and returns the results of the comparison to the destination operand (first operand). The comparison predicate operand (immediate operand) specifies the type of comparison performed. For compare predicate values in range 0-7 compiler may generate SSE2 instructions if it is warranted for performance reasons.