@@ -526,19 +526,19 @@ mod sealed {
526526 }
527527 }
528528
529- vector_perm ! { vector_signed_char }
530- vector_perm ! { vector_unsigned_char }
531- vector_perm ! { vector_bool_char }
529+ vector_perm ! { vector_signed_char }
530+ vector_perm ! { vector_unsigned_char }
531+ vector_perm ! { vector_bool_char }
532532
533- vector_perm ! { vector_signed_short }
534- vector_perm ! { vector_unsigned_short }
535- vector_perm ! { vector_bool_short }
533+ vector_perm ! { vector_signed_short }
534+ vector_perm ! { vector_unsigned_short }
535+ vector_perm ! { vector_bool_short }
536536
537- vector_perm ! { vector_signed_int }
538- vector_perm ! { vector_unsigned_int }
539- vector_perm ! { vector_bool_int }
537+ vector_perm ! { vector_signed_int }
538+ vector_perm ! { vector_unsigned_int }
539+ vector_perm ! { vector_bool_int }
540540
541- vector_perm ! { vector_float }
541+ vector_perm ! { vector_float }
542542
543543 pub trait VectorAdd < Other > {
544544 type Result ;
@@ -1085,72 +1085,72 @@ mod tests {
10851085 }
10861086 }
10871087
1088- test_vec_perm ! { test_vec_perm_u8x16,
1088+ test_vec_perm ! { test_vec_perm_u8x16,
10891089 u8x16, vector_unsigned_char,
10901090 [ 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 10 , 11 , 12 , 13 , 14 , 15 ] ,
10911091 [ 100 , 101 , 102 , 103 , 104 , 105 , 106 , 107 , 108 , 109 , 110 , 111 , 112 , 113 , 114 , 115 ] ,
10921092 [ 0x00 , 0x01 , 0x10 , 0x11 , 0x02 , 0x03 , 0x12 , 0x13 ,
10931093 0x04 , 0x05 , 0x14 , 0x15 , 0x06 , 0x07 , 0x16 , 0x17 ] ,
10941094 [ 0 , 1 , 100 , 101 , 2 , 3 , 102 , 103 , 4 , 5 , 104 , 105 , 6 , 7 , 106 , 107 ] }
1095- test_vec_perm ! { test_vec_perm_i8x16,
1095+ test_vec_perm ! { test_vec_perm_i8x16,
10961096 i8x16, vector_signed_char,
10971097 [ 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 10 , 11 , 12 , 13 , 14 , 15 ] ,
10981098 [ 100 , 101 , 102 , 103 , 104 , 105 , 106 , 107 , 108 , 109 , 110 , 111 , 112 , 113 , 114 , 115 ] ,
10991099 [ 0x00 , 0x01 , 0x10 , 0x11 , 0x02 , 0x03 , 0x12 , 0x13 ,
11001100 0x04 , 0x05 , 0x14 , 0x15 , 0x06 , 0x07 , 0x16 , 0x17 ] ,
11011101 [ 0 , 1 , 100 , 101 , 2 , 3 , 102 , 103 , 4 , 5 , 104 , 105 , 6 , 7 , 106 , 107 ] }
11021102
1103- test_vec_perm ! { test_vec_perm_m8x16,
1103+ test_vec_perm ! { test_vec_perm_m8x16,
11041104 m8x16, vector_bool_char,
11051105 [ false , false , false , false , false , false , false , false , false , false , false , false , false , false , false , false ] ,
11061106 [ true , true , true , true , true , true , true , true , true , true , true , true , true , true , true , true ] ,
11071107 [ 0x00 , 0x01 , 0x10 , 0x11 , 0x02 , 0x03 , 0x12 , 0x13 ,
11081108 0x04 , 0x05 , 0x14 , 0x15 , 0x06 , 0x07 , 0x16 , 0x17 ] ,
11091109 [ false , false , true , true , false , false , true , true , false , false , true , true , false , false , true , true ] }
1110- test_vec_perm ! { test_vec_perm_u16x8,
1110+ test_vec_perm ! { test_vec_perm_u16x8,
11111111 u16x8, vector_unsigned_short,
11121112 [ 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 ] ,
11131113 [ 10 , 11 , 12 , 13 , 14 , 15 , 16 , 17 ] ,
11141114 [ 0x00 , 0x01 , 0x10 , 0x11 , 0x02 , 0x03 , 0x12 , 0x13 ,
11151115 0x04 , 0x05 , 0x14 , 0x15 , 0x06 , 0x07 , 0x16 , 0x17 ] ,
11161116 [ 0 , 10 , 1 , 11 , 2 , 12 , 3 , 13 ] }
1117- test_vec_perm ! { test_vec_perm_i16x8,
1117+ test_vec_perm ! { test_vec_perm_i16x8,
11181118 i16x8, vector_signed_short,
11191119 [ 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 ] ,
11201120 [ 10 , 11 , 12 , 13 , 14 , 15 , 16 , 17 ] ,
11211121 [ 0x00 , 0x01 , 0x10 , 0x11 , 0x02 , 0x03 , 0x12 , 0x13 ,
11221122 0x04 , 0x05 , 0x14 , 0x15 , 0x06 , 0x07 , 0x16 , 0x17 ] ,
11231123 [ 0 , 10 , 1 , 11 , 2 , 12 , 3 , 13 ] }
1124- test_vec_perm ! { test_vec_perm_m16x8,
1124+ test_vec_perm ! { test_vec_perm_m16x8,
11251125 m16x8, vector_bool_short,
11261126 [ false , false , false , false , false , false , false , false ] ,
11271127 [ true , true , true , true , true , true , true , true ] ,
11281128 [ 0x00 , 0x01 , 0x10 , 0x11 , 0x02 , 0x03 , 0x12 , 0x13 ,
11291129 0x04 , 0x05 , 0x14 , 0x15 , 0x06 , 0x07 , 0x16 , 0x17 ] ,
11301130 [ false , true , false , true , false , true , false , true ] }
11311131
1132- test_vec_perm ! { test_vec_perm_u32x4,
1132+ test_vec_perm ! { test_vec_perm_u32x4,
11331133 u32x4, vector_unsigned_int,
11341134 [ 0 , 1 , 2 , 3 ] ,
11351135 [ 10 , 11 , 12 , 13 ] ,
11361136 [ 0x00 , 0x01 , 0x02 , 0x03 , 0x10 , 0x11 , 0x12 , 0x13 ,
11371137 0x04 , 0x05 , 0x06 , 0x07 , 0x14 , 0x15 , 0x16 , 0x17 ] ,
11381138 [ 0 , 10 , 1 , 11 ] }
1139- test_vec_perm ! { test_vec_perm_i32x4,
1139+ test_vec_perm ! { test_vec_perm_i32x4,
11401140 i32x4, vector_signed_int,
11411141 [ 0 , 1 , 2 , 3 ] ,
11421142 [ 10 , 11 , 12 , 13 ] ,
11431143 [ 0x00 , 0x01 , 0x02 , 0x03 , 0x10 , 0x11 , 0x12 , 0x13 ,
11441144 0x04 , 0x05 , 0x06 , 0x07 , 0x14 , 0x15 , 0x16 , 0x17 ] ,
11451145 [ 0 , 10 , 1 , 11 ] }
1146- test_vec_perm ! { test_vec_perm_m32x4,
1146+ test_vec_perm ! { test_vec_perm_m32x4,
11471147 m32x4, vector_bool_int,
11481148 [ false , false , false , false ] ,
11491149 [ true , true , true , true ] ,
11501150 [ 0x00 , 0x01 , 0x02 , 0x03 , 0x10 , 0x11 , 0x12 , 0x13 ,
11511151 0x04 , 0x05 , 0x06 , 0x07 , 0x14 , 0x15 , 0x16 , 0x17 ] ,
11521152 [ false , true , false , true ] }
1153- test_vec_perm ! { test_vec_perm_f32x4,
1153+ test_vec_perm ! { test_vec_perm_f32x4,
11541154 f32x4, vector_float,
11551155 [ 0.0 , 1.0 , 2.0 , 3.0 ] ,
11561156 [ 1.0 , 1.1 , 1.2 , 1.3 ] ,
0 commit comments