Home
last modified time | relevance | path

Searched refs:postFactor (Results 1 – 9 of 9) sorted by relevance

/external/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_peephole.cpp585 res.data.f32 = a->data.f32 * b->data.f32 * exp2f(i->postFactor); in expr()
741 i->postFactor = 0; in expr()
824 res.data.f32 = a->data.f32 * b->data.f32 * exp2f(i->postFactor) + in expr()
910 float f = imm2.reg.data.f32 * exp2f(mul2->postFactor); in tryCollapseChainedMULs()
935 mul1->postFactor = e; in tryCollapseChainedMULs()
959 mul2->postFactor = e; in tryCollapseChainedMULs()
1114 i->postFactor = 0; in opnd()
1117 if (!i->postFactor && (imm0.isInteger(1) || imm0.isInteger(-1))) { in opnd()
1130 if (!i->postFactor && (imm0.isInteger(2) || imm0.isInteger(-2))) { in opnd()
1146 if (i->postFactor && i->sType == TYPE_F32) { in opnd()
[all …]
Dnv50_ir_emit_gk110.cpp579 assert(i->postFactor >= -3 && i->postFactor <= 3); in emitFMUL()
590 assert(i->postFactor == 0); in emitFMUL()
593 code[1] |= ((i->postFactor > 0) ? in emitFMUL()
594 (7 - i->postFactor) : (0 - i->postFactor)) << 12; in emitFMUL()
616 assert(!i->postFactor); in emitDMUL()
Dnv50_ir_emit_nvc0.cpp598 assert(i->postFactor >= -3 && i->postFactor <= 3); in emitFMUL()
602 assert(i->postFactor == 0); // constant folded, hopefully in emitFMUL()
607 code[1] |= ((i->postFactor > 0) ? in emitFMUL()
608 (7 - i->postFactor) : (0 - i->postFactor)) << 17; in emitFMUL()
622 assert(!neg && !i->saturate && !i->ftz && !i->postFactor); in emitFMUL()
641 assert(!i->postFactor); in emitDMUL()
Dnv50_ir_print.cpp701 if (postFactor) in print()
702 PRINT("x2^%i ", postFactor); in print()
Dnv50_ir.cpp587 postFactor = 0; in init()
772 i->postFactor = postFactor; in clone()
Dnv50_ir_emit_gv100.h135 emitField(pos, 3, insn->postFactor + 4); in emitPDIV()
Dnv50_ir_emit_gm107.cpp503 assert(insn->postFactor >= -3 && insn->postFactor <= 3); in emitPDIV()
504 if (insn->postFactor > 0) in emitPDIV()
505 emitField(pos, 3, 7 - insn->postFactor); in emitPDIV()
507 emitField(pos, 3, 0 - insn->postFactor); in emitPDIV()
Dnv50_ir.h943 int8_t postFactor; // MUL/DIV(if < 0) by 1 << postFactor variable
/external/mesa3d/docs/relnotes/
D10.5.3.rst71 - nv50/ir: take postFactor into account when doing peephole