@@ -526,19 +526,19 @@ mod sealed {
526
526
}
527
527
}
528
528
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 }
532
532
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 }
536
536
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 }
540
540
541
- vector_perm ! { vector_float }
541
+ vector_perm ! { vector_float }
542
542
543
543
pub trait VectorAdd < Other > {
544
544
type Result ;
@@ -1085,72 +1085,72 @@ mod tests {
1085
1085
}
1086
1086
}
1087
1087
1088
- test_vec_perm ! { test_vec_perm_u8x16,
1088
+ test_vec_perm ! { test_vec_perm_u8x16,
1089
1089
u8x16, vector_unsigned_char,
1090
1090
[ 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 10 , 11 , 12 , 13 , 14 , 15 ] ,
1091
1091
[ 100 , 101 , 102 , 103 , 104 , 105 , 106 , 107 , 108 , 109 , 110 , 111 , 112 , 113 , 114 , 115 ] ,
1092
1092
[ 0x00 , 0x01 , 0x10 , 0x11 , 0x02 , 0x03 , 0x12 , 0x13 ,
1093
1093
0x04 , 0x05 , 0x14 , 0x15 , 0x06 , 0x07 , 0x16 , 0x17 ] ,
1094
1094
[ 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,
1096
1096
i8x16, vector_signed_char,
1097
1097
[ 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 10 , 11 , 12 , 13 , 14 , 15 ] ,
1098
1098
[ 100 , 101 , 102 , 103 , 104 , 105 , 106 , 107 , 108 , 109 , 110 , 111 , 112 , 113 , 114 , 115 ] ,
1099
1099
[ 0x00 , 0x01 , 0x10 , 0x11 , 0x02 , 0x03 , 0x12 , 0x13 ,
1100
1100
0x04 , 0x05 , 0x14 , 0x15 , 0x06 , 0x07 , 0x16 , 0x17 ] ,
1101
1101
[ 0 , 1 , 100 , 101 , 2 , 3 , 102 , 103 , 4 , 5 , 104 , 105 , 6 , 7 , 106 , 107 ] }
1102
1102
1103
- test_vec_perm ! { test_vec_perm_m8x16,
1103
+ test_vec_perm ! { test_vec_perm_m8x16,
1104
1104
m8x16, vector_bool_char,
1105
1105
[ false , false , false , false , false , false , false , false , false , false , false , false , false , false , false , false ] ,
1106
1106
[ true , true , true , true , true , true , true , true , true , true , true , true , true , true , true , true ] ,
1107
1107
[ 0x00 , 0x01 , 0x10 , 0x11 , 0x02 , 0x03 , 0x12 , 0x13 ,
1108
1108
0x04 , 0x05 , 0x14 , 0x15 , 0x06 , 0x07 , 0x16 , 0x17 ] ,
1109
1109
[ 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,
1111
1111
u16x8, vector_unsigned_short,
1112
1112
[ 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 ] ,
1113
1113
[ 10 , 11 , 12 , 13 , 14 , 15 , 16 , 17 ] ,
1114
1114
[ 0x00 , 0x01 , 0x10 , 0x11 , 0x02 , 0x03 , 0x12 , 0x13 ,
1115
1115
0x04 , 0x05 , 0x14 , 0x15 , 0x06 , 0x07 , 0x16 , 0x17 ] ,
1116
1116
[ 0 , 10 , 1 , 11 , 2 , 12 , 3 , 13 ] }
1117
- test_vec_perm ! { test_vec_perm_i16x8,
1117
+ test_vec_perm ! { test_vec_perm_i16x8,
1118
1118
i16x8, vector_signed_short,
1119
1119
[ 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 ] ,
1120
1120
[ 10 , 11 , 12 , 13 , 14 , 15 , 16 , 17 ] ,
1121
1121
[ 0x00 , 0x01 , 0x10 , 0x11 , 0x02 , 0x03 , 0x12 , 0x13 ,
1122
1122
0x04 , 0x05 , 0x14 , 0x15 , 0x06 , 0x07 , 0x16 , 0x17 ] ,
1123
1123
[ 0 , 10 , 1 , 11 , 2 , 12 , 3 , 13 ] }
1124
- test_vec_perm ! { test_vec_perm_m16x8,
1124
+ test_vec_perm ! { test_vec_perm_m16x8,
1125
1125
m16x8, vector_bool_short,
1126
1126
[ false , false , false , false , false , false , false , false ] ,
1127
1127
[ true , true , true , true , true , true , true , true ] ,
1128
1128
[ 0x00 , 0x01 , 0x10 , 0x11 , 0x02 , 0x03 , 0x12 , 0x13 ,
1129
1129
0x04 , 0x05 , 0x14 , 0x15 , 0x06 , 0x07 , 0x16 , 0x17 ] ,
1130
1130
[ false , true , false , true , false , true , false , true ] }
1131
1131
1132
- test_vec_perm ! { test_vec_perm_u32x4,
1132
+ test_vec_perm ! { test_vec_perm_u32x4,
1133
1133
u32x4, vector_unsigned_int,
1134
1134
[ 0 , 1 , 2 , 3 ] ,
1135
1135
[ 10 , 11 , 12 , 13 ] ,
1136
1136
[ 0x00 , 0x01 , 0x02 , 0x03 , 0x10 , 0x11 , 0x12 , 0x13 ,
1137
1137
0x04 , 0x05 , 0x06 , 0x07 , 0x14 , 0x15 , 0x16 , 0x17 ] ,
1138
1138
[ 0 , 10 , 1 , 11 ] }
1139
- test_vec_perm ! { test_vec_perm_i32x4,
1139
+ test_vec_perm ! { test_vec_perm_i32x4,
1140
1140
i32x4, vector_signed_int,
1141
1141
[ 0 , 1 , 2 , 3 ] ,
1142
1142
[ 10 , 11 , 12 , 13 ] ,
1143
1143
[ 0x00 , 0x01 , 0x02 , 0x03 , 0x10 , 0x11 , 0x12 , 0x13 ,
1144
1144
0x04 , 0x05 , 0x06 , 0x07 , 0x14 , 0x15 , 0x16 , 0x17 ] ,
1145
1145
[ 0 , 10 , 1 , 11 ] }
1146
- test_vec_perm ! { test_vec_perm_m32x4,
1146
+ test_vec_perm ! { test_vec_perm_m32x4,
1147
1147
m32x4, vector_bool_int,
1148
1148
[ false , false , false , false ] ,
1149
1149
[ true , true , true , true ] ,
1150
1150
[ 0x00 , 0x01 , 0x02 , 0x03 , 0x10 , 0x11 , 0x12 , 0x13 ,
1151
1151
0x04 , 0x05 , 0x06 , 0x07 , 0x14 , 0x15 , 0x16 , 0x17 ] ,
1152
1152
[ false , true , false , true ] }
1153
- test_vec_perm ! { test_vec_perm_f32x4,
1153
+ test_vec_perm ! { test_vec_perm_f32x4,
1154
1154
f32x4, vector_float,
1155
1155
[ 0.0 , 1.0 , 2.0 , 3.0 ] ,
1156
1156
[ 1.0 , 1.1 , 1.2 , 1.3 ] ,
0 commit comments