File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
portable/src/implementation/portable Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -214,7 +214,9 @@ where
214
214
v15 : u8 ,
215
215
) -> Self ;
216
216
217
- fn prev1 ( self , prev : Self ) -> Self ; // FIXME: generic?
217
+ // const generics would be more awkward and verbose with the current
218
+ // portable SIMD swizzle implementation and compiler limitations.
219
+ fn prev1 ( self , prev : Self ) -> Self ;
218
220
fn prev2 ( self , prev : Self ) -> Self ;
219
221
fn prev3 ( self , prev : Self ) -> Self ;
220
222
@@ -323,7 +325,6 @@ impl SimdU8Value<16> for u8x16 {
323
325
)
324
326
}
325
327
326
- // ugly but prev<N> requires const generics
327
328
#[ inline]
328
329
fn prev2 ( self , prev : Self ) -> Self {
329
330
simd_swizzle ! (
@@ -333,7 +334,6 @@ impl SimdU8Value<16> for u8x16 {
333
334
)
334
335
}
335
336
336
- // ugly but prev<N> requires const generics
337
337
#[ inline]
338
338
fn prev3 ( self , prev : Self ) -> Self {
339
339
simd_swizzle ! (
You can’t perform that action at this time.
0 commit comments