mirror of
https://github.com/opencv/opencv.git
synced 2025-06-12 20:42:53 +08:00
core(vsx): update vec_absd() workaround condition
This commit is contained in:
parent
1620a1e014
commit
8d88bb06b2
@ -684,7 +684,8 @@ VSX_IMPL_LOAD_L8(vec_double2, double)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
// absolute difference
|
// 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))
|
# define vec_absd(a, b) vec_sub(vec_max(a, b), vec_min(a, b))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user