docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class X86.Bmi1

    bmi1 intrinsics

    Inheritance
    object
    X86.Bmi1
    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
    Assembly: Unity.Burst.dll
    Syntax
    public static class X86.Bmi1

    Properties

    Name Description
    IsBmi1Supported

    Evaluates to true at compile time if bmi1 intrinsics are supported.

    Burst ties bmi1 support to AVX2 support to simplify feature sets to support.

    Methods

    Name Description
    andn_u32(uint, uint)

    Compute the bitwise NOT of 32-bit integer a and then AND with b, and store the results in dst.

    andn_u64(ulong, ulong)

    Compute the bitwise NOT of 64-bit integer a and then AND with b, and store the results in dst.

    bextr2_u32(uint, uint)

    Extract contiguous bits from unsigned 32-bit integer a, and store the result in dst. Extract the number of bits specified by bits 15:8 of control, starting at the bit specified by bits 0:7 of control..

    bextr2_u64(ulong, ulong)

    Extract contiguous bits from unsigned 64-bit integer a, and store the result in dst. Extract the number of bits specified by bits 15:8 of control, starting at the bit specified by bits 0:7 of control..

    bextr_u32(uint, uint, uint)

    Extract contiguous bits from unsigned 32-bit integer a, and store the result in dst. Extract the number of bits specified by len, starting at the bit specified by start.

    bextr_u64(ulong, uint, uint)

    Extract contiguous bits from unsigned 64-bit integer a, and store the result in dst. Extract the number of bits specified by len, starting at the bit specified by start.

    blsi_u32(uint)

    Extract the lowest set bit from unsigned 32-bit integer a and set the corresponding bit in dst. All other bits in dst are zeroed, and all bits are zeroed if no bits are set in a.

    blsi_u64(ulong)

    Extract the lowest set bit from unsigned 64-bit integer a and set the corresponding bit in dst. All other bits in dst are zeroed, and all bits are zeroed if no bits are set in a.

    blsmsk_u32(uint)

    Set all the lower bits of dst up to and including the lowest set bit in unsigned 32-bit integer a.

    blsmsk_u64(ulong)

    Set all the lower bits of dst up to and including the lowest set bit in unsigned 64-bit integer a.

    blsr_u32(uint)

    Copy all bits from unsigned 32-bit integer a to dst, and reset (set to 0) the bit in dst that corresponds to the lowest set bit in a.

    blsr_u64(ulong)

    Copy all bits from unsigned 64-bit integer a to dst, and reset (set to 0) the bit in dst that corresponds to the lowest set bit in a.

    tzcnt_u32(uint)

    Count the number of trailing zero bits in unsigned 32-bit integer a, and return that count in dst.

    tzcnt_u64(ulong)

    Count the number of trailing zero bits in unsigned 64-bit integer a, and return that count in dst.

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)