docs.unity3d.com
    Show / Hide Table of Contents

    Class X86.Bmi1

    bmi1 intrinsics

    Inheritance
    Object
    X86.Bmi1
    Namespace: Unity.Burst.Intrinsics
    Syntax
    public static class Bmi1 : object

    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(UInt32, UInt32)

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

    andn_u64(UInt64, UInt64)

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

    bextr_u32(UInt32, UInt32, UInt32)

    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(UInt64, UInt32, UInt32)

    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.

    bextr2_u32(UInt32, UInt32)

    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(UInt64, UInt64)

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

    blsi_u32(UInt32)

    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(UInt64)

    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(UInt32)

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

    blsmsk_u64(UInt64)

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

    blsr_u32(UInt32)

    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(UInt64)

    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(UInt32)

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

    tzcnt_u64(UInt64)

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

    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