Skip to content

Commit

Permalink
Update links
Browse files Browse the repository at this point in the history
Signed-off-by: tinyboxvk <[email protected]>
  • Loading branch information
tinyboxvk committed Nov 17, 2024
1 parent 78e1fd0 commit 99d92ad
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion include/volk/volk_avx_intrinsics.h
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ static inline __m256 _mm256_polar_sign_mask(__m128i fbits)
_mm256_insertf128_ps(sign_mask_dummy, _mm_castsi128_ps(sign_bits0), 0x0);
return _mm256_insertf128_ps(sign_mask, _mm_castsi128_ps(sign_bits1), 0x1);
// // This is the desired function call. Though it seems to be missing in GCC.
// // Compare: https://software.intel.com/sites/landingpage/IntrinsicsGuide/#
// // Compare: https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html
// return _mm256_set_m128(_mm_castsi128_ps(sign_bits1),
// _mm_castsi128_ps(sign_bits0));
}
Expand Down
4 changes: 2 additions & 2 deletions include/volk/volk_malloc.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ __VOLK_DECL_BEGIN
* see: https://linux.die.net/man/3/aligned_alloc
* For MSVC, we fall back to `_aligned_malloc`.
* see:
* https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/aligned-malloc?view=vs-2019
* https://learn.microsoft.com/en-us/cpp/c-runtime-library/reference/aligned-malloc?view=msvc-170
*
* Because of the ways in which volk_malloc may allocate memory, it is
* important to always free volk_malloc pointers using volk_free.
Expand All @@ -51,7 +51,7 @@ VOLK_API void* volk_malloc(size_t size, size_t alignment);
* see: https://en.cppreference.com/w/c/memory/free
* In case `_aligned_malloc` was used, we call `_aligned_free`.
* see:
* https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/aligned-free?view=vs-2019
* https://learn.microsoft.com/en-us/cpp/c-runtime-library/reference/aligned-free?view=msvc-170
*
* \param aptr The aligned pointer allocated by volk_malloc.
*/
Expand Down
4 changes: 2 additions & 2 deletions kernels/volk/volk_32fc_x2_divide_32fc.h
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ static inline void volk_32fc_x2_divide_32fc_u_avx(lv_32fc_t* cVector,
sq, sq); // obtain the actual squared magnitude, although out of order
mag_sq = _mm256_permute_ps(mag_sq_un, 0xd8); // I order them
// best guide I found on using these functions:
// https://software.intel.com/sites/landingpage/IntrinsicsGuide/#expand=2738,2059,2738,2738,3875,3874,3875,2738,3870
// https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#ig_expand=2738,2059,2738,2738,3875,3874,3875,2738,3870
div = _mm256_div_ps(mul_conj, mag_sq);

_mm256_storeu_ps((float*)c, div); // Store the results back into the C container
Expand Down Expand Up @@ -313,7 +313,7 @@ static inline void volk_32fc_x2_divide_32fc_a_avx(lv_32fc_t* cVector,
{
/*
* Guide to AVX intrisics:
* https://software.intel.com/sites/landingpage/IntrinsicsGuide/#
* https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html
*
* we'll do the "classical"
* a a b*
Expand Down
2 changes: 1 addition & 1 deletion lib/volk_malloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
*
* MSVC is broken
* see:
* https://docs.microsoft.com/en-us/cpp/overview/visual-cpp-language-conformance?view=vs-2019
* https://learn.microsoft.com/en-us/cpp/overview/visual-cpp-language-conformance?view=msvc-170
* This section:
* C11 The Universal CRT implemented the parts of the
* C11 Standard Library that are required by C++17,
Expand Down

0 comments on commit 99d92ad

Please sign in to comment.