Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


vsqadds_u32(uint, int)

Unsigned saturating Accumulate of Signed value. This instruction adds the signed integer values of the vector elements in the source SIMD&FP register to corresponding unsigned integer values of the vector elements in the destination SIMD&FP register, and accumulates the resulting unsigned integer values with the vector elements of the destination SIMD&FP register.If overflow occurs with any of the results, those results are saturated. If saturation occurs, the cumulative saturation bit FPSR.QC is set.Depending on the settings in the CPACR_EL1, CPTR_EL2, and CPTR_EL3 registers, and the current Security state and Exception level, an attempt to execute the instruction might be trapped. Equivalent instruction: USQADD Sd,Sn
Read time 1 minuteLast updated 25 days ago

Definition

public static uint vsqadds_u32(uint a0, int a1)

Parameters

UInt32 a0

a1

Int32 a1

Returns

Type

Description

uintUInt32