/external/mesa3d/src/gallium/drivers/nouveau/codegen/ |
nv50_ir_lowering_gm107.cpp | 58 bld.mkOp2(OP_ADD , TYPE_U32, src0, i->getSrc(0), i->getSrc(1)); 140 add = bld.mkOp2(OP_QUADOP, TYPE_F32, crd[c], tmp, crd[c]); 148 add = bld.mkOp2(OP_QUADOP, TYPE_F32, crd[c], tmp, crd[c]); 158 bld.mkOp2(OP_MAX, TYPE_F32, val, src[0], src[1]); 159 bld.mkOp2(OP_MAX, TYPE_F32, val, src[2], val); 242 bld.mkOp2(OP_SHR , TYPE_U32, tmp1, tmp0, bld.mkImm(16)); 243 bld.mkOp2(OP_AND , TYPE_U32, tmp0, tmp0, bld.mkImm(0xff)); 244 bld.mkOp2(OP_AND , TYPE_U32, tmp1, tmp1, bld.mkImm(0xff)); 246 bld.mkOp2(OP_ADD , TYPE_U32, tmp2, i->getSrc(0), i->getSrc(1));
|
nv50_ir_lowering_nv50.cpp | 93 i[2] = i[3] = bld->mkOp2(OP_MUL, fTy, t[1], a[1], 96 i[2] = bld->mkOp2(OP_MUL, fTy, t[0], a[0], 105 i[7] = bld->mkOp2(OP_SHL, fTy, t[2], t[1], bld->mkImm(halfSize * 8)); 122 i[8] = bld->mkOp2(OP_SHR, fTy, r[0], t[1], bld->mkImm(halfSize * 8)); 123 i[6] = bld->mkOp2(OP_ADD, fTy, r[1], r[0], imm); 125 bld->mkOp2(OP_UNION, TYPE_U32, r[2], r[1], r[3]); 153 bld->mkOp2(OP_XOR, fTy, NULL, mul->getSrc(0), mul->getSrc(1)) 163 Instruction *n = bld->mkOp2(OP_ADD, fTy, NULL, rr[1], one); 169 bld->mkOp2(OP_ADD, fTy, rr[2], rr[0], one) 173 bld->mkOp2(OP_UNION, fTy, rr[4], rr[2], rr[3]) [all...] |
nv50_ir_lowering_nvc0.cpp | 112 bld.mkOp2(OP_MERGE, TYPE_U64, def, dst[0], dst[1]); 207 bld.mkOp2(OP_ADD, TYPE_U32, (x32_minus_shift = bld.getSSA()), shift, bld.mkImm(0x20)) 212 bld.mkOp2(OP_OR, TYPE_U32, (hi1 = bld.getSSA()), 217 bld.mkOp2(op, type, (dst[0] = bld.getSSA()), src[0], shift); 219 bld.mkOp2(op, type, (hi2 = bld.getSSA()), src[0], 222 bld.mkOp2(OP_UNION, TYPE_U32, (dst[1] = bld.getSSA()), hi1, hi2); 225 bld.mkOp2(OP_MERGE, TYPE_U64, dst64, dst[0], dst[1]); 254 bld.mkOp2(OP_MERGE, TYPE_U64, dst64, dst[0], dst[1]); 267 bld.mkOp2(OP_SUB, hTy, NULL, src0[0], src1[0]) 832 bld.mkOp2(OP_MAX, TYPE_F32, val, src[0], src[1]) [all...] |
nv50_ir_from_tgsi.cpp | [all...] |
nv50_ir_build_util.h | 54 Instruction *mkOp2(operation, DataType, Value *, Value *, Value *); 283 mkOp2(op, ty, dst, src0, src1);
|
nv50_ir_build_util.cpp | 78 BuildUtil::mkOp2(operation op, DataType ty, Value *dst, 266 Instruction *quadop = mkOp2(OP_QUADOP, TYPE_F32, def, src0, src1); 281 return mkOp2(OP_UNION, typeOfSize(dst->reg.size), dst, def0, def1);
|
nv50_ir_peephole.cpp | [all...] |