/third_party/mesa3d/src/gallium/drivers/nouveau/codegen/ |
D | nv50_ir_lowering_nvc0.cpp | 70 case TYPE_U32: builtin = NVC0_BUILTIN_DIV_U32; break; in handleDIV() 241 DataType type = isSignedIntType(lo->dType) ? TYPE_S32 : TYPE_U32; in handleShift() 245 bld.mkOp2(OP_ADD, TYPE_U32, (x32_minus_shift = bld.getSSA()), shift, bld.mkImm(0x20)) in handleShift() 248 TYPE_U32, shift, bld.mkImm(32)); in handleShift() 250 bld.mkOp2(OP_OR, TYPE_U32, (hi1 = bld.getSSA()), in handleShift() 251 bld.mkOp2v(op, TYPE_U32, bld.getSSA(), src[1], shift), in handleShift() 252 bld.mkOp2v(antiop, TYPE_U32, bld.getSSA(), src[0], x32_minus_shift)) in handleShift() 260 bld.mkOp2(OP_UNION, TYPE_U32, (dst[1] = bld.getSSA()), hi1, hi2); in handleShift() 268 Instruction *hi = new_Instruction(func, op, TYPE_U32); in handleShift() 272 lo->dType = TYPE_U32; in handleShift() [all …]
|
D | nv50_ir_lowering_nv50.cpp | 70 case TYPE_S32: fTy = TYPE_U32; break; in expandIntegerMUL() 77 case TYPE_U32: hTy = TYPE_U16; break; in expandIntegerMUL() 78 case TYPE_U64: hTy = TYPE_U32; break; in expandIntegerMUL() 143 bld->mkOp2(OP_UNION, TYPE_U32, r[2], r[1], r[3]); in expandIntegerMUL() 471 arl = bld.mkOp2(OP_SHL, TYPE_U32, i->getDef(0), bld.getSSA(), bld.mkImm(0)); in handleAddrDef() 512 if (ty != TYPE_U32 && ty != TYPE_S32) in handleDIV() 538 bf = bld.mkOp2v(OP_ADD, TYPE_U32, bld.getSSA(), bf, bld.mkImm(-2)); in handleDIV() 545 bld.mkOp2(OP_MUL, TYPE_U32, (t = bld.getSSA()), q0, b)); in handleDIV() 546 bld.mkOp2(OP_SUB, TYPE_U32, (aRf = bld.getSSA()), a, t); in handleDIV() 548 bld.mkCvt(OP_CVT, TYPE_F32, (aR = bld.getSSA()), TYPE_U32, aRf); in handleDIV() [all …]
|
D | nv50_ir_lowering_gv100.cpp | 39 bld.mkOp3(OP_SELP, TYPE_U32, i->getDef(0), i->getSrc(0), i->getSrc(1), pred); in handleCMP() 61 bld.mkOp2(OP_ADD, TYPE_U32, def[0], src[0][0], src[1][0])-> in handleIADD64() 63 bld.mkOp2(OP_ADD, TYPE_U32, def[1], src[0][1], src[1][1])-> in handleIADD64() 138 bld.mkOp3(OP_LOP3_LUT, TYPE_U32, i->getDef(0), i->getSrc(0), i->getSrc(1), in handleLOP2() 146 bld.mkOp3(OP_LOP3_LUT, TYPE_U32, i->getDef(0), bld.mkImm(0), i->getSrc(0), in handleNOT() 197 i = bld.mkOp3(OP_SELP, TYPE_U32, i->getDef(0), bld.mkImm(0), met, pred); in handleSET() 334 bld.mkCmp(OP_SET, (i->op == OP_MIN) ? CC_LT : CC_GT, TYPE_U32, pred, in handleDMNMX() 339 bld.mkOp3(OP_SELP, TYPE_U32, dest[0], src0[0], src1[0], pred); in handleDMNMX() 340 bld.mkOp3(OP_SELP, TYPE_U32, dest[1], src0[1], src1[1], pred); in handleDMNMX() 353 bld.mkOp3(OP_PERMT, TYPE_U32, bit, i->getSrc(1), bld.mkImm(0x4440), zero); in handleEXTBF() [all …]
|
D | nv50_ir_lowering_gm107.cpp | 58 bld.mkOp2(OP_ADD , TYPE_U32, src0, i->getSrc(0), i->getSrc(1)); in handlePFETCH() 60 bld.mkOp1(OP_MOV , TYPE_U32, src0, i->getSrc(0)); in handlePFETCH() 142 bld.mkOp(OP_QUADON, TYPE_U32, bar); in handleManualTXD() 201 bld.mkOp1(OP_QUADPOP, TYPE_U32, NULL, bar)->fixed = 1; in handleManualTXD() 214 Instruction *u = bld.mkOp(OP_UNION, TYPE_U32, i->getDef(c)); in handleManualTXD() 260 bld.mkOp1(OP_RDSV, TYPE_U32, tmp0, bld.mkSysVal(SV_INVOCATION_INFO, 0)); in handlePFETCH() 261 bld.mkOp3(OP_PERMT, TYPE_U32, tmp1, tmp0, bld.mkImm(0x4442), bld.mkImm(0)); in handlePFETCH() 262 bld.mkOp3(OP_PERMT, TYPE_U32, tmp0, tmp0, bld.mkImm(0x4440), bld.mkImm(0)); in handlePFETCH() 264 bld.mkOp2(OP_ADD , TYPE_U32, tmp2, i->getSrc(0), i->getSrc(1)); in handlePFETCH() 266 bld.mkOp1(OP_MOV , TYPE_U32, tmp2, i->getSrc(0)); in handlePFETCH() [all …]
|
D | nv50_ir_from_nir.cpp | 847 indirect = mkOp2v(OP_SHL, TYPE_U32, getSSA(4, FILE_ADDRESS), indirect, loadImm(NULL, 4)); in getIndirect() 1238 mkLoad(TYPE_U32, lo, in loadFrom() 1239 mkSymbol(file, i, TYPE_U32, base + c * tySize), in loadFrom() 1245 mkLoad(TYPE_U32, hi, in loadFrom() 1246 mkSymbol(file, i, TYPE_U32, base + c * tySize + 4), in loadFrom() 1278 mkStore(op, TYPE_U32, mkSymbol(file, 0, TYPE_U32, address), indirect0, in storeTo() 1280 mkStore(op, TYPE_U32, mkSymbol(file, 0, TYPE_U32, address + 4), indirect0, in storeTo() 1369 OP_SUB, TYPE_U32, getSSA(), in visit() 1370 mkOp1v(OP_RDSV, TYPE_U32, getSSA(), mkSysVal(SV_LANEID, 0)), in visit() 1371 mkOp1v(OP_RDSV, TYPE_U32, getSSA(), mkSysVal(SV_INVOCATION_ID, 0))); in visit() [all …]
|
D | nv50_ir_from_tgsi.cpp | 555 return nv50_ir::TYPE_U32; in inferSrcType() 640 case TGSI_OPCODE_F2U: return nv50_ir::TYPE_U32; in inferDstType() 658 return nv50_ir::TYPE_U32; in inferDstType() 1882 vtxBase[s] = mkOp2v(OP_PFETCH, TYPE_U32, getSSA(4, FILE_ADDRESS), in getVertexBase() 1895 offset = mkOp2v(OP_ADD, TYPE_U32, getSSA(), in getOutputBase() 1899 vtxBase[s] = mkOp2v(OP_ADD, TYPE_U32, getSSA(), outBase, offset); in getOutputBase() 2004 return mkOp2v(OP_SHL, TYPE_U32, getSSA(4, FILE_ADDRESS), index, mkImm(4)); in shiftAddress() 2047 return mkLoadv(TYPE_U32, srcToSym(src, c), shiftAddress(ptr)); in fetchSrc() 2057 return mkOp1v(OP_RDSV, TYPE_U32, getSSA(), mkSysVal(SV_PRIMITIVE_ID, 0)); in fetchSrc() 2064 return mkLoadv(TYPE_U32, srcToSym(src, c), ptr); in fetchSrc() [all …]
|
D | nv50_ir_inlines.h | 65 case TYPE_U32: in typeSizeof() 89 case TYPE_U32: in typeSizeofLog2() 116 return flt ? TYPE_F32 : (sgn ? TYPE_S32 : TYPE_U32); 138 case TYPE_U32: in isSignedType() 152 case TYPE_U32: return TYPE_S32; in intTypeToSigned()
|
D | nv50_ir_peephole.cpp | 353 OP_SHL, TYPE_U32, bld.getSSA(), insn->getSrc(0), insn->getSrc(1))); in visit() 506 case TYPE_U32: in applyTo() 597 case TYPE_U32: in expr() 614 case TYPE_U32: res.data.u32 = a->data.u32 / b->data.u32; break; in expr() 624 case TYPE_U32: res.data.u32 = a->data.u32 + b->data.u32; break; in expr() 634 case TYPE_U32: res.data.u32 = a->data.u32 - b->data.u32; break; in expr() 652 case TYPE_U32: res.data.u32 = MAX2(a->data.u32, b->data.u32); break; in expr() 662 case TYPE_U32: res.data.u32 = MIN2(a->data.u32, b->data.u32); break; in expr() 682 case TYPE_U32: res.data.u32 = a->data.u32 >> b->data.u32; break; in expr() 711 case TYPE_U32: res.data.u32 = (res.data.u32 << lshift) >> rshift; break; in expr() [all …]
|
D | nv50_ir_emit_nv50.cpp | 585 case TYPE_U32: enc = 0x6; break; in emitLoadStoreSizeLG() 611 case TYPE_U32: code[1] |= 0xc000; break; in emitLoadStoreSizeCS() 962 case TYPE_U32: code[1] |= 0x84000000; break; in emitMINMAX() 1253 case TYPE_U32: code[1] = 0x04000000; break; in emitISAD() 1264 case TYPE_U32: code[0] = 0x50008000; break; in emitISAD() 1311 case TYPE_U32: code[1] |= 0x04000000; break; in emitSET() 1366 if (i->op == OP_NEG && i->dType == TYPE_U32) in emitCVT() 1381 case TYPE_U32: code[1] = 0x44400000; break; in emitCVT() 1412 case TYPE_U32: code[1] = 0x44004000; break; in emitCVT() 1428 case TYPE_U32: code[1] = 0x0c004000; break; in emitCVT() [all …]
|
D | nv50_ir_build_util.cpp | 159 ty = TYPE_U32; in mkInterp() 436 return mkOp1v(OP_MOV, TYPE_U32, dst ? dst : getScratch(), mkImm(u)); in loadImm() 478 sym->reg.type = TYPE_U32; in mkSysVal() 493 sym->reg.type = TYPE_U32; in mkTSVal() 598 case TYPE_U64: hTy = TYPE_U32; break; in split64BitOpPostRA() 602 hTy = TYPE_U32; in split64BitOpPostRA()
|
D | nv50_ir_target_nvc0.cpp | 415 case TYPE_U32: in insnCanLoad() 474 if (op == OP_SAD && ty != TYPE_S32 && ty != TYPE_U32) in isOpSupported() 546 if (insn->dType == TYPE_U32) in isSatSupported() 646 if (i->dType == TYPE_U32 || i->dType == TYPE_S32) { in getThroughput()
|
D | nv50_ir_build_util.h | 66 Instruction *mkMov(Value *, Value *, DataType = TYPE_U32); 312 return mkCvt(OP_CVT, TYPE_U32, dst, TYPE_U32, src); in mkBMov()
|
D | nv50_ir_lowering_helper.cpp | 94 (dTy == TYPE_U32 && sTy == TYPE_U64)) { in handleCVT() 104 } else if (dTy == TYPE_U64 && sTy == TYPE_U32) { in handleCVT()
|
D | nv50_ir_emit_gv100.cpp | 828 case TYPE_U32: in emitSHF() 877 case TYPE_U32 : dType = 0; break; in emitATOM() 893 case TYPE_U32: dType = 0; break; in emitATOM() 920 case TYPE_U32: dType = 0; break; in emitATOMS() 940 case TYPE_U32: dType = 0; break; in emitATOMS() 1131 case TYPE_U32: dType = 0; break; in emitRED() 1457 assert(insn->dType == TYPE_U32); in emitSUATOM() 1497 case TYPE_U32: type = 4; break; in emitSULD()
|
D | nv50_ir.cpp | 326 reg.type = TYPE_U32; in ImmediateValue() 395 case TYPE_U32: in isInteger() 416 case TYPE_U32: return reg.data.s32 < 0; in isNegative() 444 case TYPE_U32: in applyLog2() 916 sType = TYPE_U32; in TexInstruction()
|
/third_party/mesa3d/src/freedreno/ir3/ |
D | ir3_lower_subgroups.c | 69 mov->cat1.dst_type = (dst->flags & IR3_REG_HALF) ? TYPE_U16 : TYPE_U32; in mov_immed() 221 mov->cat1.dst_type = TYPE_U32; in lower_block() 223 (new_src->flags & IR3_REG_HALF) ? TYPE_U16 : TYPE_U32; in lower_block() 234 swz->cat1.dst_type = swz->cat1.src_type = TYPE_U32; in lower_block()
|
D | ir3_a6xx.c | 55 ldib->cat6.type = intr->dest.ssa.bit_size == 16 ? TYPE_U16 : TYPE_U32; in emit_intrinsic_load_ssbo() 83 stib->cat6.type = intr->src[0].ssa->bit_size == 16 ? TYPE_U16 : TYPE_U32; in emit_intrinsic_store_ssbo() 114 type_t type = TYPE_U32; in emit_intrinsic_atomic_ssbo() 356 resinfo->cat6.type = TYPE_U32; in emit_intrinsic_image_size() 384 load->cat6.type = TYPE_U32; in emit_intrinsic_load_global_ir3() 411 stg->cat6.type = TYPE_U32; in emit_intrinsic_store_global_ir3()
|
D | ir3_context.c | 251 ctx->last_dst[i] = ir3_MOV(ctx->block, ctx->last_dst[i], TYPE_U32); in ir3_put_dst() 341 type_t type = (flags & IR3_REG_HALF) ? TYPE_U16 : TYPE_U32; in ir3_create_collect() 418 instr = ir3_COV(block, src, TYPE_U32, TYPE_S16); in create_addr0() 579 mov->cat1.src_type = TYPE_U32; in ir3_create_array_load() 580 mov->cat1.dst_type = TYPE_U32; in ir3_create_array_load() 647 mov->cat1.src_type = TYPE_U32; in ir3_create_array_store() 648 mov->cat1.dst_type = TYPE_U32; in ir3_create_array_store()
|
D | ir3_lower_parallelcopy.c | 178 swz->cat1.dst_type = (entry->flags & IR3_REG_HALF) ? TYPE_U16 : TYPE_U32; in do_swap() 179 swz->cat1.src_type = (entry->flags & IR3_REG_HALF) ? TYPE_U16 : TYPE_U32; in do_swap() 237 cov->cat1.src_type = TYPE_U32; in do_copy() 261 mov->cat1.dst_type = (entry->flags & IR3_REG_HALF) ? TYPE_U16 : TYPE_U32; in do_copy() 262 mov->cat1.src_type = (entry->flags & IR3_REG_HALF) ? TYPE_U16 : TYPE_U32; in do_copy()
|
D | instr-a3xx.h | 357 TYPE_U32 = 3, enumerator 369 case TYPE_U32: in type_size() 394 return (type == TYPE_U32) || (type == TYPE_U16) || (type == TYPE_U8); in type_uint()
|
D | ir3_compiler_nir.c | 90 instr->cat6.type = TYPE_U32; in create_frag_input() 179 src_type = TYPE_U32; in create_cov() 197 src_type = TYPE_U32; in create_cov() 241 dst_type = TYPE_U32; in create_cov() 285 return ir3_COV(ctx->block, src, TYPE_U32, TYPE_U16); in resize_shift_amount() 297 nir_dest_bit_size(alu->dest.dest) == 16 ? TYPE_U16 : TYPE_U32; in emit_alu() 411 create_immed_typed(b, 0, bs[0] == 16 ? TYPE_U16 : TYPE_U32), 0); in emit_alu() 666 cond = ir3_COV(b, cond, TYPE_U32, TYPE_U16); in emit_alu() 683 hi = ir3_COV(b, ir3_SHR_B(b, src[0], 0, create_immed(b, 16), 0), TYPE_U32, in emit_alu() 685 lo = ir3_COV(b, src[0], TYPE_U32, TYPE_U16); in emit_alu() [all …]
|
D | ir3_a4xx.c | 58 ldgb->cat6.type = TYPE_U32; in emit_intrinsic_load_ssbo() 91 stgb->cat6.type = TYPE_U32; in emit_intrinsic_store_ssbo() 125 type_t type = TYPE_U32; in emit_intrinsic_atomic_ssbo()
|
D | ir3_image.c | 168 return bit_size == 16 ? TYPE_U16 : TYPE_U32; in ir3_get_type_for_image_intrinsic()
|
D | ir3_context.h | 255 return TYPE_U32; in utype_for_size()
|
D | ir3.h | 1193 case TYPE_U32: in half_type() 1214 return TYPE_U32; in full_type() 1218 case TYPE_U32: in full_type() 1405 return TYPE_U32; in ir3_output_conv_type() 1422 return TYPE_U32; in ir3_output_conv_type() 1741 return create_immed_typed(block, val, TYPE_U32); in create_immed()
|