Lines Matching refs:uncompacted
1084 uint32_t uncompacted; /* 17b/G45; 19b/IVB+; 21b/TGL+ */ in set_control_index() local
1087 uncompacted = (brw_inst_bits(src, 95, 92) << 17) | /* 4b */ in set_control_index()
1098 uncompacted = (brw_inst_bits(src, 33, 31) << 16) | /* 3b */ in set_control_index()
1104 uncompacted = (brw_inst_bits(src, 31, 31) << 16) | /* 1b */ in set_control_index()
1111 uncompacted |= brw_inst_bits(src, 90, 89) << 17; /* 2b */ in set_control_index()
1115 if (c->control_index_table[i] == uncompacted) { in set_control_index()
1129 uint32_t uncompacted; /* 18b/G45+; 21b/BDW+; 20b/TGL+ */ in set_datatype_index() local
1132 uncompacted = (brw_inst_bits(src, 91, 88) << 15) | /* 4b */ in set_datatype_index()
1146 uncompacted |= brw_inst_bits(src, 98, 98) << 19; /* 1b */ in set_datatype_index()
1149 uncompacted = (brw_inst_bits(src, 63, 61) << 18) | /* 3b */ in set_datatype_index()
1153 uncompacted = (brw_inst_bits(src, 63, 61) << 15) | /* 3b */ in set_datatype_index()
1158 if (c->datatype_table[i] == uncompacted) { in set_datatype_index()
1172 uint16_t uncompacted; /* 15b */ in set_subreg_index() local
1175 uncompacted = (brw_inst_bits(src, 55, 51) << 0) | /* 5b */ in set_subreg_index()
1179 uncompacted |= brw_inst_bits(src, 103, 99) << 10; /* 5b */ in set_subreg_index()
1181 uncompacted = (brw_inst_bits(src, 52, 48) << 0) | /* 5b */ in set_subreg_index()
1185 uncompacted |= brw_inst_bits(src, 100, 96) << 10; /* 5b */ in set_subreg_index()
1189 if (c->subreg_table[i] == uncompacted) { in set_subreg_index()
1203 uint16_t uncompacted; /* 12b */ in set_src0_index() local
1208 uncompacted = (brw_inst_bits(src, 87, 84) << 8) | /* 4b */ in set_src0_index()
1215 uncompacted = brw_inst_bits(src, 88, 77); /* 12b */ in set_src0_index()
1219 if (c->src0_index_table[i] == uncompacted) { in set_src0_index()
1243 uint16_t uncompacted; /* 12b */ in set_src1_index() local
1248 uncompacted = (brw_inst_bits(src, 121, 120) << 10) | /* 2b */ in set_src1_index()
1255 uncompacted = brw_inst_bits(src, 120, 109); /* 12b */ in set_src1_index()
1259 if (c->src1_index_table[i] == uncompacted) { in set_src1_index()
1276 uint64_t uncompacted = /* 37b/XeHP+ */ in set_3src_control_index() local
1297 if (xehp_3src_control_index_table[i] == uncompacted) { in set_3src_control_index()
1303 uint64_t uncompacted = /* 36b/TGL+ */ in set_3src_control_index() local
1324 if (gfx12_3src_control_index_table[i] == uncompacted) { in set_3src_control_index()
1330 uint32_t uncompacted = /* 24b/BDW; 26b/CHV/SKL+ */ in set_3src_control_index() local
1335 uncompacted |= in set_3src_control_index()
1340 if (gfx8_3src_control_index_table[i] == uncompacted) { in set_3src_control_index()
1357 uint32_t uncompacted = /* 21b/TGL+ */ in set_3src_source_index() local
1382 if (three_src_source_index_table[i] == uncompacted) { in set_3src_source_index()
1388 uint64_t uncompacted = /* 46b/BDW; 49b/CHV/SKL+ */ in set_3src_source_index() local
1396 uncompacted |= in set_3src_source_index()
1401 uncompacted |= in set_3src_source_index()
1407 if (gfx8_3src_source_index_table[i] == uncompacted) { in set_3src_source_index()
1423 uint32_t uncompacted = /* 20b/TGL+ */ in set_3src_subreg_index() local
1430 if (gfx12_3src_subreg_table[i] == uncompacted) { in set_3src_subreg_index()
1911 uint32_t uncompacted = in set_uncompacted_control() local
1915 brw_inst_set_bits(dst, 95, 92, (uncompacted >> 17)); in set_uncompacted_control()
1916 brw_inst_set_bits(dst, 34, 34, (uncompacted >> 16) & 0x1); in set_uncompacted_control()
1917 brw_inst_set_bits(dst, 33, 33, (uncompacted >> 15) & 0x1); in set_uncompacted_control()
1918 brw_inst_set_bits(dst, 32, 32, (uncompacted >> 14) & 0x1); in set_uncompacted_control()
1919 brw_inst_set_bits(dst, 31, 31, (uncompacted >> 13) & 0x1); in set_uncompacted_control()
1920 brw_inst_set_bits(dst, 28, 28, (uncompacted >> 12) & 0x1); in set_uncompacted_control()
1921 brw_inst_set_bits(dst, 27, 24, (uncompacted >> 8) & 0xf); in set_uncompacted_control()
1922 brw_inst_set_bits(dst, 23, 22, (uncompacted >> 6) & 0x3); in set_uncompacted_control()
1923 brw_inst_set_bits(dst, 21, 19, (uncompacted >> 3) & 0x7); in set_uncompacted_control()
1924 brw_inst_set_bits(dst, 18, 16, (uncompacted >> 0) & 0x7); in set_uncompacted_control()
1926 brw_inst_set_bits(dst, 33, 31, (uncompacted >> 16)); in set_uncompacted_control()
1927 brw_inst_set_bits(dst, 23, 12, (uncompacted >> 4) & 0xfff); in set_uncompacted_control()
1928 brw_inst_set_bits(dst, 10, 9, (uncompacted >> 2) & 0x3); in set_uncompacted_control()
1929 brw_inst_set_bits(dst, 34, 34, (uncompacted >> 1) & 0x1); in set_uncompacted_control()
1930 brw_inst_set_bits(dst, 8, 8, (uncompacted >> 0) & 0x1); in set_uncompacted_control()
1932 brw_inst_set_bits(dst, 31, 31, (uncompacted >> 16) & 0x1); in set_uncompacted_control()
1933 brw_inst_set_bits(dst, 23, 8, (uncompacted & 0xffff)); in set_uncompacted_control()
1936 brw_inst_set_bits(dst, 90, 89, uncompacted >> 17); in set_uncompacted_control()
1945 uint32_t uncompacted = in set_uncompacted_datatype() local
1949 brw_inst_set_bits(dst, 98, 98, (uncompacted >> 19)); in set_uncompacted_datatype()
1950 brw_inst_set_bits(dst, 91, 88, (uncompacted >> 15) & 0xf); in set_uncompacted_datatype()
1951 brw_inst_set_bits(dst, 66, 66, (uncompacted >> 14) & 0x1); in set_uncompacted_datatype()
1952 brw_inst_set_bits(dst, 50, 50, (uncompacted >> 13) & 0x1); in set_uncompacted_datatype()
1953 brw_inst_set_bits(dst, 49, 48, (uncompacted >> 11) & 0x3); in set_uncompacted_datatype()
1954 brw_inst_set_bits(dst, 47, 47, (uncompacted >> 10) & 0x1); in set_uncompacted_datatype()
1955 brw_inst_set_bits(dst, 46, 46, (uncompacted >> 9) & 0x1); in set_uncompacted_datatype()
1956 brw_inst_set_bits(dst, 43, 40, (uncompacted >> 5) & 0xf); in set_uncompacted_datatype()
1957 brw_inst_set_bits(dst, 39, 36, (uncompacted >> 1) & 0xf); in set_uncompacted_datatype()
1958 brw_inst_set_bits(dst, 35, 35, (uncompacted >> 0) & 0x1); in set_uncompacted_datatype()
1960 brw_inst_set_bits(dst, 63, 61, (uncompacted >> 18)); in set_uncompacted_datatype()
1961 brw_inst_set_bits(dst, 94, 89, (uncompacted >> 12) & 0x3f); in set_uncompacted_datatype()
1962 brw_inst_set_bits(dst, 46, 35, (uncompacted >> 0) & 0xfff); in set_uncompacted_datatype()
1964 brw_inst_set_bits(dst, 63, 61, (uncompacted >> 15)); in set_uncompacted_datatype()
1965 brw_inst_set_bits(dst, 46, 32, (uncompacted & 0x7fff)); in set_uncompacted_datatype()
1974 uint16_t uncompacted = in set_uncompacted_subreg() local
1978 brw_inst_set_bits(dst, 103, 99, (uncompacted >> 10)); in set_uncompacted_subreg()
1979 brw_inst_set_bits(dst, 71, 67, (uncompacted >> 5) & 0x1f); in set_uncompacted_subreg()
1980 brw_inst_set_bits(dst, 55, 51, (uncompacted >> 0) & 0x1f); in set_uncompacted_subreg()
1982 brw_inst_set_bits(dst, 100, 96, (uncompacted >> 10)); in set_uncompacted_subreg()
1983 brw_inst_set_bits(dst, 68, 64, (uncompacted >> 5) & 0x1f); in set_uncompacted_subreg()
1984 brw_inst_set_bits(dst, 52, 48, (uncompacted >> 0) & 0x1f); in set_uncompacted_subreg()
1994 uint16_t uncompacted = c->src0_index_table[compacted]; in set_uncompacted_src0() local
1997 brw_inst_set_bits(dst, 87, 84, (uncompacted >> 8)); in set_uncompacted_src0()
1998 brw_inst_set_bits(dst, 83, 81, (uncompacted >> 5) & 0x7); in set_uncompacted_src0()
1999 brw_inst_set_bits(dst, 80, 80, (uncompacted >> 4) & 0x1); in set_uncompacted_src0()
2000 brw_inst_set_bits(dst, 65, 64, (uncompacted >> 2) & 0x3); in set_uncompacted_src0()
2001 brw_inst_set_bits(dst, 45, 44, (uncompacted >> 0) & 0x3); in set_uncompacted_src0()
2003 brw_inst_set_bits(dst, 88, 77, uncompacted); in set_uncompacted_src0()
2012 uint16_t uncompacted = in set_uncompacted_src1() local
2016 brw_inst_set_bits(dst, 121, 120, (uncompacted >> 10)); in set_uncompacted_src1()
2017 brw_inst_set_bits(dst, 119, 116, (uncompacted >> 6) & 0xf); in set_uncompacted_src1()
2018 brw_inst_set_bits(dst, 115, 113, (uncompacted >> 3) & 0x7); in set_uncompacted_src1()
2019 brw_inst_set_bits(dst, 112, 112, (uncompacted >> 2) & 0x1); in set_uncompacted_src1()
2020 brw_inst_set_bits(dst, 97, 96, (uncompacted >> 0) & 0x3); in set_uncompacted_src1()
2022 brw_inst_set_bits(dst, 120, 109, uncompacted); in set_uncompacted_src1()
2035 uint64_t uncompacted = xehp_3src_control_index_table[compacted]; in set_uncompacted_3src_control_index() local
2037 brw_inst_set_bits(dst, 95, 92, (uncompacted >> 33)); in set_uncompacted_3src_control_index()
2038 brw_inst_set_bits(dst, 90, 88, (uncompacted >> 30) & 0x7); in set_uncompacted_3src_control_index()
2039 brw_inst_set_bits(dst, 82, 80, (uncompacted >> 27) & 0x7); in set_uncompacted_3src_control_index()
2040 brw_inst_set_bits(dst, 50, 50, (uncompacted >> 26) & 0x1); in set_uncompacted_3src_control_index()
2041 brw_inst_set_bits(dst, 49, 48, (uncompacted >> 24) & 0x3); in set_uncompacted_3src_control_index()
2042 brw_inst_set_bits(dst, 42, 40, (uncompacted >> 21) & 0x7); in set_uncompacted_3src_control_index()
2043 brw_inst_set_bits(dst, 39, 39, (uncompacted >> 20) & 0x1); in set_uncompacted_3src_control_index()
2044 brw_inst_set_bits(dst, 38, 36, (uncompacted >> 17) & 0x7); in set_uncompacted_3src_control_index()
2045 brw_inst_set_bits(dst, 34, 34, (uncompacted >> 16) & 0x1); in set_uncompacted_3src_control_index()
2046 brw_inst_set_bits(dst, 33, 33, (uncompacted >> 15) & 0x1); in set_uncompacted_3src_control_index()
2047 brw_inst_set_bits(dst, 32, 32, (uncompacted >> 14) & 0x1); in set_uncompacted_3src_control_index()
2048 brw_inst_set_bits(dst, 31, 31, (uncompacted >> 13) & 0x1); in set_uncompacted_3src_control_index()
2049 brw_inst_set_bits(dst, 28, 28, (uncompacted >> 12) & 0x1); in set_uncompacted_3src_control_index()
2050 brw_inst_set_bits(dst, 27, 24, (uncompacted >> 8) & 0xf); in set_uncompacted_3src_control_index()
2051 brw_inst_set_bits(dst, 23, 23, (uncompacted >> 7) & 0x1); in set_uncompacted_3src_control_index()
2052 brw_inst_set_bits(dst, 22, 22, (uncompacted >> 6) & 0x1); in set_uncompacted_3src_control_index()
2053 brw_inst_set_bits(dst, 21, 19, (uncompacted >> 3) & 0x7); in set_uncompacted_3src_control_index()
2054 brw_inst_set_bits(dst, 18, 16, (uncompacted >> 0) & 0x7); in set_uncompacted_3src_control_index()
2058 uint64_t uncompacted = gfx12_3src_control_index_table[compacted]; in set_uncompacted_3src_control_index() local
2060 brw_inst_set_bits(dst, 95, 92, (uncompacted >> 32)); in set_uncompacted_3src_control_index()
2061 brw_inst_set_bits(dst, 90, 88, (uncompacted >> 29) & 0x7); in set_uncompacted_3src_control_index()
2062 brw_inst_set_bits(dst, 82, 80, (uncompacted >> 26) & 0x7); in set_uncompacted_3src_control_index()
2063 brw_inst_set_bits(dst, 50, 50, (uncompacted >> 25) & 0x1); in set_uncompacted_3src_control_index()
2064 brw_inst_set_bits(dst, 48, 48, (uncompacted >> 24) & 0x1); in set_uncompacted_3src_control_index()
2065 brw_inst_set_bits(dst, 42, 40, (uncompacted >> 21) & 0x7); in set_uncompacted_3src_control_index()
2066 brw_inst_set_bits(dst, 39, 39, (uncompacted >> 20) & 0x1); in set_uncompacted_3src_control_index()
2067 brw_inst_set_bits(dst, 38, 36, (uncompacted >> 17) & 0x7); in set_uncompacted_3src_control_index()
2068 brw_inst_set_bits(dst, 34, 34, (uncompacted >> 16) & 0x1); in set_uncompacted_3src_control_index()
2069 brw_inst_set_bits(dst, 33, 33, (uncompacted >> 15) & 0x1); in set_uncompacted_3src_control_index()
2070 brw_inst_set_bits(dst, 32, 32, (uncompacted >> 14) & 0x1); in set_uncompacted_3src_control_index()
2071 brw_inst_set_bits(dst, 31, 31, (uncompacted >> 13) & 0x1); in set_uncompacted_3src_control_index()
2072 brw_inst_set_bits(dst, 28, 28, (uncompacted >> 12) & 0x1); in set_uncompacted_3src_control_index()
2073 brw_inst_set_bits(dst, 27, 24, (uncompacted >> 8) & 0xf); in set_uncompacted_3src_control_index()
2074 brw_inst_set_bits(dst, 23, 23, (uncompacted >> 7) & 0x1); in set_uncompacted_3src_control_index()
2075 brw_inst_set_bits(dst, 22, 22, (uncompacted >> 6) & 0x1); in set_uncompacted_3src_control_index()
2076 brw_inst_set_bits(dst, 21, 19, (uncompacted >> 3) & 0x7); in set_uncompacted_3src_control_index()
2077 brw_inst_set_bits(dst, 18, 16, (uncompacted >> 0) & 0x7); in set_uncompacted_3src_control_index()
2080 uint32_t uncompacted = gfx8_3src_control_index_table[compacted]; in set_uncompacted_3src_control_index() local
2082 brw_inst_set_bits(dst, 34, 32, (uncompacted >> 21) & 0x7); in set_uncompacted_3src_control_index()
2083 brw_inst_set_bits(dst, 28, 8, (uncompacted >> 0) & 0x1fffff); in set_uncompacted_3src_control_index()
2086 brw_inst_set_bits(dst, 36, 35, (uncompacted >> 24) & 0x3); in set_uncompacted_3src_control_index()
2102 uint32_t uncompacted = three_src_source_index_table[compacted]; in set_uncompacted_3src_source_index() local
2104 brw_inst_set_bits(dst, 114, 114, (uncompacted >> 20)); in set_uncompacted_3src_source_index()
2105 brw_inst_set_bits(dst, 113, 112, (uncompacted >> 18) & 0x3); in set_uncompacted_3src_source_index()
2106 brw_inst_set_bits(dst, 98, 98, (uncompacted >> 17) & 0x1); in set_uncompacted_3src_source_index()
2107 brw_inst_set_bits(dst, 97, 96, (uncompacted >> 15) & 0x3); in set_uncompacted_3src_source_index()
2108 brw_inst_set_bits(dst, 91, 91, (uncompacted >> 14) & 0x1); in set_uncompacted_3src_source_index()
2109 brw_inst_set_bits(dst, 87, 86, (uncompacted >> 12) & 0x3); in set_uncompacted_3src_source_index()
2110 brw_inst_set_bits(dst, 85, 84, (uncompacted >> 10) & 0x3); in set_uncompacted_3src_source_index()
2111 brw_inst_set_bits(dst, 83, 83, (uncompacted >> 9) & 0x1); in set_uncompacted_3src_source_index()
2112 brw_inst_set_bits(dst, 66, 66, (uncompacted >> 8) & 0x1); in set_uncompacted_3src_source_index()
2113 brw_inst_set_bits(dst, 65, 64, (uncompacted >> 6) & 0x3); in set_uncompacted_3src_source_index()
2114 brw_inst_set_bits(dst, 47, 47, (uncompacted >> 5) & 0x1); in set_uncompacted_3src_source_index()
2115 brw_inst_set_bits(dst, 46, 46, (uncompacted >> 4) & 0x1); in set_uncompacted_3src_source_index()
2116 brw_inst_set_bits(dst, 45, 44, (uncompacted >> 2) & 0x3); in set_uncompacted_3src_source_index()
2117 brw_inst_set_bits(dst, 43, 43, (uncompacted >> 1) & 0x1); in set_uncompacted_3src_source_index()
2118 brw_inst_set_bits(dst, 35, 35, (uncompacted >> 0) & 0x1); in set_uncompacted_3src_source_index()
2120 uint64_t uncompacted = gfx8_3src_source_index_table[compacted]; in set_uncompacted_3src_source_index() local
2122 brw_inst_set_bits(dst, 83, 83, (uncompacted >> 43) & 0x1); in set_uncompacted_3src_source_index()
2123 brw_inst_set_bits(dst, 114, 107, (uncompacted >> 35) & 0xff); in set_uncompacted_3src_source_index()
2124 brw_inst_set_bits(dst, 93, 86, (uncompacted >> 27) & 0xff); in set_uncompacted_3src_source_index()
2125 brw_inst_set_bits(dst, 72, 65, (uncompacted >> 19) & 0xff); in set_uncompacted_3src_source_index()
2126 brw_inst_set_bits(dst, 55, 37, (uncompacted >> 0) & 0x7ffff); in set_uncompacted_3src_source_index()
2129 brw_inst_set_bits(dst, 126, 125, (uncompacted >> 47) & 0x3); in set_uncompacted_3src_source_index()
2130 brw_inst_set_bits(dst, 105, 104, (uncompacted >> 45) & 0x3); in set_uncompacted_3src_source_index()
2131 brw_inst_set_bits(dst, 84, 84, (uncompacted >> 44) & 0x1); in set_uncompacted_3src_source_index()
2133 brw_inst_set_bits(dst, 125, 125, (uncompacted >> 45) & 0x1); in set_uncompacted_3src_source_index()
2134 brw_inst_set_bits(dst, 104, 104, (uncompacted >> 44) & 0x1); in set_uncompacted_3src_source_index()
2146 uint32_t uncompacted = gfx12_3src_subreg_table[compacted]; in set_uncompacted_3src_subreg_index() local
2148 brw_inst_set_bits(dst, 119, 115, (uncompacted >> 15)); in set_uncompacted_3src_subreg_index()
2149 brw_inst_set_bits(dst, 103, 99, (uncompacted >> 10) & 0x1f); in set_uncompacted_3src_subreg_index()
2150 brw_inst_set_bits(dst, 71, 67, (uncompacted >> 5) & 0x1f); in set_uncompacted_3src_subreg_index()
2151 brw_inst_set_bits(dst, 55, 51, (uncompacted >> 0) & 0x1f); in set_uncompacted_3src_subreg_index()
2276 brw_inst *uncompacted) in brw_debug_compact_uncompact() argument
2285 brw_disassemble_inst(stderr, devinfo, uncompacted, false, 0, NULL); in brw_debug_compact_uncompact()
2288 uint32_t *after_bits = (uint32_t *)uncompacted; in brw_debug_compact_uncompact()
2488 brw_inst uncompacted; in brw_compact_instructions() local
2489 uncompact_instruction(&c, &uncompacted, dst); in brw_compact_instructions()
2490 if (memcmp(&saved, &uncompacted, sizeof(uncompacted))) { in brw_compact_instructions()
2491 brw_debug_compact_uncompact(devinfo, &saved, &uncompacted); in brw_compact_instructions()
2555 brw_inst uncompacted; in brw_compact_instructions() local
2556 uncompact_instruction(&c, &uncompacted, in brw_compact_instructions()
2559 update_uip_jip(devinfo, &uncompacted, this_old_ip, in brw_compact_instructions()
2563 &uncompacted); in brw_compact_instructions()