mirror of
https://github.com/opencv/opencv.git
synced 2025-06-13 04:52:53 +08:00
Merge pull request #21614 from alalek:fix_build_power8_vec_absd
This commit is contained in:
commit
0047d3f81a
@ -684,7 +684,8 @@ VSX_IMPL_LOAD_L8(vec_double2, double)
|
||||
#endif
|
||||
|
||||
// absolute difference
|
||||
#ifndef vec_absd
|
||||
#ifndef _ARCH_PWR9
|
||||
# undef vec_absd
|
||||
# define vec_absd(a, b) vec_sub(vec_max(a, b), vec_min(a, b))
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user