Home
last modified time | relevance | path

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

/third_party/mesa3d/src/nouveau/codegen/
Dnv50_ir_peephole.cpp588 res.data.f32 = a->data.f32 * b->data.f32 * exp2f(i->postFactor); in expr()
744 i->postFactor = 0; in expr()
827 res.data.f32 = a->data.f32 * b->data.f32 * exp2f(i->postFactor) + in expr()
913 float f = imm2.reg.data.f32 * exp2f(mul2->postFactor); in tryCollapseChainedMULs()
938 mul1->postFactor = e; in tryCollapseChainedMULs()
962 mul2->postFactor = e; in tryCollapseChainedMULs()
1118 i->postFactor = 0; in opnd()
1121 if (!i->postFactor && (imm0.isInteger(1) || imm0.isInteger(-1))) { in opnd()
1135 if (!i->postFactor && (imm0.isInteger(2) || imm0.isInteger(-2))) { in opnd()
1151 if (i->postFactor && i->sType == TYPE_F32) { in opnd()
[all …]
Dnv50_ir_emit_gk110.cpp577 assert(i->postFactor >= -3 && i->postFactor <= 3); in emitFMUL()
588 assert(i->postFactor == 0); in emitFMUL()
591 code[1] |= ((i->postFactor > 0) ? in emitFMUL()
592 (7 - i->postFactor) : (0 - i->postFactor)) << 12; in emitFMUL()
614 assert(!i->postFactor); in emitDMUL()
Dnv50_ir_emit_nvc0.cpp596 assert(i->postFactor >= -3 && i->postFactor <= 3); in emitFMUL()
600 assert(i->postFactor == 0); // constant folded, hopefully in emitFMUL()
605 code[1] |= ((i->postFactor > 0) ? in emitFMUL()
606 (7 - i->postFactor) : (0 - i->postFactor)) << 17; in emitFMUL()
620 assert(!neg && !i->saturate && !i->ftz && !i->postFactor); in emitFMUL()
639 assert(!i->postFactor); in emitDMUL()
Dnv50_ir_print.cpp730 if (postFactor) in print()
731 PRINT("x2^%i ", postFactor); in print()
Dnv50_ir.cpp583 postFactor = 0; in init()
770 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.h971 int8_t postFactor; // MUL/DIV(if < 0) by 1 << postFactor variable
/third_party/mesa3d/docs/relnotes/
D10.5.3.rst71 - nv50/ir: take postFactor into account when doing peephole