Lines Matching full:hex
414 uint64_t hex = 0; in va_pack_alu() local
423 hex |= 1ull << 24; in va_pack_alu()
425 hex |= 1ull << 25; in va_pack_alu()
430 hex |= I->nan_mode << 8; in va_pack_alu()
432 hex |= 1ull << 10; in va_pack_alu()
434 hex |= 1ull << 11; in va_pack_alu()
441 hex |= (uint64_t)I->mux << 32; in va_pack_alu()
450 hex |= (1ull << 36); in va_pack_alu()
453 hex |= (0x1ull << 40); /* Absolute */ in va_pack_alu()
455 hex |= ((uint64_t)I->branch_offset & BITFIELD_MASK(27)) << 8; in va_pack_alu()
469 hex |= (uint64_t)I->arithmetic << 34; in va_pack_alu()
473 hex |= ((uint64_t)I->table) << 8; in va_pack_alu()
474 hex |= ((uint64_t)I->index) << 12; in va_pack_alu()
478 hex |= ((uint64_t)I->table) << 16; in va_pack_alu()
479 hex |= ((uint64_t)I->attribute_index) << 20; in va_pack_alu()
487 hex |= ((uint64_t)I->index) << 8; in va_pack_alu()
491 hex |= ((uint64_t)I->inactive_result) << 22; in va_pack_alu()
492 hex |= ((uint64_t)I->lane_op) << 32; in va_pack_alu()
493 hex |= ((uint64_t)I->subgroup) << 36; in va_pack_alu()
506 hex |= ((uint64_t)I->varying_name) << 12; /* instead of index */ in va_pack_alu()
509 hex |= ((uint64_t)I->index) << 16; in va_pack_alu()
512 hex |= ((uint64_t)I->table) << 8; in va_pack_alu()
513 hex |= ((uint64_t)I->index) << 12; in va_pack_alu()
516 hex |= ((uint64_t)va_pack_source_format(I)) << 24; in va_pack_alu()
517 hex |= ((uint64_t)I->update) << 36; in va_pack_alu()
518 hex |= ((uint64_t)I->sample) << 38; in va_pack_alu()
522 hex |= ((uint64_t)I->table) << 16; in va_pack_alu()
523 hex |= ((uint64_t)I->attribute_index) << 20; in va_pack_alu()
528 hex |= ((uint64_t)I->table) << 16; in va_pack_alu()
529 hex |= ((uint64_t)I->texture_index) << 20; in va_pack_alu()
533 hex |= ((uint64_t)I->subgroup) << 36; in va_pack_alu()
538 hex |= (1 << 24); in va_pack_alu()
540 hex |= (1 << 25); in va_pack_alu()
550 hex |= ((uint64_t)I->special) << 48; in va_pack_alu()
557 hex |= (uint64_t)va_pack_dest(I) << 40; in va_pack_alu()
560 hex |= 0xC0ull << 40; /* Placeholder */ in va_pack_alu()
575 hex |= (uint64_t)va_pack_src(I, logical_i + src_offset) << (8 * i); in va_pack_alu()
579 hex |= (1ull << 35); in va_pack_alu()
585 hex |= 1ull << neg_offs; in va_pack_alu()
587 hex |= 1ull << abs_offs; in va_pack_alu()
602 hex |= v << offs; in va_pack_alu()
605 hex |= (uint64_t)va_pack_widen(I, src.swizzle, src_info.size) << offs; in va_pack_alu()
611 hex |= (src.swizzle == BI_SWIZZLE_H11 ? 1 : 0) << offs; in va_pack_alu()
613 hex |= ((uint64_t)va_pack_combine(I, src.swizzle) << 37); in va_pack_alu()
618 hex |= (uint64_t)comp << offs; in va_pack_alu()
623 hex |= (uint64_t)va_pack_shift_lanes(I, src.swizzle) << 26; in va_pack_alu()
628 hex |= (uint64_t)va_pack_widen_f32(I, src.swizzle) << 37; in va_pack_alu()
632 hex |= (uint64_t)va_pack_halfswizzle(I, src.swizzle) << 36; in va_pack_alu()
639 hex |= (uint64_t)I->saturate << 30; in va_pack_alu()
641 hex |= va_pack_rhadd(I); in va_pack_alu()
643 hex |= (uint64_t)I->clamp << 32; in va_pack_alu()
645 hex |= (uint64_t)I->round << 30; in va_pack_alu()
647 hex |= (uint64_t)I->cmpf << 32; in va_pack_alu()
649 hex |= (uint64_t)I->result_type << 30; in va_pack_alu()
651 return hex; in va_pack_alu()
686 uint64_t hex = (uint64_t)load_lane_identity[memory_size] << 36; in va_pack_load() local
689 hex |= (1ull << 39); in va_pack_load()
692 hex |= va_pack_byte_offset(I); in va_pack_load()
694 hex |= (uint64_t)va_pack_src(I, 0) << 0; in va_pack_load()
697 hex |= (uint64_t)va_pack_src(I, 1) << 8; in va_pack_load()
699 return hex; in va_pack_load()
720 uint64_t hex = va_pack_memory_access(I) << 24; in va_pack_store() local
723 hex |= (uint64_t)va_pack_src(I, 1) << 0; in va_pack_store()
725 hex |= va_pack_byte_offset(I); in va_pack_store()
727 return hex; in va_pack_store()
798 uint64_t hex = info.exact | (((uint64_t)I->flow) << 59); in va_pack_instr() local
799 hex |= ((uint64_t)va_select_fau_page(I)) << 57; in va_pack_instr()
802 hex |= ((uint64_t)I->slot << 30); in va_pack_instr()
811 hex |= ((uint64_t)count << 33); in va_pack_instr()
812 hex |= (uint64_t)va_pack_reg(I, sr) << 40; in va_pack_instr()
813 hex |= ((uint64_t)info.sr_control << 46); in va_pack_instr()
817 hex |= ((uint64_t)bi_count_write_registers(I, 0) - 1) << 36; in va_pack_instr()
818 hex |= ((uint64_t)va_pack_reg(I, I->dest[0])) << 16; in va_pack_instr()
822 hex |= ((uint64_t)I->vecsize << 28); in va_pack_instr()
825 hex |= ((uint64_t)va_pack_register_format(I)) << 24; in va_pack_instr()
836 hex |= va_pack_load(I, false); in va_pack_instr()
847 hex |= va_pack_load(I, true); in va_pack_instr()
858 hex |= va_pack_store(I); in va_pack_instr()
864 hex |= (0x40ull << 40); // fake read in va_pack_instr()
869 hex |= (uint64_t)va_pack_src(I, 0) << 0; in va_pack_instr()
870 hex |= va_pack_byte_offset_8(I); in va_pack_instr()
871 hex |= ((uint64_t)va_pack_atom_opc_1(I)) << 22; in va_pack_instr()
878 hex |= (uint64_t)va_pack_src(I, 1) << 0; in va_pack_instr()
879 hex |= va_pack_byte_offset_8(I); in va_pack_instr()
880 hex |= ((uint64_t)va_pack_atom_opc(I)) << 22; in va_pack_instr()
883 hex |= (0xc0ull << 40); // flags in va_pack_instr()
886 hex |= (1 << 26); /* .compare */ in va_pack_instr()
892 hex |= va_pack_store(I); in va_pack_instr()
895 hex |= (uint64_t)va_pack_src(I, 3) << 16; in va_pack_instr()
900 hex |= ((uint64_t)va_pack_src(I, 2)) << 0; in va_pack_instr()
906 hex |= ((I->branch_offset >> 3) << 8); in va_pack_instr()
909 hex |= ((uint64_t)va_pack_reg(I, I->src[1])) << 16; in va_pack_instr()
913 hex |= ((uint64_t)(vecsize - 1) << 28); in va_pack_instr()
923 hex |= ((uint64_t)va_pack_src(I, 1)) << 0; in va_pack_instr()
930 hex |= (1ull << 8); in va_pack_instr()
932 hex |= (1ull << 10); in va_pack_instr()
934 hex |= (1ull << 11); in va_pack_instr()
936 hex |= (1ull << 12); in va_pack_instr()
938 hex |= (1ull << 39); in va_pack_instr()
940 hex |= (1ull << 46); in va_pack_instr()
944 hex |= (1ull << 12); in va_pack_instr()
946 hex |= (1ull << 13); in va_pack_instr()
948 hex |= (1ull << 14); in va_pack_instr()
950 hex |= (1ull << 15); in va_pack_instr()
954 hex |= ((uint64_t)va_pack_lod_mode(I)) << 13; in va_pack_instr()
958 hex |= (1 << 13); in va_pack_instr()
959 hex |= ((uint64_t)I->fetch_component) << 14; in va_pack_instr()
962 hex |= (I->write_mask << 22); in va_pack_instr()
963 hex |= ((uint64_t)I->dimension) << 28; in va_pack_instr()
972 hex |= va_pack_alu(I); in va_pack_instr()
976 return hex; in va_pack_instr()
1108 uint64_t hex = va_pack_instr(I); in bi_pack_valhall() local
1109 util_dynarray_append(emission, uint64_t, hex); in bi_pack_valhall()