File tree Expand file tree Collapse file tree 6 files changed +32
-16
lines changed Expand file tree Collapse file tree 6 files changed +32
-16
lines changed Original file line number Diff line number Diff line change @@ -209,7 +209,8 @@ struct avx2_vector<int32_t> {
209
209
{
210
210
return v;
211
211
}
212
- static bool all_false (opmask_t k){
212
+ static bool all_false (opmask_t k)
213
+ {
213
214
return _mm256_movemask_ps (_mm256_castsi256_ps (k)) == 0 ;
214
215
}
215
216
static int double_compressstore (type_t *left_addr,
@@ -362,7 +363,8 @@ struct avx2_vector<uint32_t> {
362
363
{
363
364
return v;
364
365
}
365
- static bool all_false (opmask_t k){
366
+ static bool all_false (opmask_t k)
367
+ {
366
368
return _mm256_movemask_ps (_mm256_castsi256_ps (k)) == 0 ;
367
369
}
368
370
static int double_compressstore (type_t *left_addr,
@@ -532,7 +534,8 @@ struct avx2_vector<float> {
532
534
{
533
535
return _mm256_castps_si256 (v);
534
536
}
535
- static bool all_false (opmask_t k){
537
+ static bool all_false (opmask_t k)
538
+ {
536
539
return _mm256_movemask_ps (_mm256_castsi256_ps (k)) == 0 ;
537
540
}
538
541
static int double_compressstore (type_t *left_addr,
Original file line number Diff line number Diff line change @@ -214,7 +214,8 @@ struct avx2_vector<int64_t> {
214
214
{
215
215
return v;
216
216
}
217
- static bool all_false (opmask_t k){
217
+ static bool all_false (opmask_t k)
218
+ {
218
219
return _mm256_movemask_pd (_mm256_castsi256_pd (k)) == 0 ;
219
220
}
220
221
};
@@ -391,7 +392,8 @@ struct avx2_vector<uint64_t> {
391
392
{
392
393
return v;
393
394
}
394
- static bool all_false (opmask_t k){
395
+ static bool all_false (opmask_t k)
396
+ {
395
397
return _mm256_movemask_pd (_mm256_castsi256_pd (k)) == 0 ;
396
398
}
397
399
};
@@ -590,7 +592,8 @@ struct avx2_vector<double> {
590
592
{
591
593
return _mm256_castpd_si256 (v);
592
594
}
593
- static bool all_false (opmask_t k){
595
+ static bool all_false (opmask_t k)
596
+ {
594
597
return _mm256_movemask_pd (_mm256_castsi256_pd (k)) == 0 ;
595
598
}
596
599
};
Original file line number Diff line number Diff line change @@ -190,7 +190,8 @@ struct zmm_vector<float16> {
190
190
{
191
191
return v;
192
192
}
193
- static bool all_false (opmask_t k){
193
+ static bool all_false (opmask_t k)
194
+ {
194
195
return k == 0 ;
195
196
}
196
197
static int double_compressstore (type_t *left_addr,
@@ -334,7 +335,8 @@ struct zmm_vector<int16_t> {
334
335
{
335
336
return v;
336
337
}
337
- static bool all_false (opmask_t k){
338
+ static bool all_false (opmask_t k)
339
+ {
338
340
return k == 0 ;
339
341
}
340
342
static int double_compressstore (type_t *left_addr,
@@ -475,7 +477,8 @@ struct zmm_vector<uint16_t> {
475
477
{
476
478
return v;
477
479
}
478
- static bool all_false (opmask_t k){
480
+ static bool all_false (opmask_t k)
481
+ {
479
482
return k == 0 ;
480
483
}
481
484
static int double_compressstore (type_t *left_addr,
Original file line number Diff line number Diff line change @@ -198,7 +198,8 @@ struct zmm_vector<int32_t> {
198
198
{
199
199
return v;
200
200
}
201
- static bool all_false (opmask_t k){
201
+ static bool all_false (opmask_t k)
202
+ {
202
203
return k == 0 ;
203
204
}
204
205
static int double_compressstore (type_t *left_addr,
@@ -380,7 +381,8 @@ struct zmm_vector<uint32_t> {
380
381
{
381
382
return v;
382
383
}
383
- static bool all_false (opmask_t k){
384
+ static bool all_false (opmask_t k)
385
+ {
384
386
return k == 0 ;
385
387
}
386
388
static int double_compressstore (type_t *left_addr,
@@ -576,7 +578,8 @@ struct zmm_vector<float> {
576
578
{
577
579
return _mm512_castps_si512 (v);
578
580
}
579
- static bool all_false (opmask_t k){
581
+ static bool all_false (opmask_t k)
582
+ {
580
583
return k == 0 ;
581
584
}
582
585
static int double_compressstore (type_t *left_addr,
Original file line number Diff line number Diff line change @@ -732,7 +732,8 @@ struct zmm_vector<int64_t> {
732
732
{
733
733
return v;
734
734
}
735
- static bool all_false (opmask_t k){
735
+ static bool all_false (opmask_t k)
736
+ {
736
737
return k == 0 ;
737
738
}
738
739
static int double_compressstore (type_t *left_addr,
@@ -906,7 +907,8 @@ struct zmm_vector<uint64_t> {
906
907
{
907
908
return v;
908
909
}
909
- static bool all_false (opmask_t k){
910
+ static bool all_false (opmask_t k)
911
+ {
910
912
return k == 0 ;
911
913
}
912
914
static int double_compressstore (type_t *left_addr,
@@ -1099,7 +1101,8 @@ struct zmm_vector<double> {
1099
1101
{
1100
1102
return _mm512_castpd_si512 (v);
1101
1103
}
1102
- static bool all_false (opmask_t k){
1104
+ static bool all_false (opmask_t k)
1105
+ {
1103
1106
return k == 0 ;
1104
1107
}
1105
1108
static int double_compressstore (type_t *left_addr,
Original file line number Diff line number Diff line change @@ -154,7 +154,8 @@ struct zmm_vector<_Float16> {
154
154
{
155
155
return _mm512_castph_si512 (v);
156
156
}
157
- static bool all_false (opmask_t k){
157
+ static bool all_false (opmask_t k)
158
+ {
158
159
return k == 0 ;
159
160
}
160
161
static int double_compressstore (type_t *left_addr,
You can’t perform that action at this time.
0 commit comments