PintS  0.1
Portable Intrinsics for SIMD
 All Data Structures Files Functions Groups
Related Functions
v1f Struct Reference

Type for the manipulation of 1 float packed into one single vector. More...

#include <pints-doc.h>

Related Functions

(Note that these are not member functions.)

v1f v1f_load (const float *p)
 Loads 1 float from memory into a v1f vector. More...
 
v1f v1f_loadu (const float *p)
 Loads 1 float from memory into a v1f vector. More...
 
v1f v1f_load1 (const float *p)
 Loads 1 float from memory and broadcasts it into a v1f vector. More...
 
void v1f_store (float *p, v1f a)
 Stores a v1f vector into memory. More...
 
void v1f_storeu (float *p, v1f a)
 Stores a v1f vector into memory. More...
 
void v1f_store1 (float *p, v1f a)
 Stores the first element of a v1f vector into memory. More...
 
v1f v1f_set (float v0)
 Sets the elements of a v1f vector. More...
 
v1f v1f_rset (float v0)
 Sets the elements of a v1f vector (reverse order). More...
 
v1f v1f_set1 (float v)
 Broadcasts a single value into all elements of a v1f vector. More...
 
v1f v1f_zeros ()
 Sets all bits to 0. More...
 
v1f v1f_ones ()
 Sets all bits to 1. More...
 
v1f v1f_zero ()
 Sets all elements to 0. More...
 
v1f v1f_one ()
 Sets all elements to 1. More...
 
m1f m1f_eq (v1f a, v1f b)
 Compares the equality of the two input vectors. More...
 
m1f m1f_neq (v1f a, v1f b)
 Compares the inequality of the two input vectors. More...
 
m1f m1f_gt (v1f a, v1f b)
 Compares if elements of a are greater than those of b. More...
 
m1f m1f_geq (v1f a, v1f b)
 Compares if elements of a are greater than or equal to those of b. More...
 
m1f m1f_lt (v1f a, v1f b)
 Compares if elements of a are less than those of b. More...
 
m1f m1f_leq (v1f a, v1f b)
 Compares if elements of a are less than or equal to those of b. More...
 
m1f m1f_and (m1f a, m1f b)
 Bitwise and ( a & b ) More...
 
m1f m1f_or (m1f a, m1f b)
 Bitwise or ( a | b ) More...
 
m1f m1f_xor (m1f a, m1f b)
 Bitwise xor ( a ^ b ) More...
 
m1f m1f_not (m1f a)
 Bitwise not ( ~a ) More...
 
m1f m1f_nand (m1f a, m1f b)
 Bitwise nand ( ~(a & b) ) More...
 
m1f m1f_nor (m1f a, m1f b)
 Bitwise nor ( ~(a | b) ) More...
 
m1f m1f_nxor (m1f a, m1f b)
 Bitwise nxor ( ~(a ^ b) ) More...
 
m1f m1f_andnot (m1f a, m1f b)
 Bitwise andnot ( a & ~b ) More...
 
m1f m1f_ornot (m1f a, m1f b)
 Bitwise ornot ( a | ~b ) More...
 
v1f v1f_eq (v1f a, v1f b)
 Compares the equality of the two input vectors. More...
 
v1f v1f_neq (v1f a, v1f b)
 Compares the inequality of the two input vectors. More...
 
v1f v1f_gt (v1f a, v1f b)
 Compares if elements of a are greater than those of b. More...
 
v1f v1f_geq (v1f a, v1f b)
 Compares if elements of a are greater than or equal to those of b. More...
 
v1f v1f_lt (v1f a, v1f b)
 Compares if elements of a are less than those of b. More...
 
v1f v1f_leq (v1f a, v1f b)
 Compares if elements of a are less than or equal to those of b. More...
 
v1f v1f_and (v1f a, v1f b)
 Bitwise and ( a & b ) More...
 
v1f v1f_or (v1f a, v1f b)
 Bitwise or ( a | b ) More...
 
