docs.unity3d.com
    Show / Hide Table of Contents

    Class X86.Popcnt

    popcnt intrinsics

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

    Properties

    Name Description
    IsPopcntSupported

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

    Burst ties popcnt support to SSE4.2 support to simplify feature sets to support.

    Methods

    Name Description
    popcnt_u32(UInt32)

    Count the number of bits set to 1 in unsigned 32-bit integer a, and return that count in dst.

    popcnt_u64(UInt64)

    Count the number of bits set to 1 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