vminq_f16ADD TO COMPARE ADDED TO COMPARE
Arm 64-bit (64 bits)/ NEON
View official documentation
Purpose:
VMIN compares corresponding elements in two vectors, and returns the smaller of each pair.
Result:
float16x8_t
Example:
#include <arm_neon.h>
#include <stdio.h>
int main() {
float16x8_t vectorA = {
-0.1, 0.2, -0.3, 0.4, -0.5, 0.6, -0.7, 0.8
};
float16x8_t vectorB = {
0.05, 0.15, -0.25, 0.35, -0.45, 0.55, -0.65, 0.75
};
float16x8_t result = vminq_f16(vectorA, vectorB);
for (int i = 0; i < 8; i++) {
printf("Result[%d]: %.1f\n", i, vgetq_lane_f16(result, i));
}
return 0;
}
Prototypes
Assembly Instruction:
FMIN
Usage:
float16x8_t result =
vminq_f16(
float16x8_t a, float16x8_t b
)
Performance Metrics:
📊 Unlock Performance Insights
Get access to detailed performance metrics including latency, throughput, and CPU-specific benchmarks for this intrinsic.
SIMD Intrinsics Summary
| SIMD Engines: | 6 |
| C Intrinsics: | 10444 |
| NEON: | 4353 |
| AVX2: | 405 |
| AVX512: | 4717 |
| SSE4.2: | 598 |
| VSX: | 192 |
| IBM-Z: | 179 |