This commit is contained in:
Konstantinos Margaritis 2012-07-04 11:28:59 +03:00
parent f737536744
commit d878cf2227

View File

@ -363,7 +363,6 @@ template<> EIGEN_STRONG_INLINE int predux_min<Packet4i>(const Packet4i& a)
a_hi = vget_high_s32(a); a_hi = vget_high_s32(a);
min = vpmin_s32(a_lo, a_hi); min = vpmin_s32(a_lo, a_hi);
min = vpmin_s32(min, min); min = vpmin_s32(min, min);
vst1_s32(s, min);
return vget_lane_s32(min, 0); return vget_lane_s32(min, 0);
} }
@ -378,7 +377,7 @@ template<> EIGEN_STRONG_INLINE float predux_max<Packet4f>(const Packet4f& a)
max = vpmax_f32(a_lo, a_hi); max = vpmax_f32(a_lo, a_hi);
max = vpmax_f32(max, max); max = vpmax_f32(max, max);
return vget_lane_s32(max, 0); return vget_lane_f32(max, 0);
} }
template<> EIGEN_STRONG_INLINE int predux_max<Packet4i>(const Packet4i& a) template<> EIGEN_STRONG_INLINE int predux_max<Packet4i>(const Packet4i& a)