Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 761664 Details for
Bug 830185
media-libs/opencv-4.5.5 fails to build due to "error: ‘_mm_insert_epi64’ was not declared in this scope; did you mean ‘_mm_insert_epi8’?"
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix missing ‘_mm_insert_epi64’ function in 32bit build
i386-avx2-fix.patch (text/plain), 1.00 KB, created by
Iade Gesso
on 2022-01-08 22:20:10 UTC
(
hide
)
Description:
Fix missing ‘_mm_insert_epi64’ function in 32bit build
Filename:
MIME Type:
Creator:
Iade Gesso
Created:
2022-01-08 22:20:10 UTC
Size:
1.00 KB
patch
obsolete
>diff -ruN opencv-4.5.5.orig/modules/gapi/src/backends/fluid/gfluidcore_simd_sse41.hpp opencv-4.5.5/modules/gapi/src/backends/fluid/gfluidcore_simd_sse41.hpp >--- opencv-4.5.5.orig/modules/gapi/src/backends/fluid/gfluidcore_simd_sse41.hpp 2021-12-25 04:53:27.000000000 +0100 >+++ opencv-4.5.5/modules/gapi/src/backends/fluid/gfluidcore_simd_sse41.hpp 2022-01-07 23:43:47.928816370 +0100 >@@ -30,6 +30,25 @@ > namespace fluid { > namespace sse42 { > >+#ifdef __i386__ >+/** >+ * Inspired by https://lists.freebsd.org/pipermail/p4-projects/2014-December/039272.html >+ */ >+static inline __m128i >+_mm_insert_epi64(__m128i a, int64_t b, const int ndx) >+{ >+ if (!ndx) { >+ a = _mm_insert_epi32(a, b, 0); >+ a = _mm_insert_epi32(a, b >> 32, 1); >+ } else { >+ a = _mm_insert_epi32(a, b, 2); >+ a = _mm_insert_epi32(a, b >> 32, 3); >+ } >+ >+ return a; >+} >+#endif >+ > CV_ALWAYS_INLINE void v_gather_pixel_map(v_uint8x16& vec, const uchar src[], const short* index, const int pos) > { > const int chanNum = 4;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 830185
:
760683
| 761664