• Home
  • Raw
  • Download

Lines Matching refs:src_nr

706 i915_get_instruction_src_name(uint32_t src_type, uint32_t src_nr, char *name)  in i915_get_instruction_src_name()  argument
710 sprintf(name, "R%d", src_nr); in i915_get_instruction_src_name()
711 if (src_nr > 15) in i915_get_instruction_src_name()
715 if (src_nr < 8) in i915_get_instruction_src_name()
716 sprintf(name, "T%d", src_nr); in i915_get_instruction_src_name()
717 else if (src_nr == 8) in i915_get_instruction_src_name()
719 else if (src_nr == 9) in i915_get_instruction_src_name()
721 else if (src_nr == 10) in i915_get_instruction_src_name()
724 fprintf(out, "bad src reg T%d\n", src_nr); in i915_get_instruction_src_name()
729 sprintf(name, "C%d", src_nr); in i915_get_instruction_src_name()
730 if (src_nr > 31) in i915_get_instruction_src_name()
735 if (src_nr > 0) in i915_get_instruction_src_name()
736 fprintf(out, "bad src reg oC%d\n", src_nr); in i915_get_instruction_src_name()
740 if (src_nr > 0) in i915_get_instruction_src_name()
741 fprintf(out, "bad src reg oD%d\n", src_nr); in i915_get_instruction_src_name()
744 sprintf(name, "U%d", src_nr); in i915_get_instruction_src_name()
745 if (src_nr > 3) in i915_get_instruction_src_name()
759 int src_nr = (a0 >> 2) & 0x1f; in i915_get_instruction_src0() local
766 i915_get_instruction_src_name((a0 >> 7) & 0x7, src_nr, srcname); in i915_get_instruction_src0()
777 int src_nr = (a1 >> 8) & 0x1f; in i915_get_instruction_src1() local
784 i915_get_instruction_src_name((a1 >> 13) & 0x7, src_nr, srcname); in i915_get_instruction_src1()
794 int src_nr = (a2 >> 16) & 0x1f; in i915_get_instruction_src2() local
801 i915_get_instruction_src_name((a2 >> 21) & 0x7, src_nr, srcname); in i915_get_instruction_src2()
809 i915_get_instruction_addr(uint32_t src_type, uint32_t src_nr, char *name) in i915_get_instruction_addr() argument
813 sprintf(name, "R%d", src_nr); in i915_get_instruction_addr()
814 if (src_nr > 15) in i915_get_instruction_addr()
818 if (src_nr < 8) in i915_get_instruction_addr()
819 sprintf(name, "T%d", src_nr); in i915_get_instruction_addr()
820 else if (src_nr == 8) in i915_get_instruction_addr()
822 else if (src_nr == 9) in i915_get_instruction_addr()
824 else if (src_nr == 10) in i915_get_instruction_addr()
827 fprintf(out, "bad src reg T%d\n", src_nr); in i915_get_instruction_addr()
833 if (src_nr > 0) in i915_get_instruction_addr()
834 fprintf(out, "bad src reg oC%d\n", src_nr); in i915_get_instruction_addr()
838 if (src_nr > 0) in i915_get_instruction_addr()
839 fprintf(out, "bad src reg oD%d\n", src_nr); in i915_get_instruction_addr()