Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_peephole.cpp538 res.data.f32 = a->data.f32 * b->data.f32 * exp2f(i->postFactor); in expr()
694 i->postFactor = 0; in expr()
757 res.data.f32 = a->data.f32 * b->data.f32 * exp2f(i->postFactor) + in expr()
843 float f = imm2.reg.data.f32 * exp2f(mul2->postFactor); in tryCollapseChainedMULs()
868 mul1->postFactor = e; in tryCollapseChainedMULs()
892 mul2->postFactor = e; in tryCollapseChainedMULs()
989 i->postFactor = 0; in opnd()
992 if (!i->postFactor && (imm0.isInteger(1) || imm0.isInteger(-1))) { in opnd()
1005 if (!i->postFactor && (imm0.isInteger(2) || imm0.isInteger(-2))) { in opnd()
1020 if (i->postFactor && i->sType == TYPE_F32) { in opnd()
[all …]
Dnv50_ir_print.cpp634 if (postFactor) in print()
635 PRINT("x2^%i ", postFactor); in print()
Dnv50_ir_emit_gk110.cpp556 assert(i->postFactor >= -3 && i->postFactor <= 3); in emitFMUL()
567 assert(i->postFactor == 0); in emitFMUL()
570 code[1] |= ((i->postFactor > 0) ? in emitFMUL()
571 (7 - i->postFactor) : (0 - i->postFactor)) << 12; in emitFMUL()
593 assert(!i->postFactor); in emitDMUL()
Dnv50_ir_emit_nvc0.cpp579 assert(i->postFactor >= -3 && i->postFactor <= 3); in emitFMUL()
583 assert(i->postFactor == 0); // constant folded, hopefully in emitFMUL()
588 code[1] |= ((i->postFactor > 0) ? in emitFMUL()
589 (7 - i->postFactor) : (0 - i->postFactor)) << 17; in emitFMUL()
603 assert(!neg && !i->saturate && !i->ftz && !i->postFactor); in emitFMUL()
622 assert(!i->postFactor); in emitDMUL()
Dnv50_ir.cpp581 postFactor = 0; in init()
766 i->postFactor = postFactor; in clone()
Dnv50_ir_emit_gm107.cpp490 assert(insn->postFactor >= -3 && insn->postFactor <= 3); in emitPDIV()
491 if (insn->postFactor > 0) in emitPDIV()
492 emitField(pos, 3, 7 - insn->postFactor); in emitPDIV()
494 emitField(pos, 3, 0 - insn->postFactor); in emitPDIV()
Dnv50_ir.h879 int8_t postFactor; // MUL/DIV(if < 0) by 1 << postFactor variable