v1f v1f_xor (v1f a, v1f b)
 Bitwise xor ( a ^ b ) More...
 
v1f v1f_not (v1f a)
 Bitwise not ( ~a ) More...
 
v1f v1f_nand (v1f a, v1f b)
 Bitwise nand ( ~(a & b) ) More...
 
v1f v1f_nor (v1f a, v1f b)
 Bitwise nor ( ~(a | b) ) More...
 
v1f v1f_nxor (v1f a, v1f b)
 Bitwise nxor ( ~(a ^ b) ) More...
 
v1f v1f_andnot (v1f a, v1f b)
 Bitwise andnot ( a & ~b ) More...
 
v1f v1f_ornot (v1f a, v1f b)
 Bitwise ornot ( a | ~b ) More...
 
v1f v1f_add (v1f a, v1f b)
 Elementwise addition ( a + b ) More...
 
v1f v1f_sub (v1f a, v1f b)
 Elementwise subtraction ( a - b ) More...
 
v1f v1f_neg (v1f a)
 Elementwise negation ( -a ) More...
 
v1f v1f_min (v1f a, v1f b)
 Elementwise min ( a < b ? a : b ) More...
 
v1f v1f_max (v1f a, v1f b)
 Elementwise max ( a > b ? a : b ) More...
 
v1f v1f_abs (v1f a)
 Elementwise absolute value ( a > 0 ? a : -a ) More...
 
v1f v1f_mul (v1f a, v1f b)
 Elementwise multiplication ( a * b ) More...
 
v1f v1f_div (v1f a, v1f b)
 Elementwise division ( a / b ) More...
 
v1f v1f_rcp (v1f a)
 Elementwise reciprocal ( 1 / a ) More...
 
v1f v1f_frcp (v1f a)
 Fast elementwise reciprocal ( 1 / a ) More...
 
v1f v1f_sqrt (v1f a)
 Elementwise square root ( sqrt(a) ) More...
 
v1f v1f_rsqrt (v1f a)
 Elementwise square root reciprocal ( 1 / sqrt(a) ) More...
 
v1f v1f_frsqrt (v1f a)
 Fast elementwise square root reciprocal ( 1 / sqrt(a) ) More...
 
v1f v1f_fmadd (v1f a, v1f b, v1f acc)
 Fused Multiply-Add ( (a * b) + acc ) More...
 
v1f v1f_fmsub (v1f a, v1f b, v1f acc)
 Fused Multiply-Sub ( (a * b) - acc ) More...
 
v1f v1f_fnmadd (v1f a, v1f b, v1f acc)
 Fused Multiply-Add ( -(a * b) + acc ) More...
 
v1f v1f_fnmsub (v1f a, v1f b, v1f acc)
 Fused Multiply-Add ( -(a * b) - acc ) More...
 
v1f v1f_blend1 (v1f a, v1f b, uint_fast8_t mask)
 Creates a new v1f vector whose elements are from a and b choosed by mask. More...
 
v1f v1f_blend1x1 (v1f a, v1f b, uint_fast8_t mask)
 Creates a new v1f vector whose elements are from a and b choosed by mask. More...
 
v1f v1f_blend (v1f a, v1f b, uint_fast8_t mask)
 Creates a new v1f vector whose elements are from a and b choosed by mask. More...
 
v1f v1f_hshuffle (v1f a, v1f b, uint_fast8_t rule)
 Shuffles a and b together using the control in rule. More...
 
v1f v1f_permute (v1f a, uint_fast8_t rule)
 Shuffles a using the control in rule. More...
 
v1f v1f_fshuffle (v1f a, v1f b, uint_fast8_t rule, uint_fast8_t mask)
 Fully shuffles (inner) a and b using the control in rule, and blends them together using mask. More...
 
v1f v1f_reduce_add (v1f a)
 Reduction add ( + ) More...
 
v1f v1f_reduce_add_v1f (v1f a)
 Reduction add ( + ) More...
 
v1f v1f_reduce_add_v2f (v2f a)
 Reduction add ( + ) More...
 
