Searched refs:nr_insn (Results 1 - 25 of 35) sorted by relevance

12

/xsrc/external/mit/xf86-video-intel/dist/src/sna/
H A Dsna_stream.c117 assert(p.nr_insn*sizeof(struct brw_instruction) <= 64*sizeof(uint32_t));
119 stream->used -= 64*sizeof(uint32_t) - p.nr_insn*sizeof(struct brw_instruction);
140 assert(p.nr_insn*sizeof(struct brw_instruction) <= 256*sizeof(uint32_t));
142 stream->used -= 256*sizeof(uint32_t) - p.nr_insn*sizeof(struct brw_instruction);
H A Dgen8_eu.c676 assert(p->nr_insn + 1 < BRW_EU_MAX_INSN);
678 insn = memcpy(&p->store[p->nr_insn++], p->current, sizeof(*insn));
/xsrc/external/mit/xf86-video-intel-2014/dist/src/sna/
H A Dsna_stream.c117 assert(p.nr_insn*sizeof(struct brw_instruction) <= 64*sizeof(uint32_t));
119 stream->used -= 64*sizeof(uint32_t) - p.nr_insn*sizeof(struct brw_instruction);
140 assert(p.nr_insn*sizeof(struct brw_instruction) <= 256*sizeof(uint32_t));
142 stream->used -= 256*sizeof(uint32_t) - p.nr_insn*sizeof(struct brw_instruction);
H A Dgen8_eu.c676 assert(p->nr_insn + 1 < BRW_EU_MAX_INSN);
678 insn = memcpy(&p->store[p->nr_insn++], p->current, sizeof(*insn));
/xsrc/external/mit/xf86-video-intel/dist/src/sna/brw/
H A Dbrw_test_gen6.c112 #define compare(old) brw_test_compare(__FUNCTION__, p.gen, p.store, p.nr_insn, (struct brw_instruction *)old, ARRAY_SIZE(old))
153 for (n = 0; n < p->nr_insn; n++) {
H A Dbrw_test_gen4.c132 #define compare(old) brw_test_compare(__FUNCTION__, p.gen, p.store, p.nr_insn, (struct brw_instruction *)old, ARRAY_SIZE(old)-8)
H A Dbrw_test_gen5.c130 #define compare(old) brw_test_compare(__FUNCTION__, p.gen, p.store, p.nr_insn, (struct brw_instruction *)old, ARRAY_SIZE(old))
H A Dbrw_test_gen7.c112 #define compare(old) brw_test_compare(__FUNCTION__, p.gen, p.store, p.nr_insn, (struct brw_instruction *)old, ARRAY_SIZE(old))
H A Dbrw_eu.c139 p->nr_insn = 0;
H A Dbrw_eu.h1166 unsigned nr_insn; member in struct:brw_compile
1830 return &p->store[p->nr_insn];
1893 assert(p->nr_insn + 1 < BRW_EU_MAX_INSN);
1895 insn = &p->store[p->nr_insn++];
H A Dbrw_eu_emit.c787 struct brw_instruction *next_inst = &p->store[p->nr_insn];
1052 return &p->store[p->nr_insn];
1133 struct brw_instruction *landing = &p->store[p->nr_insn];
1913 for (ip = start + 1; ip < p->nr_insn; ip++) {
1937 for (ip = start + 1; ip < p->nr_insn; ip++) {
1963 for (ip = 0; ip < p->nr_insn; ip++) {
/xsrc/external/mit/xf86-video-intel-2014/dist/src/sna/brw/
H A Dbrw_test_gen6.c112 #define compare(old) brw_test_compare(__FUNCTION__, p.gen, p.store, p.nr_insn, (struct brw_instruction *)old, ARRAY_SIZE(old))
153 for (n = 0; n < p->nr_insn; n++) {
H A Dbrw_test_gen4.c132 #define compare(old) brw_test_compare(__FUNCTION__, p.gen, p.store, p.nr_insn, (struct brw_instruction *)old, ARRAY_SIZE(old)-8)
H A Dbrw_test_gen5.c130 #define compare(old) brw_test_compare(__FUNCTION__, p.gen, p.store, p.nr_insn, (struct brw_instruction *)old, ARRAY_SIZE(old))
H A Dbrw_test_gen7.c112 #define compare(old) brw_test_compare(__FUNCTION__, p.gen, p.store, p.nr_insn, (struct brw_instruction *)old, ARRAY_SIZE(old))
H A Dbrw_eu.c139 p->nr_insn = 0;
H A Dbrw_eu.h1166 unsigned nr_insn; member in struct:brw_compile
1830 return &p->store[p->nr_insn];
1893 assert(p->nr_insn + 1 < BRW_EU_MAX_INSN);
1895 insn = &p->store[p->nr_insn++];
H A Dbrw_eu_emit.c787 struct brw_instruction *next_inst = &p->store[p->nr_insn];
1052 return &p->store[p->nr_insn];
1133 struct brw_instruction *landing = &p->store[p->nr_insn];
1913 for (ip = start + 1; ip < p->nr_insn; ip++) {
1937 for (ip = start + 1; ip < p->nr_insn; ip++) {
1963 for (ip = 0; ip < p->nr_insn; ip++) {
/xsrc/external/mit/MesaLib/dist/src/intel/tools/
H A Di965_asm.c337 const int nr_insn = (p->next_insn_offset - start_offset) / 16; local in function:main
342 for (int i = 0; i < nr_insn; i++) {
/xsrc/external/mit/MesaLib/dist/src/intel/compiler/
H A Dbrw_eu.cpp334 p->nr_insn = 0;
396 p->nr_insn -= (p->next_insn_offset - start_offset) / sizeof(brw_inst);
397 p->nr_insn += sb.st_size / sizeof(brw_inst);
H A Dbrw_eu_emit.c644 brw_append_insns(struct brw_codegen *p, unsigned nr_insn, unsigned align) argument
649 const unsigned start_insn = ALIGN(p->nr_insn, align_insn);
650 const unsigned new_nr_insn = start_insn + nr_insn;
660 if (p->nr_insn < start_insn) {
661 memset(&p->store[p->nr_insn], 0,
662 (start_insn - p->nr_insn) * sizeof(brw_inst));
665 assert(p->next_insn_offset == p->nr_insn * sizeof(brw_inst));
666 p->nr_insn = new_nr_insn;
682 unsigned nr_insn = DIV_ROUND_UP(size, sizeof(brw_inst)); local in function:brw_append_data
683 void *dst = brw_append_insns(p, nr_insn, alig
[all...]
H A Dtest_eu_compact.cpp218 EXPECT_EQ(p->nr_insn, 1);
/xsrc/external/mit/MesaLib.old/dist/src/intel/compiler/
H A Dtest_eu_compact.cpp300 assert(p->nr_insn == 1);
H A Dbrw_eu.h83 #define brw_last_inst (&p->store[p->nr_insn - 1])
88 unsigned nr_insn; member in struct:brw_codegen
H A Dbrw_eu.c320 p->nr_insn = 0;

Completed in 29 milliseconds

12