Home
last modified time | relevance | path

Searched refs:reg_b (Results 1 – 6 of 6) sorted by relevance

/external/mesa3d/src/amd/compiler/tests/
Dtest_to_hw_instr.cpp39 v0_hi.reg_b += 2;
40 v1_hi.reg_b += 2;
41 v0_b1.reg_b += 1;
42 v1_b1.reg_b += 1;
43 v0_b3.reg_b += 3;
44 v1_b3.reg_b += 3;
372 v0_hi.reg_b += 2;
373 v0_b1.reg_b += 1;
374 v1_hi.reg_b += 2;
/external/mesa3d/src/amd/compiler/
Daco_lower_to_hw_instr.cpp931 def_reg.reg_b += offset; in split_copy()
932 op_reg.reg_b += offset; in split_copy()
940 bool can_increase = def_reg.reg_b % next == 0 && in split_copy()
943 can_increase = op_reg.reg_b % next == 0; in split_copy()
1131 if (copy.bytes == 3 && (copy.def.physReg().reg_b % 4 <= 1) && in do_swap()
1132 (copy.def.physReg().reg_b % 4) == (copy.op.physReg().reg_b % 4)) { in do_swap()
1136 op.reg_b &= ~0x3; in do_swap()
1137 def.reg_b &= ~0x3; in do_swap()
1146 op.reg_b += copy.def.physReg().reg_b % 4 == 0 ? 3 : 0; in do_swap()
1147 def.reg_b += copy.def.physReg().reg_b % 4 == 0 ? 3 : 0; in do_swap()
[all …]
Daco_validate.cpp727 …if ((op.getTemp().type() == RegType::vgpr && op.physReg().reg_b + op.bytes() > (256 + program->con… in validate_ra()
748 …if ((def.getTemp().type() == RegType::vgpr && def.physReg().reg_b + def.bytes() > (256 + program->… in validate_ra()
781 if (regs[reg.reg_b + i]) { in validate_ra()
782 …gnment of element %d of %%%d already taken by %%%d in live-out", i, tmp.id(), regs[reg.reg_b + i]); in validate_ra()
784 regs[reg.reg_b + i] = tmp.id(); in validate_ra()
797 if (regs[reg.reg_b + i]) in validate_ra()
798 …gnment of element %d of %%%d already taken by %%%d in live-out", i, tmp.id(), regs[reg.reg_b + i]); in validate_ra()
824 regs[reg.reg_b + i] = tmp.id(); in validate_ra()
835 regs[reg.reg_b + i] = 0; in validate_ra()
845 regs[op.physReg().reg_b + j] = 0; in validate_ra()
[all …]
Daco_register_allocation.cpp158 for (PhysReg i = start; i.reg_b < start.reg_b + num_bytes; i = PhysReg(i + 1)) { in test()
163 for (unsigned j = i.byte(); i * 4 + j < start.reg_b + num_bytes && j < 4; j++) { in test()
238 for (PhysReg i = start; i.reg_b < start.reg_b + num_bytes; i = PhysReg(i + 1)) { in fill_subdword()
241 for (unsigned j = i.byte(); i * 4 + j < start.reg_b + num_bytes && j < 4; j++) in fill_subdword()
725 res.reg_b += i; in get_reg_simple()
804 reg.reg_b += instr->operands[i].bytes(); in get_regs_for_copies()
1078 reg.reg_b += op.bytes(); in get_reg_impl()
1173 test_reg.reg_b = reg.reg_b & ~(sdw_def_info.second - 1); in get_reg_specified()
1199 reg.reg_b -= offset; in get_reg()
1230 reg.reg_b += (byte_offset - k); in get_reg()
[all …]
Daco_ir.h371 explicit constexpr PhysReg(unsigned r) : reg_b(r << 2) {} in PhysReg()
372 constexpr unsigned reg() const { return reg_b >> 2; } in reg()
373 constexpr unsigned byte() const { return reg_b & 0x3; } in byte()
375 constexpr bool operator==(PhysReg other) const { return reg_b == other.reg_b; }
376 constexpr bool operator!=(PhysReg other) const { return reg_b != other.reg_b; }
377 constexpr bool operator <(PhysReg other) const { return reg_b < other.reg_b; }
378 …constexpr PhysReg advance(int bytes) const { PhysReg res = *this; res.reg_b += bytes; return res; } in advance()
380 uint16_t reg_b = 0; member
/external/libyuv/files/source/
Drow_lsx.cc1682 __m128i reg_b, reg_g, reg_r, reg_a; in ARGBColorMatrixRow_LSX() local
1693 src1, matrix_a, reg_b, reg_g, reg_r, reg_a); in ARGBColorMatrixRow_LSX()
1696 DUP4_ARG2(__lsx_vhaddw_w_h, reg_b, reg_b, reg_g, reg_g, reg_r, reg_r, reg_a, in ARGBColorMatrixRow_LSX()
1697 reg_a, reg_b, reg_g, reg_r, reg_a); in ARGBColorMatrixRow_LSX()
1700 DUP4_ARG2(__lsx_vsrai_w, reg_b, 6, reg_g, 6, reg_r, 6, reg_a, 6, reg_b, in ARGBColorMatrixRow_LSX()
1704 DUP4_ARG1(__lsx_vclip255_w, reg_b, reg_g, reg_r, reg_a, reg_b, reg_g, reg_r, in ARGBColorMatrixRow_LSX()
1706 DUP4_ARG2(__lsx_vpickev_h, reg_b, tmp_b, reg_g, tmp_g, reg_r, tmp_r, reg_a, in ARGBColorMatrixRow_LSX()