v1f v1f_reduce_add_v4f (v4f a)
 Reduction add ( + ) More...
 
v1f v1f_reduce_add_v8f (v8f a)
 Reduction add ( + ) More...
 
v1f v1f_reduce_add_v16f (v16f a)
 Reduction add ( + ) More...
 
v1f sf_reduce_add_v1f (v1f a)
 Reduction add ( + ) More...
 
v1f v1f_reduce_mul (v1f a)
 Reduction mul ( * ) More...
 
v1f v1f_reduce_mul_v1f (v1f a)
 Reduction mul ( * ) More...
 
v1f v1f_reduce_mul_v2f (v2f a)
 Reduction mul ( * ) More...
 
v1f v1f_reduce_mul_v4f (v4f a)
 Reduction mul ( * ) More...
 
v1f v1f_reduce_mul_v8f (v8f a)
 Reduction mul ( * ) More...
 
v1f v1f_reduce_mul_v16f (v16f a)
 Reduction mul ( * ) More...
 
v1f sf_reduce_mul_v1f (v1f a)
 Reduction mul ( * ) More...
 
v1f v1f_reduce_and (v1f a)
 Reduction and ( & ) More...
 
v1f v1f_reduce_and_v1f (v1f a)
 Reduction and ( & ) More...
 
v1f v1f_reduce_and_v2f (v2f a)
 Reduction and ( & ) More...
 
v1f v1f_reduce_and_v4f (v4f a)
 Reduction and ( & ) More...
 
v1f v1f_reduce_and_v8f (v8f a)
 Reduction and ( & ) More...
 
v1f v1f_reduce_and_v16f (v16f a)
 Reduction and ( & ) More...
 
v1f sf_reduce_and_v1f (v1f a)
 Reduction and ( & ) More...
 
v1f v1f_reduce_or (v1f a)
 Reduction or ( | ) More...
 
v1f v1f_reduce_or_v1f (v1f a)
 Reduction or ( | ) More...
 
v1f v1f_reduce_or_v2f (v2f a)
 Reduction or ( | ) More...
 
v1f v1f_reduce_or_v4f (v4f a)
 Reduction or ( | ) More...
 
v1f v1f_reduce_or_v8f (v8f a)
 Reduction or ( | ) More...
 
v1f v1f_reduce_or_v16f (v16f a)
 Reduction or ( | ) More...
 
v1f sf_reduce_or_v1f (v1f a)
 Reduction or ( | ) More...
 
v1f v1f_reduce_min (v1f a)
 Reduction min ( min ) More...
 
v1f v1f_reduce_min_v1f (v1f a)
 Reduction min ( min ) More...
 
v1f v1f_reduce_min_v2f (v2f a)
 Reduction min ( min ) More...
 
v1f v1f_reduce_min_v4f (v4f a)
 Reduction min ( min ) More...
 
v1f v1f_reduce_min_v8f (v8f a)
 Reduction min ( min ) More...
 
v1f v1f_reduce_min_v16f (v16f a)
 Reduction min ( min ) More...
 
v1f sf_reduce_min_v1f (v1f a)
 Reduction min ( min ) More...
 
v1f v1f_reduce_max (v1f a)
 Reduction max ( max ) More...
 
v1f v1f_reduce_max_v1f (v1f a)
 Reduction max ( max ) More...
 
v1f v1f_reduce_max_v2f (v2f a)
 Reduction max ( max ) More...
 
v1f v1f_reduce_max_v4f (v4f a)
 Reduction max ( max ) More...
 
v1f v1f_reduce_max_v8f (v8f a)
 Reduction max ( max ) More...
 
v1f v1f_reduce_max_v16f (v16f a)
 Reduction max ( max ) More...
 
v1f sf_reduce_max_v1f (v1f a)
 Reduction max ( max ) More...
 
v1f v1f_move (v1f a)
 Forwards the input. More...
 
v1f v1f_maskz_move (m1f mask, v1f a)
 Mask the input. More...
 
