Fixed the NEON implementation of predux_max<Packet4i>.

This commit is contained in:
Benoit Steiner 2014-04-23 18:23:07 -07:00
parent ccb4dec719
commit 4eb92e5647

View File

@ -422,6 +422,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);
}