diff --git a/graphics/opencv/files/patch-modules_core_include_opencv2_core_vsx__utils.hpp b/graphics/opencv/files/patch-modules_core_include_opencv2_core_vsx__utils.hpp new file mode 100644 index 000000000000..17380f6835b8 --- /dev/null +++ b/graphics/opencv/files/patch-modules_core_include_opencv2_core_vsx__utils.hpp @@ -0,0 +1,13 @@ +--- modules/core/include/opencv2/core/vsx_utils.hpp.orig 2025-07-02 07:54:13 UTC ++++ modules/core/include/opencv2/core/vsx_utils.hpp +@@ -399,6 +399,10 @@ VSX_REDIRECT_1RG(vec_udword2, vec_udword2, vec_popcntu + VSX_REDIRECT_1RG(vec_uint4, vec_uint4, vec_popcntu, vec_popcnt) + VSX_REDIRECT_1RG(vec_udword2, vec_udword2, vec_popcntu, vec_popcnt) + ++// converts between single and double precision ++VSX_REDIRECT_1RG(vec_float4, vec_double2, vec_cvfo, __builtin_vsx_xvcvdpsp) ++VSX_REDIRECT_1RG(vec_double2, vec_float4, vec_cvfo, __builtin_vsx_xvcvspdp) ++ + // converts word and doubleword to double-precision + #ifdef vec_ctd + # undef vec_ctd