v1f v1f_mask_move (m1f mask, v1f src, v1f a)
 Mask the input. More...
 
void v1f_fprintf (FILE *file, v1f a, const char *format)
 Prints a v1f vector. More...
 
void v1f_printf (v1f a, const char *format)
 Prints a v1f vector. More...
 
void v1f_fprint (FILE *file, v1f a)
 Prints a v1f vector. More...
 
void v1f_print (v1f a)
 Prints a v1f vector. More...
 
void v1f_rfprintf (FILE *file, v1f a, const char *format)
 Prints a v1f vector (reversed order) More...
 
void v1f_rprintf (v1f a, const char *format)
 Prints a v1f vector (reversed order) More...
 
void v1f_rfprint (FILE *file, v1f a)
 Prints a v1f vector (reversed order) More...
 
void v1f_rprint (v1f a)
 Prints a v1f vector (reversed order) More...
 
v1f v1f_cast_v1d (v1d a)
 Casts a v1d vector into a v1f vector. More...
 
v1f v1f_cast_v1f (v1f a)
 Casts a v1f vector into a v1f vector. More...
 
v1f v1f_cast_v1i (v1i a)
 Casts a v1i vector into a v1f vector. More...
 
v1f v1f_cast_v1l (v1l a)
 Casts a v1l vector into a v1f vector. More...
 
v1f v1f_cast_v2d (v2d a)
 Casts a v2d vector into a v1f vector. More...
 
v1f v1f_cast_v2f (v2f a)
 Casts a v2f vector into a v1f vector. More...
 
v1f v1f_cast_v2i (v2i a)
 Casts a v2i vector into a v1f vector. More...
 
v1f v1f_cast_v2l (v2l a)
 Casts a v2l vector into a v1f vector. More...
 
v1f v1f_cast_v4d (v4d a)
 Casts a v4d vector into a v1f vector. More...
 
v1f v1f_cast_v4f (v4f a)
 Casts a v4f vector into a v1f vector. More...
 
v1f v1f_cast_v4i (v4i a)
 Casts a v4i vector into a v1f vector. More...
 
v1f v1f_cast_v4l (v4l a)
 Casts a v4l vector into a v1f vector. More...
 
v1f v1f_cast_v8d (v8d a)
 Casts a v8d vector into a v1f vector. More...
 
v1f v1f_cast_v8f (v8f a)
 Casts a v8f vector into a v1f vector. More...
 
v1f v1f_cast_v8i (v8i a)
 Casts a v8i vector into a v1f vector. More...
 
v1f v1f_cast_v8l (v8l a)
 Casts a v8l vector into a v1f vector. More...
 
v1f v1f_cast_v16f (v16f a)
 Casts a v16f vector into a v1f vector. More...
 
v1f v1f_cast_v16i (v16i a)
 Casts a v16i vector into a v1f vector. More...
 
m1f m1f_cast_v1f (v1f a)
 Casts a v1f vector into a m1f vector-mask. More...
 
v1f v1f_cast_m1f (m1f a)
 Casts a m1f vector-mask into a v1f vector. More...
 
v1f v1f_cvt_v1d (v1d a)
 Converts a v1d vector into a v1f vector. More...
 
v1f v1f_cvt_v1f (v1f a)
 Converts a v1f vector into a v1f vector. More...
 
v1f v1f_cvt_v1i (v1i a)
 Converts a v1i vector into a v1f vector. More...
 
v1f v1f_cvt_v1l (v1l a)
 Converts a v1l vector into a v1f vector. More...
 
v1f v1f_cvt_v2d (v2d a)
 Converts a v2d vector into a v1f vector. More...
 
v1f v1f_cvt_v2f (v2f a)
 Converts a v2f vector into a v1f vector. More...
 
v1f v1f_cvt_v2i (v2i a)
 Converts a v2i vector into a v1f vector. More...
 
v1f v1f_cvt_v2l (v2l a)
 Converts a v2l vector into a v1f vector. More...
 
