Intel® C++ Compiler Classic Developer Guide and Reference

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

_mm256_set1_ps

Initializes 256-bit vector with scalar single-precision floating point values. No corresponding Intel® AVX instruction.

Syntax

extern __m256 _mm256_set1_ps(float);

Arguments

float

a float32 value to be initialized into the 256-bit vector; there is one float parameter to initialize each float32 vector element

Description

Initializes a 256-bit vector with scalar single-precision floating point values (float32 values) as specified by the float parameter.

Returns

A float32 vector with all elements set to the specified scalar single-precision floating point value.