mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-07-14 09:01:47 +08:00
bug #1059: fix predux_max<Packet4i> for NEON (this was already fixed in the default branch)
This commit is contained in:
parent
96f64441f7
commit
3ec6d38f35
@ -384,6 +384,7 @@ template<> EIGEN_STRONG_INLINE int predux_max<Packet4i>(const Packet4i& a)
|
||||
a_lo = vget_low_s32(a);
|
||||
a_hi = vget_high_s32(a);
|
||||
max = vpmax_s32(a_lo, a_hi);
|
||||
max = vpmax_s32(max, max);
|
||||
|
||||
return vget_lane_s32(max, 0);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user