Class X86.Sse4_2 | Burst | 1.3.9
docs.unity3d.com
    Show / Hide Table of Contents

    Class X86.Sse4_2

    SSE 4.2 intrinsics

    Inheritance
    Object
    X86.Sse4_2
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: Unity.Burst.Intrinsics
    Syntax
    public static class Sse4_2

    Properties

    IsSse42Supported

    Evaluates to true at compile time if SSE 4.2 intrinsics are supported.

    Declaration
    public static bool IsSse42Supported { get; }
    Property Value
    Type Description
    Boolean

    Methods

    cmpestra(v128, Int32, v128, Int32, Int32)

    Compare packed strings in a and b with lengths la and lb using the control in imm8, and returns 1 if b did not contain a null character and the resulting mask was zero, and 0 otherwise.

    Declaration
    public static int cmpestra(v128 a, int la, v128 b, int lb, int imm8)
    Parameters
    Type Name Description
    v128 a
    Int32 la
    v128 b
    Int32 lb
    Int32 imm8
    Returns
    Type Description
    Int32

    cmpestrc(v128, Int32, v128, Int32, Int32)

    Compare packed strings in a and b with lengths la and lb using the control in imm8, and returns 1 if the resulting mask was non-zero, and 0 otherwise.

    Declaration
    public static int cmpestrc(v128 a, int la, v128 b, int lb, int imm8)
    Parameters
    Type Name Description
    v128 a
    Int32 la
    v128 b
    Int32 lb
    Int32 imm8
    Returns
    Type Description
    Int32

    cmpestri(v128, Int32, v128, Int32, Int32)

    Compare packed strings in a and b with lengths la and lb using the control in imm8, and store the generated index in dst.

    Declaration
    public static int cmpestri(v128 a, int la, v128 b, int lb, int imm8)
    Parameters
    Type Name Description
    v128 a
    Int32 la
    v128 b
    Int32 lb
    Int32 imm8
    Returns
    Type Description
    Int32

    cmpestrm(v128, Int32, v128, Int32, Int32)

    Compare packed strings in a and b with lengths la and lb using the control in imm8, and store the generated mask in dst.

    Declaration
    public static v128 cmpestrm(v128 a, int la, v128 b, int lb, int imm8)
    Parameters
    Type Name Description
    v128 a
    Int32 la
    v128 b
    Int32 lb
    Int32 imm8
    Returns
    Type Description
    v128

    cmpestro(v128, Int32, v128, Int32, Int32)

    Compare packed strings in a and b with lengths la and lb using the control in imm8, and returns bit 0 of the resulting bit mask.

    Declaration
    public static int cmpestro(v128 a, int la, v128 b, int lb, int imm8)
    Parameters
    Type Name Description
    v128 a
    Int32 la
    v128 b
    Int32 lb
    Int32 imm8
    Returns
    Type Description
    Int32

    cmpestrs(v128, Int32, v128, Int32, Int32)

    Compare packed strings in a and b with lengths la and lb using the control in imm8, and returns 1 if any character in a was null, and 0 otherwise.

    Declaration
    public static int cmpestrs(v128 a, int la, v128 b, int lb, int imm8)
    Parameters
    Type Name Description
    v128 a
    Int32 la
    v128 b
    Int32 lb
    Int32 imm8
    Returns
    Type Description
    Int32

    cmpestrz(v128, Int32, v128, Int32, Int32)

    Compare packed strings in a and b with lengths la and lb using the control in imm8, and returns 1 if any character in b was null, and 0 otherwise.

    Declaration
    public static int cmpestrz(v128 a, int la, v128 b, int lb, int imm8)
    Parameters
    Type Name Description
    v128 a
    Int32 la
    v128 b
    Int32 lb
    Int32 imm8
    Returns
    Type Description
    Int32

    cmpgt_epi64(v128, v128)

    Declaration
    public static v128 cmpgt_epi64(v128 val1, v128 val2)
    Parameters
    Type Name Description
    v128 val1
    v128 val2
    Returns
    Type Description
    v128

    cmpistra(v128, v128, Int32)

    Compare packed strings with implicit lengths in a and b using the control in imm8, and returns 1 if b did not contain a null character and the resulting mask was zero, and 0 otherwise.

    Declaration
    public static int cmpistra(v128 a, v128 b, int imm8)
    Parameters
    Type Name Description
    v128 a
    v128 b
    Int32 imm8
    Returns
    Type Description
    Int32

    cmpistrc(v128, v128, Int32)

    Compare packed strings with implicit lengths in a and b using the control in imm8, and returns 1 if the resulting mask was non-zero, and 0 otherwise.

    Declaration
    public static int cmpistrc(v128 a, v128 b, int imm8)
    Parameters
    Type Name Description
    v128 a
    v128 b
    Int32 imm8
    Returns
    Type Description
    Int32

    cmpistri(v128, v128, Int32)

    Compare packed strings with implicit lengths in a and b using the control in imm8, and store the generated index in dst.

    Declaration
    public static int cmpistri(v128 a, v128 b, int imm8)
    Parameters
    Type Name Description
    v128 a
    v128 b
    Int32 imm8
    Returns
    Type Description
    Int32

    cmpistrm(v128, v128, Int32)

    Compare packed strings with implicit lengths in a and b using the control in imm8, and store the generated mask in dst.

    Declaration
    public static v128 cmpistrm(v128 a, v128 b, int imm8)
    Parameters
    Type Name Description
    v128 a
    v128 b
    Int32 imm8
    Returns
    Type Description
    v128

    cmpistro(v128, v128, Int32)

    Compare packed strings with implicit lengths in a and b using the control in imm8, and returns bit 0 of the resulting bit mask.

    Declaration
    public static int cmpistro(v128 a, v128 b, int imm8)
    Parameters
    Type Name Description
    v128 a
    v128 b
    Int32 imm8
    Returns
    Type Description
    Int32

    cmpistrs(v128, v128, Int32)

    Compare packed strings with implicit lengths in a and b using the control in imm8, and returns 1 if any character in a was null, and 0 otherwise.

    Declaration
    public static int cmpistrs(v128 a, v128 b, int imm8)
    Parameters
    Type Name Description
    v128 a
    v128 b
    Int32 imm8
    Returns
    Type Description
    Int32

    cmpistrz(v128, v128, Int32)

    Compare packed strings with implicit lengths in a and b using the control in imm8, and returns 1 if any character in b was null, and 0 otherwise.

    Declaration
    public static int cmpistrz(v128 a, v128 b, int imm8)
    Parameters
    Type Name Description
    v128 a
    v128 b
    Int32 imm8
    Returns
    Type Description
    Int32

    crc32_u16(UInt32, UInt16)

    Starting with the initial value in crc, accumulates a CRC32 value for unsigned 16-bit integer v, and stores the result in dst.

    Declaration
    public static uint crc32_u16(uint crc, ushort v)
    Parameters
    Type Name Description
    UInt32 crc
    UInt16 v
    Returns
    Type Description
    UInt32

    crc32_u32(UInt32, UInt32)

    Starting with the initial value in crc, accumulates a CRC32 value for unsigned 32-bit integer v, and stores the result in dst.

    Declaration
    public static uint crc32_u32(uint crc, uint v)
    Parameters
    Type Name Description
    UInt32 crc
    UInt32 v
    Returns
    Type Description
    UInt32

    crc32_u64(UInt64, Int64)

    Starting with the initial value in crc, accumulates a CRC32 value for unsigned 64-bit integer v, and stores the result in dst.

    Declaration
    public static ulong crc32_u64(ulong crc_ul, long v)
    Parameters
    Type Name Description
    UInt64 crc_ul
    Int64 v
    Returns
    Type Description
    UInt64

    crc32_u8(UInt32, Byte)

    Starting with the initial value in crc, accumulates a CRC32 value for unsigned 8-bit integer v, and stores the result in dst.

    Declaration
    public static uint crc32_u8(uint crc, byte v)
    Parameters
    Type Name Description
    UInt32 crc
    Byte v
    Returns
    Type Description
    UInt32
    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