Intel® C++ Compiler Classic Developer Guide and Reference

ID 767249
Date 7/13/2023
Public
Document Table of Contents

_mm256_setzero_si256

Sets integer YMM registers to zero. No corresponding Intel® AVX instruction.

Syntax

extern __m256i _mm256_setzero_si256(void);

Arguments

None

Description

Sets all the elements of an integer vector to zero and returns the integer vector. This is a utility intrinsic that helps during programming.

Returns

An integer vector with all elements set to zero.