docs.unity3d.com
    Show / Hide Table of Contents

    Method cmp_ss

    cmp_ss(v128, v128, Int32)

    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.

    Declaration
    public static v128 cmp_ss(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

    **** 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.

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023