Vc  1.4.2
SIMD Vector Classes for C++
gatherinterface_deprecated.h
1 
16  template <typename S1, typename IT>
17  Vc_DEPRECATED("use the subscript operator to Vc::array or Vc::vector "
18  "instead.") inline Vc_CURRENT_CLASS_NAME(const S1 *array,
19  const EntryType S1::*member1,
20  IT indexes)
21  {
22  gather(Common::SubscriptOperation<const S1, IT, std::ratio<1, 1>, true>(
23  array, indexes)[member1]
24  .gatherArguments());
25  }
26 
40  template <typename S1, typename IT>
41  Vc_DEPRECATED("use the subscript operator to Vc::array or Vc::vector "
42  "instead.") inline Vc_CURRENT_CLASS_NAME(const S1 *array,
43  const EntryType S1::*member1,
44  IT indexes, MaskArgument mask)
45  {
46  gather(Common::SubscriptOperation<const S1, IT, std::ratio<1, 1>, true>(
47  array, indexes)[member1]
48  .gatherArguments(),
49  mask);
50  }
51 
66  template <typename S1, typename S2, typename IT>
67  Vc_DEPRECATED("use the subscript operator to Vc::array or Vc::vector "
68  "instead.") inline Vc_CURRENT_CLASS_NAME(const S1 *array,
69  const S2 S1::*member1,
70  const EntryType S2::*member2,
71  IT indexes)
72  {
73  gather(Common::SubscriptOperation<const S1, IT, std::ratio<1, 1>, true>(
74  array, indexes)[member1][member2]
75  .gatherArguments());
76  }
77 
93  template <typename S1, typename S2, typename IT>
94  Vc_DEPRECATED("use the subscript operator to Vc::array or Vc::vector "
95  "instead.") inline Vc_CURRENT_CLASS_NAME(const S1 *array,
96  const S2 S1::*member1,
97  const EntryType S2::*member2,
98  IT indexes, MaskArgument mask)
99  {
100  gather(Common::SubscriptOperation<const S1, IT, std::ratio<1, 1>, true>(
101  array, indexes)[member1][member2]
102  .gatherArguments(),
103  mask);
104  }
105 
117  template <typename S1, typename IT1, typename IT2>
118  Vc_DEPRECATED(
119  "use the subscript operator to Vc::array or Vc::vector "
120  "instead.") inline Vc_CURRENT_CLASS_NAME(const S1 *array,
121  const EntryType *const S1::*ptrMember1,
122  IT1 outerIndexes, IT2 innerIndexes)
123  {
124  gather(Common::SubscriptOperation<const S1, IT1, std::ratio<1, 1>, true>(
125  array, outerIndexes)[ptrMember1][innerIndexes]
126  .gatherArguments());
127  }
128 
141  template <typename S1, typename IT1, typename IT2>
142  Vc_DEPRECATED(
143  "use the subscript operator to Vc::array or Vc::vector "
144  "instead.") inline Vc_CURRENT_CLASS_NAME(const S1 *array,
145  const EntryType *const S1::*ptrMember1,
146  IT1 outerIndexes, IT2 innerIndexes,
147  MaskArgument mask)
148  {
149  gather(Common::SubscriptOperation<const S1, IT1, std::ratio<1, 1>, true>(
150  array, outerIndexes)[ptrMember1][innerIndexes]
151  .gatherArguments(),
152  mask);
153  }
154 
167  template <typename S1, typename IT>
168  Vc_DEPRECATED("use the subscript operator to Vc::array or Vc::vector "
169  "instead.") inline void gather(const S1 *array,
170  const EntryType S1::*member1, IT indexes)
171  {
172  gather(Common::SubscriptOperation<const S1, IT, std::ratio<1, 1>, true>(
173  array, indexes)[member1]
174  .gatherArguments());
175  }
176 
190  template <typename S1, typename IT>
191  Vc_DEPRECATED("use the subscript operator to Vc::array or Vc::vector "
192  "instead.") inline void gather(const S1 *array,
193  const EntryType S1::*member1,
194  IT indexes,
195  MaskArgument mask)
196  {
197  gather(Common::SubscriptOperation<const S1, IT, std::ratio<1, 1>, true>(
198  array, indexes)[member1]
199  .gatherArguments(),
200  mask);
201  }
202 
217  template <typename S1, typename S2, typename IT>
218  Vc_DEPRECATED("use the subscript operator to Vc::array or Vc::vector "
219  "instead.") inline void gather(const S1 *array, const S2 S1::*member1,
220  const EntryType S2::*member2, IT indexes)
221  {
222  gather(Common::SubscriptOperation<const S1, IT, std::ratio<1, 1>, true>(
223  array, indexes)[member1][member2]
224  .gatherArguments());
225  }
226 
242  template <typename S1, typename S2, typename IT>
243  Vc_DEPRECATED("use the subscript operator to Vc::array or Vc::vector "
244  "instead.") inline void gather(const S1 *array, const S2 S1::*member1,
245  const EntryType S2::*member2, IT indexes,
246  MaskArgument mask)
247  {
248  gather(Common::SubscriptOperation<const S1, IT, std::ratio<1, 1>, true>(
249  array, indexes)[member1][member2]
250  .gatherArguments(),
251  mask);
252  }
253 
265  template <typename S1, typename IT1, typename IT2>
266  Vc_DEPRECATED("use the subscript operator to Vc::array or Vc::vector "
267  "instead.") inline void gather(const S1 *array,
268  const EntryType *const S1::*ptrMember1,
269  IT1 outerIndexes, IT2 innerIndexes)
270  {
271  gather(Common::SubscriptOperation<const S1, IT1, std::ratio<1, 1>, true>(
272  array, outerIndexes)[ptrMember1][innerIndexes]
273  .gatherArguments());
274  }
275 
288  template <typename S1, typename IT1, typename IT2>
289  Vc_DEPRECATED("use the subscript operator to Vc::array or Vc::vector "
290  "instead.") inline void gather(const S1 *array,
291  const EntryType *const S1::*ptrMember1,
292  IT1 outerIndexes, IT2 innerIndexes,
293  MaskArgument mask)
294  {
295  gather(Common::SubscriptOperation<const S1, IT1, std::ratio<1, 1>, true>(
296  array, outerIndexes)[ptrMember1][innerIndexes]
297  .gatherArguments(),
298  mask);
299  }