Lines Matching refs:u256
88 fprintf(fp, "%016"PRIx64, v.bits.u256[3]); in print_vbits()
89 fprintf(fp, "%016"PRIx64, v.bits.u256[2]); in print_vbits()
90 fprintf(fp, "%016"PRIx64, v.bits.u256[1]); in print_vbits()
91 fprintf(fp, "%016"PRIx64, v.bits.u256[0]); in print_vbits()
93 fprintf(fp, "%016"PRIx64, v.bits.u256[0]); in print_vbits()
94 fprintf(fp, "%016"PRIx64, v.bits.u256[1]); in print_vbits()
95 fprintf(fp, "%016"PRIx64, v.bits.u256[2]); in print_vbits()
96 fprintf(fp, "%016"PRIx64, v.bits.u256[3]); in print_vbits()
120 case 256: new.bits.u256[0] = ~0ull; in undefined_vbits()
121 new.bits.u256[1] = ~0ull; in undefined_vbits()
122 new.bits.u256[2] = ~0ull; in undefined_vbits()
123 new.bits.u256[3] = ~0ull; in undefined_vbits()
147 case 256: new.bits.u256[0] = 0x0; in defined_vbits()
148 new.bits.u256[1] = 0x0; in defined_vbits()
149 new.bits.u256[2] = 0x0; in defined_vbits()
150 new.bits.u256[3] = 0x0; in defined_vbits()
173 case 256: return v1.bits.u256[0] == v2.bits.u256[0] && in equal_vbits()
174 v1.bits.u256[1] == v2.bits.u256[1] && in equal_vbits()
175 v1.bits.u256[2] == v2.bits.u256[2] && in equal_vbits()
176 v1.bits.u256[3] == v2.bits.u256[3]; in equal_vbits()
205 bits = v.bits.u256[0]; in truncate_vbits()
207 bits = v.bits.u256[3]; in truncate_vbits()
227 new.bits.u128[0] = v.bits.u256[0]; in truncate_vbits()
228 new.bits.u128[1] = v.bits.u256[1]; in truncate_vbits()
230 new.bits.u128[0] = v.bits.u256[2]; in truncate_vbits()
231 new.bits.u128[1] = v.bits.u256[3]; in truncate_vbits()
284 new.bits.u256[0] = bits; in left_vbits()
286 new.bits.u256[1] = ~0ull; in left_vbits()
287 new.bits.u256[2] = ~0ull; in left_vbits()
288 new.bits.u256[3] = ~0ull; in left_vbits()
290 new.bits.u256[1] = 0; in left_vbits()
291 new.bits.u256[2] = 0; in left_vbits()
292 new.bits.u256[3] = 0; in left_vbits()
295 new.bits.u256[3] = bits; in left_vbits()
297 new.bits.u256[0] = ~0ull; in left_vbits()
298 new.bits.u256[1] = ~0ull; in left_vbits()
299 new.bits.u256[2] = ~0ull; in left_vbits()
301 new.bits.u256[0] = 0; in left_vbits()
302 new.bits.u256[1] = 0; in left_vbits()
303 new.bits.u256[2] = 0; in left_vbits()
347 new.bits.u256[0] = b0; in left_vbits()
348 new.bits.u256[1] = b1; in left_vbits()
350 if (new.bits.u256[1] & (1ull << 63)) { // MSB is set in left_vbits()
351 new.bits.u256[2] = ~0ull; in left_vbits()
352 new.bits.u256[3] = ~0ull; in left_vbits()
354 new.bits.u256[2] = 0; in left_vbits()
355 new.bits.u256[3] = 0; in left_vbits()
361 new.bits.u256[2] = b0; in left_vbits()
362 new.bits.u256[3] = b1; in left_vbits()
364 if (new.bits.u256[2] & (1ull << 63)) { // MSB is set in left_vbits()
365 new.bits.u256[0] = ~0ull; in left_vbits()
366 new.bits.u256[1] = ~0ull; in left_vbits()
368 new.bits.u256[0] = 0; in left_vbits()
369 new.bits.u256[1] = 0; in left_vbits()
394 case 256: new.bits.u256[0] = v1.bits.u256[0] | v2.bits.u256[0]; in or_vbits()
395 new.bits.u256[1] = v1.bits.u256[1] | v2.bits.u256[1]; in or_vbits()
396 new.bits.u256[2] = v1.bits.u256[2] | v2.bits.u256[2]; in or_vbits()
397 new.bits.u256[3] = v1.bits.u256[3] | v2.bits.u256[3]; in or_vbits()
422 case 256: new.bits.u256[0] = v1.bits.u256[0] & v2.bits.u256[0]; in and_vbits()
423 new.bits.u256[1] = v1.bits.u256[1] & v2.bits.u256[1]; in and_vbits()
424 new.bits.u256[2] = v1.bits.u256[2] & v2.bits.u256[2]; in and_vbits()
425 new.bits.u256[3] = v1.bits.u256[3] & v2.bits.u256[3]; in and_vbits()
460 new.bits.u256[0] = v2.bits.u128[0]; in concat_vbits()
461 new.bits.u256[1] = v2.bits.u128[1]; in concat_vbits()
462 new.bits.u256[2] = v1.bits.u128[0]; in concat_vbits()
463 new.bits.u256[3] = v1.bits.u128[1]; in concat_vbits()
465 new.bits.u256[0] = v1.bits.u128[0]; in concat_vbits()
466 new.bits.u256[1] = v1.bits.u128[1]; in concat_vbits()
467 new.bits.u256[2] = v2.bits.u128[0]; in concat_vbits()
468 new.bits.u256[3] = v2.bits.u128[1]; in concat_vbits()
497 new.bits.u128[0] = v.bits.u256[2]; in upper_vbits()
498 new.bits.u128[1] = v.bits.u256[3]; in upper_vbits()
500 new.bits.u128[0] = v.bits.u256[0]; in upper_vbits()
501 new.bits.u128[1] = v.bits.u256[1]; in upper_vbits()
541 new.bits.u256[0] = bits; in zextend_vbits()
542 new.bits.u256[1] = 0; in zextend_vbits()
543 new.bits.u256[2] = 0; in zextend_vbits()
544 new.bits.u256[3] = 0; in zextend_vbits()
546 new.bits.u256[0] = 0; in zextend_vbits()
547 new.bits.u256[1] = 0; in zextend_vbits()
548 new.bits.u256[2] = 0; in zextend_vbits()
549 new.bits.u256[3] = bits; in zextend_vbits()
562 new.bits.u256[0] = v.bits.u128[0]; in zextend_vbits()
563 new.bits.u256[1] = v.bits.u128[1]; in zextend_vbits()
564 new.bits.u256[2] = 0; in zextend_vbits()
565 new.bits.u256[3] = 0; in zextend_vbits()
567 new.bits.u256[0] = 0; in zextend_vbits()
568 new.bits.u256[1] = 0; in zextend_vbits()
569 new.bits.u256[2] = v.bits.u128[1]; in zextend_vbits()
570 new.bits.u256[3] = v.bits.u128[0]; in zextend_vbits()
593 case 256: if (v.bits.u256[3] == (1ull << 63)) sextend = 1; break; in sextend_vbits()
638 new.bits.u256[0] = 1ull << bitno; in onehot_vbits()
639 new.bits.u256[1] = 0; in onehot_vbits()
640 new.bits.u256[2] = 0; in onehot_vbits()
641 new.bits.u256[3] = 0; in onehot_vbits()
643 new.bits.u256[0] = 0; in onehot_vbits()
644 new.bits.u256[1] = 1ull << (bitno - 64); in onehot_vbits()
645 new.bits.u256[2] = 0; in onehot_vbits()
646 new.bits.u256[3] = 0; in onehot_vbits()
648 new.bits.u256[0] = 0; in onehot_vbits()
649 new.bits.u256[1] = 0; in onehot_vbits()
650 new.bits.u256[2] = 1ull << (bitno - 128); in onehot_vbits()
651 new.bits.u256[3] = 0; in onehot_vbits()
653 new.bits.u256[0] = 0; in onehot_vbits()
654 new.bits.u256[1] = 0; in onehot_vbits()
655 new.bits.u256[2] = 0; in onehot_vbits()
656 new.bits.u256[3] = 1ull << (bitno - 192); in onehot_vbits()
660 new.bits.u256[0] = 0; in onehot_vbits()
661 new.bits.u256[1] = 0; in onehot_vbits()
662 new.bits.u256[2] = 0; in onehot_vbits()
663 new.bits.u256[3] = 1ull << bitno; in onehot_vbits()
665 new.bits.u256[0] = 0; in onehot_vbits()
666 new.bits.u256[1] = 0; in onehot_vbits()
667 new.bits.u256[2] = 1ull << (bitno - 64); in onehot_vbits()
668 new.bits.u256[3] = 0; in onehot_vbits()
670 new.bits.u256[0] = 0; in onehot_vbits()
671 new.bits.u256[1] = 1ull << (bitno - 128); in onehot_vbits()
672 new.bits.u256[2] = 0; in onehot_vbits()
673 new.bits.u256[3] = 0; in onehot_vbits()
675 new.bits.u256[0] = 1ull << (bitno - 192); in onehot_vbits()
676 new.bits.u256[1] = 0; in onehot_vbits()
677 new.bits.u256[2] = 0; in onehot_vbits()
678 new.bits.u256[3] = 0; in onehot_vbits()