Home
last modified time | relevance | path

Searched refs:TYPE_U32 (Results 1 – 16 of 16) sorted by relevance

/external/mesa3d/src/gallium/drivers/nv50/codegen/
Dnv50_ir_lowering_nv50.cpp49 case TYPE_U32: hTy = TYPE_U16; break; in expandIntegerMUL()
50 case TYPE_U64: hTy = TYPE_U32; break; in expandIntegerMUL()
87 bld->mkOp2(OP_UNION, TYPE_U32, r[2], r[1], r[0]); in expandIntegerMUL()
173 i->dType = i->sType = TYPE_U32; in split64BitOp()
348 arl = bld.mkOp2(OP_SHL, TYPE_U32, i->getDef(0), bld.getSSA(), bld.mkImm(0)); in handleAddrDef()
389 if (ty != TYPE_U32 && ty != TYPE_S32) in handleDIV()
415 bf = bld.mkOp2v(OP_ADD, TYPE_U32, bld.getSSA(), bf, bld.mkImm(-2)); in handleDIV()
422 bld.mkOp2(OP_MUL, TYPE_U32, (t = bld.getSSA()), q0, b)); in handleDIV()
423 bld.mkOp2(OP_SUB, TYPE_U32, (aRf = bld.getSSA()), a, t); in handleDIV()
425 bld.mkCvt(OP_CVT, TYPE_F32, (aR = bld.getSSA()), TYPE_U32, aRf); in handleDIV()
[all …]
Dnv50_ir_inlines.h60 case TYPE_U32: in typeSizeof()
86 return flt ? TYPE_F32 : (sgn ? TYPE_S32 : TYPE_U32);
108 case TYPE_U32: in isSignedType()
120 case TYPE_U32: return TYPE_S32; in intTypeToSigned()
Dnv50_ir_from_sm4.cpp306 return TYPE_U32; in inferSrcType()
337 return TYPE_U32; in inferDstType()
1150 srcPtr[s][dim] = mkOp2v(OP_SHL, TYPE_U32, getSSA(), index, mkImm(shl)); in getSrcPtr()
1167 index = mkOp2v(OP_SHL, TYPE_U32, getSSA(), index, mkImm(shl)); in getDstPtr()
1185 vtxBase[s] = mkOp2v(OP_PFETCH, TYPE_U32, getSSA(), mkImm(idx), vtxBase[s]); in getVtxPtr()
1275 ld = mkOp1(OP_VFETCH, TYPE_U32, res, iSym(idx, swz)); in src()
1310 res = mkOp1v(OP_RDSV, TYPE_U32, getSSA(), mkSysVal(SV_PRIMITIVE_ID, 0)); in src()
1315 res = mkOp1v(OP_RDSV, TYPE_U32, getSSA(), mkSysVal(SV_INVOCATION_ID, 0)); in src()
1319 mkOp1v(OP_RDSV, TYPE_U32, getSSA(), mkSysVal(SV_CLOCK, swz ? 1 : 0)); in src()
1329 res = mkOp1v(OP_RDSV, TYPE_U32, res, mkSysVal(SV_INVOCATION_ID, 0)); in src()
[all …]
Dnv50_ir_emit_nv50.cpp559 case TYPE_U32: enc = 0x6; break; in emitLoadStoreSizeLG()
585 case TYPE_U32: code[1] |= 0xc000; break; in emitLoadStoreSizeCS()
848 case TYPE_U32: code[1] |= 0x84000000; break; in emitMINMAX()
1034 case TYPE_U32: code[1] = 0x04000000; break; in emitISAD()
1045 case TYPE_U32: code[0] = 0x50008000; break; in emitISAD()
1068 case TYPE_U32: code[1] |= 0x04000000; break; in emitSET()
1125 case TYPE_U32: code[1] = 0x44400000; break; in emitCVT()
1156 case TYPE_U32: code[1] = 0x44004000; break; in emitCVT()
1168 case TYPE_U32: code[1] = 0x0c004000; break; in emitCVT()
1179 case TYPE_U32: in emitCVT()
[all …]
Dnv50_ir_peephole.cpp341 case TYPE_U32: in applyTo()
411 case TYPE_U32: res.data.u32 = a->data.u32 * b->data.u32; break; in expr()
423 case TYPE_U32: res.data.u32 = a->data.u32 / b->data.u32; break; in expr()
433 case TYPE_U32: res.data.u32 = a->data.u32 + b->data.u32; break; in expr()
451 case TYPE_U32: res.data.u32 = MAX2(a->data.u32, b->data.u32); break; in expr()
461 case TYPE_U32: res.data.u32 = MIN2(a->data.u32, b->data.u32); break; in expr()
481 case TYPE_U32: res.data.u32 = a->data.u32 >> b->data.u32; break; in expr()
674 if (s != 1 || (i->dType != TYPE_S32 && i->dType != TYPE_U32)) in opnd()
684 if (i->dType == TYPE_U32 && imm0.isPow2()) { in opnd()
688 if (i->dType == TYPE_U32) { in opnd()
[all …]
Dnv50_ir_build_util.cpp158 ty = TYPE_U32; in mkInterp()
401 return mkOp1v(OP_MOV, TYPE_U32, dst ? dst : getScratch(), mkImm(u)); in loadImm()
442 sym->reg.type = TYPE_U32; in mkSysVal()
Dnv50_ir.cpp325 reg.type = TYPE_U32; in ImmediateValue()
394 case TYPE_U32: in isInteger()
412 case TYPE_U32: return reg.data.s32 < 0; in isNegative()
426 case TYPE_U32: return util_is_power_of_two(reg.data.u32); in isPow2()
443 case TYPE_U32: in applyLog2()
Dnv50_ir_from_tgsi.cpp382 return nv50_ir::TYPE_U32; in inferSrcType()
405 case TGSI_OPCODE_F2U: return nv50_ir::TYPE_U32; in inferDstType()
1251 vtxBase[s] = mkOp2v(OP_PFETCH, TYPE_U32, getSSA(), mkImm(index), rel); in getVertexBase()
1327 return mkLoad(TYPE_U32, srcToSym(src, c), ptr); in fetchSrc()
1337 return mkLoad(TYPE_U32, srcToSym(src, c), ptr); in fetchSrc()
1343 return mkOp1v(OP_RDSV, TYPE_U32, getSSA(), srcToSym(src, c)); in fetchSrc()
1413 mkOp2(OP_WRSV, TYPE_U32, NULL, dstToSym(dst, c), val); in storeDst()
1417 mkStore(OP_EXPORT, TYPE_U32, dstToSym(dst, c), ptr, val); in storeDst()
1817 mkOp2(OP_SHL, TYPE_U32, dst0[c], dst0[c], mkImm(4)); in handleInstruction()
1822 mkOp2(OP_SHL, TYPE_U32, dst0[c], fetchSrc(0, c), mkImm(4)); in handleInstruction()
[all …]
Dnv50_ir_build_util.h64 Instruction *mkMov(Value *, Value *, DataType = TYPE_U32);
Dnv50_ir_print.cpp389 case TYPE_U32: PRINT("0x%08x", reg.data.u32); break; in print()
Dnv50_ir_target_nv50.cpp502 if (i->dType == TYPE_U32 || i->dType == TYPE_S32) { in getThroughput()
Dnv50_ir.h157 TYPE_U32, enumerator
Dnv50_ir_ra.cpp370 mov = new_Instruction(func, OP_MOV, TYPE_U32); in visit()
/external/mesa3d/src/gallium/drivers/nvc0/codegen/
Dnv50_ir_lowering_nvc0.cpp67 case TYPE_U32: builtin = NVC0_BUILTIN_DIV_U32; break; in handleDIV()
495 i->dType = i->sType = TYPE_U32; in split64BitOp()
659 DataType sTy = (i->op == OP_TXF) ? TYPE_U32 : TYPE_F32; in handleTEX()
674 bind = bld.mkSymbol(FILE_MEMORY_CONST, 15, TYPE_U32, i->tex.r * 4); in handleTEX()
675 bld.mkOp2(OP_SHL, TYPE_U32, tmp[0], rRel, shCnt); in handleTEX()
676 tmp[1] = bld.mkLoad(TYPE_U32, bind, tmp[0]); in handleTEX()
677 bld.mkOp2(OP_AND, TYPE_U32, tmp[0], tmp[1], in handleTEX()
684 bind = bld.mkSymbol(FILE_MEMORY_CONST, 15, TYPE_U32, i->tex.s * 4); in handleTEX()
685 bld.mkOp2(OP_SHL, TYPE_U32, tmp[0], sRel, shCnt); in handleTEX()
686 tmp[1] = bld.mkLoad(TYPE_U32, bind, tmp[0]); in handleTEX()
[all …]
Dnv50_ir_target_nvc0.cpp428 if (i->sType == TYPE_S32 || i->sType == TYPE_U32) { in insnCanLoad()
462 if (op == OP_SAD && ty != TYPE_S32 && ty != TYPE_U32) in isOpSupported()
519 if (insn->dType == TYPE_U32) in isSatSupported()
612 if (i->dType == TYPE_U32 || i->dType == TYPE_S32) { in getThroughput()
Dnv50_ir_emit_nvc0.cpp577 if (isLIMM(i->src(1), TYPE_U32)) { in emitUADD()
627 assert(i->dType == TYPE_S32 || i->dType == TYPE_U32); in emitISAD()
648 if (isLIMM(i->src(1), TYPE_U32)) { in emitLogicOp()
926 case TYPE_U32: in emitSLCT()
1346 case TYPE_U32: in emitLoadStoreType()