Method cmp_ps
cmp_ps(v128, v128, Int32)
Compare packed single-precision (32-bit) floating-point elements in a and b based on the comparison operand specified by imm8, and store the results in dst.
Declaration
public static v128 cmp_ps(v128 a, v128 b, int imm8)
Parameters
Type | Name | Description |
---|---|---|
v128 | a | Vector a |
v128 | b | Vector b |
Int32 | imm8 | imm8 |
Returns
Type | Description |
---|---|
v128 | Vector |
Remarks
**** VCMPPS xmm1, xmm2, xmm3/v256, imm8 Performs a SIMD compare of the packed 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) specifies the type of comparison performed on each of the pairs of packed values. For 128-bit intrinsic function with compare predicate values in range 0-7 compiler may generate SSE2 instructions if it is warranted for performance reasons.