AI Engine-ML Intrinsics User Guide
(v2023.2)
|
Intrinsics allowing you to perform compare and select operations on all types of vectors. More...
Intrinsics allowing you to perform compare and select operations on all types of vectors.
Vector min/max and combined intrinsics for datatype v64uint8 | |
v64uint8 | sub_lt (v64uint8 a, v64uint8 b, unsigned long long &cmp) |
Performs vector subraction (a-b) and returns the result. Also checks for which vector lanes a < b is fulfilled. More... | |
v64uint8 | sub_lt (v64uint8 a, v64uint8 b, bool sgn, unsigned long long &cmp) |
Performs vector subraction (a-b) and returns the result. Also checks for which vector lanes a < b is fulfilled. More... | |
v64uint8 | sub_ge (v64uint8 a, v64uint8 b, unsigned long long &cmp) |
Performs vector subraction (a-b) and returns the result. Also checks for which vector lanes a >= b is fulfilled. More... | |
v64uint8 | sub_ge (v64uint8 a, v64uint8 b, bool sgn, unsigned long long &cmp) |
Performs vector subraction (a-b) and returns the result. Also checks for which vector lanes a >= b is fulfilled. More... | |
v64uint8 | maxdiff_lt (v64uint8 a, v64uint8 b, unsigned long long &cmp) |
Calculates the difference between two input vectors and returns the maximum between the difference and zero. Also checks for which vector lanes a < b is fulfilled. More... | |
v64uint8 | maxdiff_lt (v64uint8 a, v64uint8 b, bool sgn, unsigned long long &cmp) |
Calculates the difference between two input vectors and returns the maximum between the difference and zero. Also checks for which vector lanes a < b is fulfilled. More... | |
v64uint8 | maxdiff (v64uint8 a, v64uint8 b) |
Calculates the difference between two input vectors and returns the maximum between the difference and zero. More... | |
v64uint8 | maxdiff (v64uint8 a, v64uint8 b, bool sgn) |
Calculates the difference between two input vectors and returns the maximum between the difference and zero. More... | |
v64uint8 | min_ge (v64uint8 a, v64uint8 b, unsigned long long &cmp) |
Calculates the minimum between two input vectors. Also checks for which vector lanes (a >= b) is fulfilled. More... | |
v64uint8 | min_ge (v64uint8 a, v64uint8 b, bool sgn, unsigned long long &cmp) |
Calculates the minimum between two input vectors. Also checks for which vector lanes (a >= b) is fulfilled. More... | |
v64uint8 | min (v64uint8 a, v64uint8 b) |
Calculates the minimum between two input vectors. More... | |
v64uint8 | min (v64uint8 a, v64uint8 b, bool sgn) |
Calculates the minimum between two input vectors. More... | |
v64uint8 | max_lt (v64uint8 a, v64uint8 b, unsigned long long &cmp) |
Calculates the maximum between two input vectors. Also checks for which vector lanes (a < b) is fulfilled. More... | |
v64uint8 | max_lt (v64uint8 a, v64uint8 b, bool sgn, unsigned long long &cmp) |
Calculates the maximum between two input vectors. Also checks for which vector lanes (a < b) is fulfilled. More... | |
v64uint8 | max (v64uint8 a, v64uint8 b) |
Calculates the maximum between two input vectors. More... | |
v64uint8 | max (v64uint8 a, v64uint8 b, bool sgn) |
Calculates the maximum between two input vectors. More... | |
Vector min/max and combined intrinsics for datatype v64int8 | |
v64int8 | sub_lt (v64int8 a, v64int8 b, unsigned long long &cmp) |
Performs vector subraction (a-b) and returns the result. Also checks for which vector lanes a < b is fulfilled. More... | |
v64int8 | sub_lt (v64int8 a, v64int8 b, bool sgn, unsigned long long &cmp) |
Performs vector subraction (a-b) and returns the result. Also checks for which vector lanes a < b is fulfilled. More... | |
v64int8 | sub_ge (v64int8 a, v64int8 b, unsigned long long &cmp) |
Performs vector subraction (a-b) and returns the result. Also checks for which vector lanes a >= b is fulfilled. More... | |
v64int8 | sub_ge (v64int8 a, v64int8 b, bool sgn, unsigned long long &cmp) |
Performs vector subraction (a-b) and returns the result. Also checks for which vector lanes a >= b is fulfilled. More... | |
v64int8 | maxdiff_lt (v64int8 a, v64int8 b, unsigned long long &cmp) |
Calculates the difference between two input vectors and returns the maximum between the difference and zero. Also checks for which vector lanes a < b is fulfilled. More... | |
v64int8 | maxdiff_lt (v64int8 a, v64int8 b, bool sgn, unsigned long long &cmp) |
Calculates the difference between two input vectors and returns the maximum between the difference and zero. Also checks for which vector lanes a < b is fulfilled. More... | |
v64int8 | maxdiff (v64int8 a, v64int8 b) |
Calculates the difference between two input vectors and returns the maximum between the difference and zero. More... | |
v64int8 | maxdiff (v64int8 a, v64int8 b, bool sgn) |
Calculates the difference between two input vectors and returns the maximum between the difference and zero. More... | |
v64int8 | min_ge (v64int8 a, v64int8 b, unsigned long long &cmp) |
Calculates the minimum between two input vectors. Also checks for which vector lanes (a >= b) is fulfilled. More... | |
v64int8 | min_ge (v64int8 a, v64int8 b, bool sgn, unsigned long long &cmp) |
Calculates the minimum between two input vectors. Also checks for which vector lanes (a >= b) is fulfilled. More... | |
v64int8 | min (v64int8 a, v64int8 b) |
Calculates the minimum between two input vectors. More... | |
v64int8 | min (v64int8 a, v64int8 b, bool sgn) |
Calculates the minimum between two input vectors. More... | |
v64int8 | max_lt (v64int8 a, v64int8 b, unsigned long long &cmp) |
Calculates the maximum between two input vectors. Also checks for which vector lanes (a < b) is fulfilled. More... | |
v64int8 | max_lt (v64int8 a, v64int8 b, bool sgn, unsigned long long &cmp) |
Calculates the maximum between two input vectors. Also checks for which vector lanes (a < b) is fulfilled. More... | |
v64int8 | max (v64int8 a, v64int8 b) |
Calculates the maximum between two input vectors. More... | |
v64int8 | max (v64int8 a, v64int8 b, bool sgn) |
Calculates the maximum between two input vectors. More... | |
Vector min/max and combined intrinsics for datatype v32uint16 | |
v32uint16 | sub_lt (v32uint16 a, v32uint16 b, unsigned int &cmp) |
Performs vector subraction (a-b) and returns the result. Also checks for which vector lanes a < b is fulfilled. More... | |
v32uint16 | sub_lt (v32uint16 a, v32uint16 b, bool sgn, unsigned int &cmp) |
Performs vector subraction (a-b) and returns the result. Also checks for which vector lanes a < b is fulfilled. More... | |
v32uint16 | sub_ge (v32uint16 a, v32uint16 b, unsigned int &cmp) |
Performs vector subraction (a-b) and returns the result. Also checks for which vector lanes a >= b is fulfilled. More... | |
v32uint16 | sub_ge (v32uint16 a, v32uint16 b, bool sgn, unsigned int &cmp) |
Performs vector subraction (a-b) and returns the result. Also checks for which vector lanes a >= b is fulfilled. More... | |
v32uint16 | maxdiff_lt (v32uint16 a, v32uint16 b, unsigned int &cmp) |
Calculates the difference between two input vectors and returns the maximum between the difference and zero. Also checks for which vector lanes a < b is fulfilled. More... | |
v32uint16 | maxdiff_lt (v32uint16 a, v32uint16 b, bool sgn, unsigned int &cmp) |
Calculates the difference between two input vectors and returns the maximum between the difference and zero. Also checks for which vector lanes a < b is fulfilled. More... | |
v32uint16 | maxdiff (v32uint16 a, v32uint16 b) |
Calculates the difference between two input vectors and returns the maximum between the difference and zero. More... | |
v32uint16 | maxdiff (v32uint16 a, v32uint16 b, bool sgn) |
Calculates the difference between two input vectors and returns the maximum between the difference and zero. More... | |
v32uint16 | min_ge (v32uint16 a, v32uint16 b, unsigned int &cmp) |
Calculates the minimum between two input vectors. Also checks for which vector lanes (a >= b) is fulfilled. More... | |
v32uint16 | min_ge (v32uint16 a, v32uint16 b, bool sgn, unsigned int &cmp) |
Calculates the minimum between two input vectors. Also checks for which vector lanes (a >= b) is fulfilled. More... | |
v32uint16 | min (v32uint16 a, v32uint16 b) |
Calculates the minimum between two input vectors. More... | |
v32uint16 | min (v32uint16 a, v32uint16 b, bool sgn) |
Calculates the minimum between two input vectors. More... | |
v32uint16 | max_lt (v32uint16 a, v32uint16 b, unsigned int &cmp) |
Calculates the maximum between two input vectors. Also checks for which vector lanes (a < b) is fulfilled. More... | |
v32uint16 | max_lt (v32uint16 a, v32uint16 b, bool sgn, unsigned int &cmp) |
Calculates the maximum between two input vectors. Also checks for which vector lanes (a < b) is fulfilled. More... | |
v32uint16 | max (v32uint16 a, v32uint16 b) |
Calculates the maximum between two input vectors. More... | |
v32uint16 | max (v32uint16 a, v32uint16 b, bool sgn) |
Calculates the maximum between two input vectors. More... | |
Vector min/max and combined intrinsics for datatype v32int16 | |
v32int16 | sub_lt (v32int16 a, v32int16 b, unsigned int &cmp) |
Performs vector subraction (a-b) and returns the result. Also checks for which vector lanes a < b is fulfilled. More... | |
v32int16 | sub_lt (v32int16 a, v32int16 b, bool sgn, unsigned int &cmp) |
Performs vector subraction (a-b) and returns the result. Also checks for which vector lanes a < b is fulfilled. More... | |
v32int16 | sub_ge (v32int16 a, v32int16 b, unsigned int &cmp) |
Performs vector subraction (a-b) and returns the result. Also checks for which vector lanes a >= b is fulfilled. More... | |
v32int16 | sub_ge (v32int16 a, v32int16 b, bool sgn, unsigned int &cmp) |
Performs vector subraction (a-b) and returns the result. Also checks for which vector lanes a >= b is fulfilled. More... | |
v32int16 | maxdiff_lt (v32int16 a, v32int16 b, unsigned int &cmp) |
Calculates the difference between two input vectors and returns the maximum between the difference and zero. Also checks for which vector lanes a < b is fulfilled. More... | |
v32int16 | maxdiff_lt (v32int16 a, v32int16 b, bool sgn, unsigned int &cmp) |
Calculates the difference between two input vectors and returns the maximum between the difference and zero. Also checks for which vector lanes a < b is fulfilled. More... | |
v32int16 | maxdiff (v32int16 a, v32int16 b) |
Calculates the difference between two input vectors and returns the maximum between the difference and zero. More... | |
v32int16 | maxdiff (v32int16 a, v32int16 b, bool sgn) |
Calculates the difference between two input vectors and returns the maximum between the difference and zero. More... | |
v32int16 | min_ge (v32int16 a, v32int16 b, unsigned int &cmp) |
Calculates the minimum between two input vectors. Also checks for which vector lanes (a >= b) is fulfilled. More... | |
v32int16 | min_ge (v32int16 a, v32int16 b, bool sgn, unsigned int &cmp) |
Calculates the minimum between two input vectors. Also checks for which vector lanes (a >= b) is fulfilled. More... | |
v32int16 | min (v32int16 a, v32int16 b) |
Calculates the minimum between two input vectors. More... | |
v32int16 | min (v32int16 a, v32int16 b, bool sgn) |
Calculates the minimum between two input vectors. More... | |
v32int16 | max_lt (v32int16 a, v32int16 b, unsigned int &cmp) |
Calculates the maximum between two input vectors. Also checks for which vector lanes (a < b) is fulfilled. More... | |
v32int16 | max_lt (v32int16 a, v32int16 b, bool sgn, unsigned int &cmp) |
Calculates the maximum between two input vectors. Also checks for which vector lanes (a < b) is fulfilled. More... | |
v32int16 | max (v32int16 a, v32int16 b) |
Calculates the maximum between two input vectors. More... | |
v32int16 | max (v32int16 a, v32int16 b, bool sgn) |
Calculates the maximum between two input vectors. More... | |
Vector min/max and combined intrinsics for datatype v16uint32 | |
v16uint32 | sub_lt (v16uint32 a, v16uint32 b, unsigned int &cmp) |
Performs vector subraction (a-b) and returns the result. Also checks for which vector lanes a < b is fulfilled. More... | |
v16uint32 | sub_lt (v16uint32 a, v16uint32 b, bool sgn, unsigned int &cmp) |
Performs vector subraction (a-b) and returns the result. Also checks for which vector lanes a < b is fulfilled. More... | |
v16uint32 | sub_ge (v16uint32 a, v16uint32 b, unsigned int &cmp) |
Performs vector subraction (a-b) and returns the result. Also checks for which vector lanes a >= b is fulfilled. More... | |
v16uint32 | sub_ge (v16uint32 a, v16uint32 b, bool sgn, unsigned int &cmp) |
Performs vector subraction (a-b) and returns the result. Also checks for which vector lanes a >= b is fulfilled. More... | |
v16uint32 | maxdiff_lt (v16uint32 a, v16uint32 b, unsigned int &cmp) |
Calculates the difference between two input vectors and returns the maximum between the difference and zero. Also checks for which vector lanes a < b is fulfilled. More... | |
v16uint32 | maxdiff_lt (v16uint32 a, v16uint32 b, bool sgn, unsigned int &cmp) |
Calculates the difference between two input vectors and returns the maximum between the difference and zero. Also checks for which vector lanes a < b is fulfilled. More... | |
v16uint32 | maxdiff (v16uint32 a, v16uint32 b) |
Calculates the difference between two input vectors and returns the maximum between the difference and zero. More... | |
v16uint32 | maxdiff (v16uint32 a, v16uint32 b, bool sgn) |
Calculates the difference between two input vectors and returns the maximum between the difference and zero. More... | |
v16uint32 | min_ge (v16uint32 a, v16uint32 b, unsigned int &cmp) |
Calculates the minimum between two input vectors. Also checks for which vector lanes (a >= b) is fulfilled. More... | |
v16uint32 | min_ge (v16uint32 a, v16uint32 b, bool sgn, unsigned int &cmp) |
Calculates the minimum between two input vectors. Also checks for which vector lanes (a >= b) is fulfilled. More... | |
v16uint32 | min (v16uint32 a, v16uint32 b) |
Calculates the minimum between two input vectors. More... | |
v16uint32 | min (v16uint32 a, v16uint32 b, bool sgn) |
Calculates the minimum between two input vectors. More... | |
v16uint32 | max_lt (v16uint32 a, v16uint32 b, unsigned int &cmp) |
Calculates the maximum between two input vectors. Also checks for which vector lanes (a < b) is fulfilled. More... | |
v16uint32 | max_lt (v16uint32 a, v16uint32 b, bool sgn, unsigned int &cmp) |
Calculates the maximum between two input vectors. Also checks for which vector lanes (a < b) is fulfilled. More... | |
v16uint32 | max (v16uint32 a, v16uint32 b) |
Calculates the maximum between two input vectors. More... | |
v16uint32 | max (v16uint32 a, v16uint32 b, bool sgn) |
Calculates the maximum between two input vectors. More... | |
Vector min/max and combined intrinsics for datatype v16int32 | |
v16int32 | sub_lt (v16int32 a, v16int32 b, unsigned int &cmp) |
Performs vector subraction (a-b) and returns the result. Also checks for which vector lanes a < b is fulfilled. More... | |
v16int32 | sub_lt (v16int32 a, v16int32 b, bool sgn, unsigned int &cmp) |
Performs vector subraction (a-b) and returns the result. Also checks for which vector lanes a < b is fulfilled. More... | |
v16int32 | sub_ge (v16int32 a, v16int32 b, unsigned int &cmp) |
Performs vector subraction (a-b) and returns the result. Also checks for which vector lanes a >= b is fulfilled. More... | |
v16int32 | sub_ge (v16int32 a, v16int32 b, bool sgn, unsigned int &cmp) |
Performs vector subraction (a-b) and returns the result. Also checks for which vector lanes a >= b is fulfilled. More... | |
v16int32 | maxdiff_lt (v16int32 a, v16int32 b, unsigned int &cmp) |
Calculates the difference between two input vectors and returns the maximum between the difference and zero. Also checks for which vector lanes a < b is fulfilled. More... | |
v16int32 | maxdiff_lt (v16int32 a, v16int32 b, bool sgn, unsigned int &cmp) |
Calculates the difference between two input vectors and returns the maximum between the difference and zero. Also checks for which vector lanes a < b is fulfilled. More... | |
v16int32 | maxdiff (v16int32 a, v16int32 b) |
Calculates the difference between two input vectors and returns the maximum between the difference and zero. More... | |
v16int32 | maxdiff (v16int32 a, v16int32 b, bool sgn) |
Calculates the difference between two input vectors and returns the maximum between the difference and zero. More... | |
v16int32 | min_ge (v16int32 a, v16int32 b, unsigned int &cmp) |
Calculates the minimum between two input vectors. Also checks for which vector lanes (a >= b) is fulfilled. More... | |
v16int32 | min_ge (v16int32 a, v16int32 b, bool sgn, unsigned int &cmp) |
Calculates the minimum between two input vectors. Also checks for which vector lanes (a >= b) is fulfilled. More... | |
v16int32 | min (v16int32 a, v16int32 b) |
Calculates the minimum between two input vectors. More... | |
v16int32 | min (v16int32 a, v16int32 b, bool sgn) |
Calculates the minimum between two input vectors. More... | |
v16int32 | max_lt (v16int32 a, v16int32 b, unsigned int &cmp) |
Calculates the maximum between two input vectors. Also checks for which vector lanes (a < b) is fulfilled. More... | |
v16int32 | max_lt (v16int32 a, v16int32 b, bool sgn, unsigned int &cmp) |
Calculates the maximum between two input vectors. Also checks for which vector lanes (a < b) is fulfilled. More... | |
v16int32 | max (v16int32 a, v16int32 b) |
Calculates the maximum between two input vectors. More... | |
v16int32 | max (v16int32 a, v16int32 b, bool sgn) |
Calculates the maximum between two input vectors. More... | |
Vector min/max and combined intrinsics for datatype v32bfloat16 | |
v32bfloat16 | min_ge (v32bfloat16 a, v32bfloat16 b, unsigned int &cmp) |
Calculates the minimum between two input vectors. Also checks for which vector lanes (a >= b) is fulfilled. More... | |
v32bfloat16 | min (v32bfloat16 a, v32bfloat16 b) |
Calculates the minimum between two input vectors. More... | |
v32bfloat16 | max_lt (v32bfloat16 a, v32bfloat16 b, unsigned int &cmp) |
Calculates the maximum between two input vectors. Also checks for which vector lanes (a < b) is fulfilled. More... | |
v32bfloat16 | max (v32bfloat16 a, v32bfloat16 b) |
Calculates the maximum between two input vectors. More... | |
Vector min/max and combined intrinsics for datatype v16float | |
unsigned int | lt (v16float v1, v16float v2) |
Vector comparison. Returns lane by lane comparison v1.lane < v2.lane. More... | |
v16float | max_lt (v16float v1, v16float v2, unsigned int &cmp) |
Vector comparison. Returns max(v1,v2) along with lane by lane comparison v1.lane0 < v2.lane0. More... | |
v16float | max (v16float v1, v16float v2) |
Vector comparison. Returns max(v1,v2) More... | |
unsigned int | ge (v16float v1, v16float v2) |
Vector comparison. Returns lane by lane comparison v1.lane >= v2.lane. More... | |
v16float | min_ge (v16float v1, v16float v2, unsigned int &cmp) |
Vector comparison. Returns min(v1,v2) along with lane by lane comparison v1.lane >= v2.lane. More... | |
v16float | min (v16float v1, v16float v2) |
Vector comparison. Returns min(v1,v2) More... | |
unsigned int | gt (v16float v1, v16float v2) |
Vector comparison. Returns lane by lane comparison v1.lane > v2.lane. More... | |
v16float | abs (v16float v1) |
absolute value of Vector. Returns abs(v1). More... | |
v16float | min_abs (v16float v1, v16float v2) |
Vector comparison. More... | |
v16float | max_abs (v16float v1, v16float v2) |
Vector comparison. More... | |
unsigned int | ge_abs (v16float v1, v16float v2) |
Vector comparison. Returns lane by lane comparison v1.lane >= abs(v2.lane) More... | |
unsigned int | lt_abs (v16float v1, v16float v2) |
Vector comparison. Returns lane by lane comparison v1.lane < abs(v2.lane) More... | |
unsigned int | operator< (v16float a, v16float b) |
unsigned int | operator>= (v16float a, v16float b) |
unsigned int | operator> (v16float a, v16float b) |
v16float | sel (v16float a, v16float b, unsigned int sel) |
Performs lane wise selection between vectors a and b. If a bit of sel if zero the lane of vector a is selected, else the lane of vector b is selected. More... | |
absolute value of Vector. Returns abs(v1).
v1 | Vector a |
Vector comparison. Returns lane by lane comparison v1.lane >= v2.lane.
v1 | Vector a |
v2 | Vector b |
Vector comparison. Returns lane by lane comparison v1.lane >= abs(v2.lane)
v1 | Vector a |
v2 | Vector b |
Vector comparison. Returns lane by lane comparison v1.lane > v2.lane.
v1 | Vector a |
v2 | Vector b |
Vector comparison. Returns lane by lane comparison v1.lane < v2.lane.
v1 | Vector a |
v2 | Vector b |
Vector comparison. Returns lane by lane comparison v1.lane < abs(v2.lane)
v1 | Vector a |
v2 | Vector b |
Vector comparison. Returns max(v1,v2)
v1 | Vector a |
v2 | Vector b |
Calculates the maximum between two input vectors.
a | Vector a |
b | Vector b |
Calculates the maximum between two input vectors.
a | Vector a |
b | Vector b |
sgn | Sign flag. If it is one, vectors a and b are signed else they are unsigned |
Calculates the maximum between two input vectors.
a | Vector a |
b | Vector b |
Calculates the maximum between two input vectors.
a | Vector a |
b | Vector b |
sgn | Sign flag. If it is one, vectors a and b are signed else they are unsigned |
v32bfloat16 max | ( | v32bfloat16 | a, |
v32bfloat16 | b | ||
) |
Calculates the maximum between two input vectors.
a | Vector a |
b | Vector b |
Calculates the maximum between two input vectors.
a | Vector a |
b | Vector b |
Calculates the maximum between two input vectors.
a | Vector a |
b | Vector b |
sgn | Sign flag. If it is one, vectors a and b are signed else they are unsigned |
Calculates the maximum between two input vectors.
a | Vector a |
b | Vector b |
Calculates the maximum between two input vectors.
a | Vector a |
b | Vector b |
sgn | Sign flag. If it is one, vectors a and b are signed else they are unsigned |
Calculates the maximum between two input vectors.
a | Vector a |
b | Vector b |
Calculates the maximum between two input vectors.
a | Vector a |
b | Vector b |
sgn | Sign flag. If it is one, vectors a and b are signed else they are unsigned |
Calculates the maximum between two input vectors.
a | Vector a |
b | Vector b |
Calculates the maximum between two input vectors.
a | Vector a |
b | Vector b |
sgn | Sign flag. If it is one, vectors a and b are signed else they are unsigned |
Vector comparison.
v1 | Vector a |
v2 | Vector b |
Vector comparison. Returns max(v1,v2) along with lane by lane comparison v1.lane0 < v2.lane0.
v1 | Vector a |
v2 | Vector b |
cmp | Result of operation a<b |
Calculates the maximum between two input vectors. Also checks for which vector lanes (a < b) is fulfilled.
a | Vector a |
b | Vector b |
sgn | Sign flag. If it is one, vectors a and b are signed else they are unsigned |
cmp | Result of: a < b |
Calculates the maximum between two input vectors. Also checks for which vector lanes (a < b) is fulfilled.
a | Vector a |
b | Vector b |
cmp | Result of: a < b |
Calculates the maximum between two input vectors. Also checks for which vector lanes (a < b) is fulfilled.
a | Vector a |
b | Vector b |
sgn | Sign flag. If it is one, vectors a and b are signed else they are unsigned |
cmp | Result of: a < b |
Calculates the maximum between two input vectors. Also checks for which vector lanes (a < b) is fulfilled.
a | Vector a |
b | Vector b |
cmp | Result of: a < b |
v32bfloat16 max_lt | ( | v32bfloat16 | a, |
v32bfloat16 | b, | ||
unsigned int & | cmp | ||
) |
Calculates the maximum between two input vectors. Also checks for which vector lanes (a < b) is fulfilled.
a | Vector a |
b | Vector b |
cmp | Result of: a < b |
Calculates the maximum between two input vectors. Also checks for which vector lanes (a < b) is fulfilled.
a | Vector a |
b | Vector b |
sgn | Sign flag. If it is one, vectors a and b are signed else they are unsigned |
cmp | Result of: a < b |
Calculates the maximum between two input vectors. Also checks for which vector lanes (a < b) is fulfilled.
a | Vector a |
b | Vector b |
cmp | Result of: a < b |
Calculates the maximum between two input vectors. Also checks for which vector lanes (a < b) is fulfilled.
a | Vector a |
b | Vector b |
sgn | Sign flag. If it is one, vectors a and b are signed else they are unsigned |
cmp | Result of: a < b |
Calculates the maximum between two input vectors. Also checks for which vector lanes (a < b) is fulfilled.
a | Vector a |
b | Vector b |
cmp | Result of: a < b |
Calculates the maximum between two input vectors. Also checks for which vector lanes (a < b) is fulfilled.
a | Vector a |
b | Vector b |
sgn | Sign flag. If it is one, vectors a and b are signed else they are unsigned |
cmp | Result of: a < b |
Calculates the maximum between two input vectors. Also checks for which vector lanes (a < b) is fulfilled.
a | Vector a |
b | Vector b |
cmp | Result of: a < b |
Calculates the maximum between two input vectors. Also checks for which vector lanes (a < b) is fulfilled.
a | Vector a |
b | Vector b |
sgn | Sign flag. If it is one, vectors a and b are signed else they are unsigned |
cmp | Result of: a < b |
Calculates the maximum between two input vectors. Also checks for which vector lanes (a < b) is fulfilled.
a | Vector a |
b | Vector b |
cmp | Result of: a < b |
Calculates the difference between two input vectors and returns the maximum between the difference and zero.
a | Vector a |
b | Vector b |
Calculates the difference between two input vectors and returns the maximum between the difference and zero.
a | Vector a |
b | Vector b |
sgn | Sign flag. If it is one, vectors a and b are signed else they are unsigned |
Calculates the difference between two input vectors and returns the maximum between the difference and zero.
a | Vector a |
b | Vector b |
Calculates the difference between two input vectors and returns the maximum between the difference and zero.
a | Vector a |
b | Vector b |
sgn | Sign flag. If it is one, vectors a and b are signed else they are unsigned |
Calculates the difference between two input vectors and returns the maximum between the difference and zero.
a | Vector a |
b | Vector b |
Calculates the difference between two input vectors and returns the maximum between the difference and zero.
a | Vector a |
b | Vector b |
sgn | Sign flag. If it is one, vectors a and b are signed else they are unsigned |
Calculates the difference between two input vectors and returns the maximum between the difference and zero.
a | Vector a |
b | Vector b |
Calculates the difference between two input vectors and returns the maximum between the difference and zero.
a | Vector a |
b | Vector b |
sgn | Sign flag. If it is one, vectors a and b are signed else they are unsigned |
Calculates the difference between two input vectors and returns the maximum between the difference and zero.
a | Vector a |
b | Vector b |
Calculates the difference between two input vectors and returns the maximum between the difference and zero.
a | Vector a |
b | Vector b |
sgn | Sign flag. If it is one, vectors a and b are signed else they are unsigned |
Calculates the difference between two input vectors and returns the maximum between the difference and zero.
a | Vector a |
b | Vector b |
Calculates the difference between two input vectors and returns the maximum between the difference and zero.
a | Vector a |
b | Vector b |
sgn | Sign flag. If it is one, vectors a and b are signed else they are unsigned |
Calculates the difference between two input vectors and returns the maximum between the difference and zero. Also checks for which vector lanes a < b is fulfilled.
a | Vector a |
b | Vector b |
sgn | Sign flag. If it is one, vectors a and b are signed else they are unsigned |
cmp | Result of: a < b |
Calculates the difference between two input vectors and returns the maximum between the difference and zero. Also checks for which vector lanes a < b is fulfilled.
a | Vector a |
b | Vector b |
cmp | Result of: a < b |
Calculates the difference between two input vectors and returns the maximum between the difference and zero. Also checks for which vector lanes a < b is fulfilled.
a | Vector a |
b | Vector b |
sgn | Sign flag. If it is one, vectors a and b are signed else they are unsigned |
cmp | Result of: a < b |
Calculates the difference between two input vectors and returns the maximum between the difference and zero. Also checks for which vector lanes a < b is fulfilled.
a | Vector a |
b | Vector b |
cmp | Result of: a < b |
Calculates the difference between two input vectors and returns the maximum between the difference and zero. Also checks for which vector lanes a < b is fulfilled.
a | Vector a |
b | Vector b |
sgn | Sign flag. If it is one, vectors a and b are signed else they are unsigned |
cmp | Result of: a < b |
Calculates the difference between two input vectors and returns the maximum between the difference and zero. Also checks for which vector lanes a < b is fulfilled.
a | Vector a |
b | Vector b |
cmp | Result of: a < b |
Calculates the difference between two input vectors and returns the maximum between the difference and zero. Also checks for which vector lanes a < b is fulfilled.
a | Vector a |
b | Vector b |
sgn | Sign flag. If it is one, vectors a and b are signed else they are unsigned |
cmp | Result of: a < b |
Calculates the difference between two input vectors and returns the maximum between the difference and zero. Also checks for which vector lanes a < b is fulfilled.
a | Vector a |
b | Vector b |
cmp | Result of: a < b |
Calculates the difference between two input vectors and returns the maximum between the difference and zero. Also checks for which vector lanes a < b is fulfilled.
a | Vector a |
b | Vector b |
sgn | Sign flag. If it is one, vectors a and b are signed else they are unsigned |
cmp | Result of: a < b |
Calculates the difference between two input vectors and returns the maximum between the difference and zero. Also checks for which vector lanes a < b is fulfilled.
a | Vector a |
b | Vector b |
cmp | Result of: a < b |
Calculates the difference between two input vectors and returns the maximum between the difference and zero. Also checks for which vector lanes a < b is fulfilled.
a | Vector a |
b | Vector b |
sgn | Sign flag. If it is one, vectors a and b are signed else they are unsigned |
cmp | Result of: a < b |
Calculates the difference between two input vectors and returns the maximum between the difference and zero. Also checks for which vector lanes a < b is fulfilled.
a | Vector a |
b | Vector b |
cmp | Result of: a < b |
Vector comparison. Returns min(v1,v2)
v1 | Vector a |
v2 | Vector b |
Calculates the minimum between two input vectors.
a | Vector a |
b | Vector b |
Calculates the minimum between two input vectors.
a | Vector a |
b | Vector b |
sgn | Sign flag. If it is one, vectors a and b are signed else they are unsigned |
Calculates the minimum between two input vectors.
a | Vector a |
b | Vector b |
Calculates the minimum between two input vectors.
a | Vector a |
b | Vector b |
sgn | Sign flag. If it is one, vectors a and b are signed else they are unsigned |
v32bfloat16 min | ( | v32bfloat16 | a, |
v32bfloat16 | b | ||
) |
Calculates the minimum between two input vectors.
a | Vector a |
b | Vector b |
Calculates the minimum between two input vectors.
a | Vector a |
b | Vector b |
Calculates the minimum between two input vectors.
a | Vector a |
b | Vector b |
sgn | Sign flag. If it is one, vectors a and b are signed else they are unsigned |
Calculates the minimum between two input vectors.
a | Vector a |
b | Vector b |
Calculates the minimum between two input vectors.
a | Vector a |
b | Vector b |
sgn | Sign flag. If it is one, vectors a and b are signed else they are unsigned |
Calculates the minimum between two input vectors.
a | Vector a |
b | Vector b |
Calculates the minimum between two input vectors.
a | Vector a |
b | Vector b |
sgn | Sign flag. If it is one, vectors a and b are signed else they are unsigned |
Calculates the minimum between two input vectors.
a | Vector a |
b | Vector b |
Calculates the minimum between two input vectors.
a | Vector a |
b | Vector b |
sgn | Sign flag. If it is one, vectors a and b are signed else they are unsigned |
Vector comparison.
v1 | Vector a |
v2 | Vector b |
Vector comparison. Returns min(v1,v2) along with lane by lane comparison v1.lane >= v2.lane.
v1 | Vector a |
v2 | Vector b |
cmp | Result of operation a>=b |
Calculates the minimum between two input vectors. Also checks for which vector lanes (a >= b) is fulfilled.
a | Vector a |
b | Vector b |
sgn | Sign flag. If it is one, vectors a and b are signed else they are unsigned |
cmp | Result of: a >= b |
Calculates the minimum between two input vectors. Also checks for which vector lanes (a >= b) is fulfilled.
a | Vector a |
b | Vector b |
cmp | Result of: a >= b |
Calculates the minimum between two input vectors. Also checks for which vector lanes (a >= b) is fulfilled.
a | Vector a |
b | Vector b |
sgn | Sign flag. If it is one, vectors a and b are signed else they are unsigned |
cmp | Result of: a >= b |
Calculates the minimum between two input vectors. Also checks for which vector lanes (a >= b) is fulfilled.
a | Vector a |
b | Vector b |
cmp | Result of: a >= b |
v32bfloat16 min_ge | ( | v32bfloat16 | a, |
v32bfloat16 | b, | ||
unsigned int & | cmp | ||
) |
Calculates the minimum between two input vectors. Also checks for which vector lanes (a >= b) is fulfilled.
a | Vector a |
b | Vector b |
cmp | Result of: a >= b |
Calculates the minimum between two input vectors. Also checks for which vector lanes (a >= b) is fulfilled.
a | Vector a |
b | Vector b |
sgn | Sign flag. If it is one, vectors a and b are signed else they are unsigned |
cmp | Result of: a >= b |
Calculates the minimum between two input vectors. Also checks for which vector lanes (a >= b) is fulfilled.
a | Vector a |
b | Vector b |
cmp | Result of: a >= b |
Calculates the minimum between two input vectors. Also checks for which vector lanes (a >= b) is fulfilled.
a | Vector a |
b | Vector b |
sgn | Sign flag. If it is one, vectors a and b are signed else they are unsigned |
cmp | Result of: a >= b |
Calculates the minimum between two input vectors. Also checks for which vector lanes (a >= b) is fulfilled.
a | Vector a |
b | Vector b |
cmp | Result of: a >= b |
Calculates the minimum between two input vectors. Also checks for which vector lanes (a >= b) is fulfilled.
a | Vector a |
b | Vector b |
sgn | Sign flag. If it is one, vectors a and b are signed else they are unsigned |
cmp | Result of: a >= b |
Calculates the minimum between two input vectors. Also checks for which vector lanes (a >= b) is fulfilled.
a | Vector a |
b | Vector b |
cmp | Result of: a >= b |
Calculates the minimum between two input vectors. Also checks for which vector lanes (a >= b) is fulfilled.
a | Vector a |
b | Vector b |
sgn | Sign flag. If it is one, vectors a and b are signed else they are unsigned |
cmp | Result of: a >= b |
Calculates the minimum between two input vectors. Also checks for which vector lanes (a >= b) is fulfilled.
a | Vector a |
b | Vector b |
cmp | Result of: a >= b |
a | Vector a |
b | Vector b |
a | Vector a |
b | Vector b |
a | Vector a |
b | Vector b |
Performs lane wise selection between vectors a and b. If a bit of sel if zero the lane of vector a is selected, else the lane of vector b is selected.
a | Vector a |
b | Vector b |
sel | Selection condition. |
Performs vector subraction (a-b) and returns the result. Also checks for which vector lanes a >= b is fulfilled.
a | Vector a |
b | Vector b |
sgn | Sign flag. If it is one, vectors a and b are signed else they are unsigned |
cmp | Result of: a >= b |
Performs vector subraction (a-b) and returns the result. Also checks for which vector lanes a >= b is fulfilled.
a | Vector a |
b | Vector b |
cmp | Result of: a >= b |
Performs vector subraction (a-b) and returns the result. Also checks for which vector lanes a >= b is fulfilled.
a | Vector a |
b | Vector b |
sgn | Sign flag. If it is one, vectors a and b are signed else they are unsigned |
cmp | Result of: a >= b |
Performs vector subraction (a-b) and returns the result. Also checks for which vector lanes a >= b is fulfilled.
a | Vector a |
b | Vector b |
cmp | Result of: a >= b |
Performs vector subraction (a-b) and returns the result. Also checks for which vector lanes a >= b is fulfilled.
a | Vector a |
b | Vector b |
sgn | Sign flag. If it is one, vectors a and b are signed else they are unsigned |
cmp | Result of: a >= b |
Performs vector subraction (a-b) and returns the result. Also checks for which vector lanes a >= b is fulfilled.
a | Vector a |
b | Vector b |
cmp | Result of: a >= b |
Performs vector subraction (a-b) and returns the result. Also checks for which vector lanes a >= b is fulfilled.
a | Vector a |
b | Vector b |
sgn | Sign flag. If it is one, vectors a and b are signed else they are unsigned |
cmp | Result of: a >= b |
Performs vector subraction (a-b) and returns the result. Also checks for which vector lanes a >= b is fulfilled.
a | Vector a |
b | Vector b |
cmp | Result of: a >= b |
Performs vector subraction (a-b) and returns the result. Also checks for which vector lanes a >= b is fulfilled.
a | Vector a |
b | Vector b |
sgn | Sign flag. If it is one, vectors a and b are signed else they are unsigned |
cmp | Result of: a >= b |
Performs vector subraction (a-b) and returns the result. Also checks for which vector lanes a >= b is fulfilled.
a | Vector a |
b | Vector b |
cmp | Result of: a >= b |
Performs vector subraction (a-b) and returns the result. Also checks for which vector lanes a >= b is fulfilled.
a | Vector a |
b | Vector b |
sgn | Sign flag. If it is one, vectors a and b are signed else they are unsigned |
cmp | Result of: a >= b |
Performs vector subraction (a-b) and returns the result. Also checks for which vector lanes a >= b is fulfilled.
a | Vector a |
b | Vector b |
cmp | Result of: a >= b |
Performs vector subraction (a-b) and returns the result. Also checks for which vector lanes a < b is fulfilled.
a | Vector a |
b | Vector b |
sgn | Sign flag. If it is one, vectors a and b are signed else they are unsigned |
cmp | Result of: a < b |
Performs vector subraction (a-b) and returns the result. Also checks for which vector lanes a < b is fulfilled.
a | Vector a |
b | Vector b |
cmp | Result of: a < b |
Performs vector subraction (a-b) and returns the result. Also checks for which vector lanes a < b is fulfilled.
a | Vector a |
b | Vector b |
sgn | Sign flag. If it is one, vectors a and b are signed else they are unsigned |
cmp | Result of: a < b |
Performs vector subraction (a-b) and returns the result. Also checks for which vector lanes a < b is fulfilled.
a | Vector a |
b | Vector b |
cmp | Result of: a < b |
Performs vector subraction (a-b) and returns the result. Also checks for which vector lanes a < b is fulfilled.
a | Vector a |
b | Vector b |
sgn | Sign flag. If it is one, vectors a and b are signed else they are unsigned |
cmp | Result of: a < b |
Performs vector subraction (a-b) and returns the result. Also checks for which vector lanes a < b is fulfilled.
a | Vector a |
b | Vector b |
cmp | Result of: a < b |
Performs vector subraction (a-b) and returns the result. Also checks for which vector lanes a < b is fulfilled.
a | Vector a |
b | Vector b |
sgn | Sign flag. If it is one, vectors a and b are signed else they are unsigned |
cmp | Result of: a < b |
Performs vector subraction (a-b) and returns the result. Also checks for which vector lanes a < b is fulfilled.
a | Vector a |
b | Vector b |
cmp | Result of: a < b |
Performs vector subraction (a-b) and returns the result. Also checks for which vector lanes a < b is fulfilled.
a | Vector a |
b | Vector b |
sgn | Sign flag. If it is one, vectors a and b are signed else they are unsigned |
cmp | Result of: a < b |
Performs vector subraction (a-b) and returns the result. Also checks for which vector lanes a < b is fulfilled.
a | Vector a |
b | Vector b |
cmp | Result of: a < b |
Performs vector subraction (a-b) and returns the result. Also checks for which vector lanes a < b is fulfilled.
a | Vector a |
b | Vector b |
sgn | Sign flag. If it is one, vectors a and b are signed else they are unsigned |
cmp | Result of: a < b |