v1f v1f_cvt_v4d (v4d a)
 Converts a v4d vector into a v1f vector. More...
 
v1f v1f_cvt_v4f (v4f a)
 Converts a v4f vector into a v1f vector. More...
 
v1f v1f_cvt_v4i (v4i a)
 Converts a v4i vector into a v1f vector. More...
 
v1f v1f_cvt_v4l (v4l a)
 Converts a v4l vector into a v1f vector. More...
 
v1f v1f_cvt_v8d (v8d a)
 Converts a v8d vector into a v1f vector. More...
 
v1f v1f_cvt_v8f (v8f a)
 Converts a v8f vector into a v1f vector. More...
 
v1f v1f_cvt_v8i (v8i a)
 Converts a v8i vector into a v1f vector. More...
 
v1f v1f_cvt_v8l (v8l a)
 Converts a v8l vector into a v1f vector. More...
 
v1f v1f_cvt_v16f (v16f a)
 Converts a v16f vector into a v1f vector. More...
 
v1f v1f_cvt_v16i (v16i a)
 Converts a v16i vector into a v1f vector. More...
 
float sf_cvt_v1d (v1d a)
 Converts the first value of a v1d vector into float. More...
 
float sf_cvt_v1f (v1f a)
 Converts the first value of a v1f vector into float. More...
 
float sf_cvt_v1i (v1i a)
 Converts the first value of a v1i vector into float. More...
 
float sf_cvt_v1l (v1l a)
 Converts the first value of a v1l vector into float. More...
 
float sf_cvt_v2d (v2d a)
 Converts the first value of a v2d vector into float. More...
 
float sf_cvt_v2f (v2f a)
 Converts the first value of a v2f vector into float. More...
 
float sf_cvt_v2i (v2i a)
 Converts the first value of a v2i vector into float. More...
 
float sf_cvt_v2l (v2l a)
 Converts the first value of a v2l vector into float. More...
 
float sf_cvt_v4d (v4d a)
 Converts the first value of a v4d vector into float. More...
 
float sf_cvt_v4f (v4f a)
 Converts the first value of a v4f vector into float. More...
 
float sf_cvt_v4i (v4i a)
 Converts the first value of a v4i vector into float. More...
 
float sf_cvt_v4l (v4l a)
 Converts the first value of a v4l vector into float. More...
 
float sf_cvt_v8d (v8d a)
 Converts the first value of a v8d vector into float. More...
 
float sf_cvt_v8f (v8f a)
 Converts the first value of a v8f vector into float. More...
 
float sf_cvt_v8i (v8i a)
 Converts the first value of a v8i vector into float. More...
 
float sf_cvt_v8l (v8l a)
 Converts the first value of a v8l vector into float. More...
 
float sf_cvt_v16f (v16f a)
 Converts the first value of a v16f vector into float. More...
 
float sf_cvt_v16i (v16i a)
 Converts the first value of a v16i vector into float. More...
 
m1f m1f_cvt_v1f (v1f a)
 Converts a v1f vector into a m1f vector-mask. More...
 
v1f v1f_cvt_m1f (m1f a)
 Converts a m1f vector-mask into a v1f vector. More...
 
m1f m1f_cvt_m1d (m1d a)
 Converts a m1d vector-mask into a m1f vector-mask. More...
 
m1f m1f_cvt_m1f (m1f a)
 Converts a m1f vector-mask into a m1f vector-mask. More...
 
m1f m1f_cvt_m1i (m1i a)
 Converts a m1i vector-mask into a m1f vector-mask. More...
 
m1f m1f_cvt_m1l (m1l a)
 Converts a m1l vector-mask into a m1f vector-mask. More...
 

Detailed Description

Type for the manipulation of 1 float packed into one single vector.

This structure does not actually exist. Depending on the target architecture, it can be:

Sizes of this vector:

Attention
This definition does not correspond to any actual implementation and should never be used directly. Use PintS functions instead.
The actual implementation depends on the target architecture.

The documentation for this struct was generated from the following file: