Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


cmp_sd(v128, v128, int)

Compare the lower double-precision (64-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 element from a to the upper element of dst.
Read time 1 minuteLast updated 13 days ago

Definition

public static v128 cmp_sd(v128 a, v128 b, int imm8)

Parameters

Vector a

Vector b

imm8

imm8

Returns

Type

Description

v128Vector

Remarks

____ VCMPSD xmm1, xmm2, xmm3/m64, imm8 Compares the low double-precision floating-point values in the second source operand (third operand) and the first source operand (second operand) and returns the results in 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.