Search results for: Square Root
vec_sqrt()
Purpose: Returns a vector containing the square root of each element in the source vector.
Result value: Each element of output is the square root of the corresponding element of a.
Endian considerations: None.
vector float output = vec_sqrt(vector float a);
vec_rsqrte()
Purpose: Returns a vector containing estimates of the reciprocal square roots of the corresponding elements of the source vector.
Result value: Each element of output contains the estimated value of the reciprocal square root of the corresponding element of a.
Endian considerations: None.
Notes: For finite square roots, this intrinsic guarantees at least 14 bits of accuracy.
vector double output = vec_rsqrte(vector double a);
vec_rsqrt()
Purpose: Returns a vector containing a refined approximation of the reciprocal square roots of the corresponding elements of the source vector. This function provides an implementation-dependent greater precision than vec_rsqrte.
Result value: Each element of output contains a refined approximation of the reciprocal square root of the corresponding element of a.
Endian considerations: None.
Notes:
-
The example implementations assume that a register h initially contains the floating-point value 0.5 in each element (single- or double-precision as appropriate).
-
For finite square roots, this intrinsic guarantees at least 23 bits of accuracy for single-precision floating point, and at least 52 bits of accuracy for double-precision floating point.
vector float output = vec_rsqrt(vector float a);
SIMD Intrinsics Summary
| SIMD Engines: | 6 |
| C Intrinsics: | 10444 |
| NEON: | 4353 |
| AVX2: | 405 |
| AVX512: | 4717 |
| SSE4.2: | 598 |
| VSX: | 192 |
| IBM-Z: | 179 |
Recent Updates
November 2025- LLVM-MCA Metrics: Added latency and throughput data for each intrinsic on a per-CPU basis, plus overall plots for visual analysis.
- IBM-Z SIMD Integration: New SIMD architecture support integrated, including 179 intrinsics.
- Search Engine Migration: Switched from Elasticsearch to Meilisearch — 16× less memory usage, 100× faster responses, and improved search quality.
- Updated Statistics: Scanning expanded to more than 59k repositories, now also including IBM-Z statistics.
Previous Updates
- Intrinsics Organization: Ongoing restructuring of uncategorized intrinsics for improved accessibility.
- Enhanced Filtering: New advanced filters added to the intrinsics tree for more precise results.
- Search Validation: Improved empty search handling with better user feedback.
- Changelog Display: Recent changes now visible to users for better transparency.
- New Blog Post: "Best Practices & API Integration" guide added to the blogs section.
- Dark Theme: Added support for dark theme for improved accessibility and user experience.