docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method mm256_mpsadbw_epu8

    mm256_mpsadbw_epu8(v256, v256, int)

    Compute the sum of absolute differences (SADs) of quadruplets of unsigned 8-bit integers in a compared to those in b, and store the 16-bit results in dst. Eight SADs are performed for each 128-bit lane using one quadruplet from b and eight quadruplets from a. One quadruplet is selected from b starting at on the offset specified in imm8. Eight quadruplets are formed from sequential 8-bit integers selected from a starting at the offset specified in imm8.

    Declaration
    public static v256 mm256_mpsadbw_epu8(v256 a, v256 b, int imm8)
    Parameters
    Type Name Description
    v256 a

    Vector a

    v256 b

    Vector b

    int imm8

    Offset

    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)