This bugzilla service is closed. All entries have been migrated to https://gitlab.com/libeigen/eigen
View | Details | Raw Unified | Return to bug 590
Collapse All | Expand All

(-)a/Eigen/src/Core/arch/NEON/PacketMath.h (-4 / +4 lines)
Lines 188-202 Link Here
188
template<> EIGEN_STRONG_INLINE Packet4f ploaddup<Packet4f>(const float*   from)
188
template<> EIGEN_STRONG_INLINE Packet4f ploaddup<Packet4f>(const float*   from)
189
{
189
{
190
  float32x2_t lo, hi;
190
  float32x2_t lo, hi;
191
  lo = vdup_n_f32(*from);
191
  lo = vld1_dup_f32(from);
192
  hi = vdup_n_f32(*(from+1));
192
  hi = vld1_dup_f32(from+1);
193
  return vcombine_f32(lo, hi);
193
  return vcombine_f32(lo, hi);
194
}
194
}
195
template<> EIGEN_STRONG_INLINE Packet4i ploaddup<Packet4i>(const int*     from)
195
template<> EIGEN_STRONG_INLINE Packet4i ploaddup<Packet4i>(const int*     from)
196
{
196
{
197
  int32x2_t lo, hi;
197
  int32x2_t lo, hi;
198
  lo = vdup_n_s32(*from);
198
  lo = vld1_dup_s32(from);
199
  hi = vdup_n_s32(*(from+1));
199
  hi = vld1_dup_s32(from+1);
200
  return vcombine_s32(lo, hi);
200
  return vcombine_s32(lo, hi);
201
}
201
}
202
202

Return to bug 590