Version: Unity 6.6 Alpha (6000.6)
LanguageEnglish
  • C#

X86.Sse4_2.cmpestra

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Declaration

public static int cmpestra(v128 a, int la, v128 b, int lb, int imm8);

Parameters

Parameter Description
a Vector a
b Vector b
la Length a
lb Length b
imm8 Control

Returns

int Boolean value

Description

Compare packed strings in a and b with lengths la and lb using the control in imm8, and returns 1 if b did not contain a null character and the resulting mask was zero, and 0 otherwise.