docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method mm256_mask_i32gather_epi64

    mm256_mask_i32gather_epi64(v256, void*, v128, v256, int)

    Gather 64-bit integers from memory using 32-bit indices. 64-bit elements are loaded from addresses starting at base_addr and offset by each 32-bit element in vindex (each index is scaled by the factor in scale). Gathered elements are merged into dst using mask (elements are copied from src when the highest bit is not set in the corresponding element). scale should be 1, 2, 4 or 8.

    Declaration
    public static v256 mm256_mask_i32gather_epi64(v256 src, void* base_addr, v128 vindex, v256 mask, int scale)
    Parameters
    Type Name Description
    v256 src

    Source

    void* base_addr

    Base address

    v128 vindex

    Offset

    v256 mask

    Mask

    int scale

    Index scale

    Returns
    Type Description
    v256

    Vector

    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)