Home
last modified time | relevance | path

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

12

/external/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_lowering_nvc0.cpp54 case TYPE_U32: builtin = NVC0_BUILTIN_DIV_U32; break; in handleDIV()
669 ptr = bld.mkOp2v(OP_SHL, TYPE_U32, bld.getSSA(), ptr, bld.mkImm(2)); in loadTexHandle()
672 mkLoadv(TYPE_U32, bld.mkSymbol(FILE_MEMORY_CONST, b, TYPE_U32, off), ptr); in loadTexHandle()
762 bld.mkOp3(OP_INSBF, TYPE_U32, hnd, rHnd, bld.mkImm(0x1400), sHnd); in handleTEX()
772 DataType sTy = (i->op == OP_TXF) ? TYPE_U32 : TYPE_F32; in handleTEX()
819 ticRel = bld.mkOp2v(OP_ADD, TYPE_U32, bld.getScratch(), in handleTEX()
825 tscRel = bld.mkOp2v(OP_ADD, TYPE_U32, bld.getScratch(), in handleTEX()
840 DataType sTy = (i->op == OP_TXF) ? TYPE_U32 : TYPE_F32; in handleTEX()
847 bld.mkOp3(OP_INSBF, TYPE_U32, src, ticRel, bld.mkImm(0x0917), src); in handleTEX()
849 bld.mkOp3(OP_INSBF, TYPE_U32, src, tscRel, bld.mkImm(0x0710), src); in handleTEX()
[all …]
Dnv50_ir_lowering_nv50.cpp52 case TYPE_S32: fTy = TYPE_U32; break; in expandIntegerMUL()
59 case TYPE_U32: hTy = TYPE_U16; break; in expandIntegerMUL()
60 case TYPE_U64: hTy = TYPE_U32; break; in expandIntegerMUL()
125 bld->mkOp2(OP_UNION, TYPE_U32, r[2], r[1], r[3]); in expandIntegerMUL()
448 arl = bld.mkOp2(OP_SHL, TYPE_U32, i->getDef(0), bld.getSSA(), bld.mkImm(0)); in handleAddrDef()
489 if (ty != TYPE_U32 && ty != TYPE_S32) in handleDIV()
515 bf = bld.mkOp2v(OP_ADD, TYPE_U32, bld.getSSA(), bf, bld.mkImm(-2)); in handleDIV()
522 bld.mkOp2(OP_MUL, TYPE_U32, (t = bld.getSSA()), q0, b)); in handleDIV()
523 bld.mkOp2(OP_SUB, TYPE_U32, (aRf = bld.getSSA()), a, t); in handleDIV()
525 bld.mkCvt(OP_CVT, TYPE_F32, (aR = bld.getSSA()), TYPE_U32, aRf); in handleDIV()
[all …]
Dnv50_ir_lowering_gm107.cpp56 bld.mkOp2(OP_ADD , TYPE_U32, src0, i->getSrc(0), i->getSrc(1)); in handlePFETCH()
58 bld.mkOp1(OP_MOV , TYPE_U32, src0, i->getSrc(0)); in handlePFETCH()
177 Instruction *u = bld.mkOp(OP_UNION, TYPE_U32, i->getDef(c)); in handleManualTXD()
223 bld.mkOp1(OP_RDSV, TYPE_U32, tmp0, bld.mkSysVal(SV_INVOCATION_INFO, 0)); in handlePFETCH()
224 bld.mkOp2(OP_SHR , TYPE_U32, tmp1, tmp0, bld.mkImm(16)); in handlePFETCH()
225 bld.mkOp2(OP_AND , TYPE_U32, tmp0, tmp0, bld.mkImm(0xff)); in handlePFETCH()
226 bld.mkOp2(OP_AND , TYPE_U32, tmp1, tmp1, bld.mkImm(0xff)); in handlePFETCH()
228 bld.mkOp2(OP_ADD , TYPE_U32, tmp2, i->getSrc(0), i->getSrc(1)); in handlePFETCH()
230 bld.mkOp1(OP_MOV , TYPE_U32, tmp2, i->getSrc(0)); in handlePFETCH()
231 bld.mkOp3(OP_MAD , TYPE_U32, tmp0, tmp0, tmp1, tmp2); in handlePFETCH()
Dnv50_ir_inlines.h65 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()
Dnv50_ir_from_tgsi.cpp587 return nv50_ir::TYPE_U32; in inferSrcType()
642 case TGSI_OPCODE_F2U: return nv50_ir::TYPE_U32; in inferDstType()
654 return nv50_ir::TYPE_U32; in inferDstType()
1801 vtxBase[s] = mkOp2v(OP_PFETCH, TYPE_U32, getSSA(4, FILE_ADDRESS), in getVertexBase()
1814 offset = mkOp2v(OP_ADD, TYPE_U32, getSSA(), in getOutputBase()
1818 vtxBase[s] = mkOp2v(OP_ADD, TYPE_U32, getSSA(), outBase, offset); in getOutputBase()
1884 return mkOp2v(OP_SHL, TYPE_U32, getSSA(4, FILE_ADDRESS), index, mkImm(4)); in shiftAddress()
1912 return mkLoadv(TYPE_U32, srcToSym(src, c), shiftAddress(ptr)); in fetchSrc()
1922 return mkOp1v(OP_RDSV, TYPE_U32, getSSA(), mkSysVal(SV_PRIMITIVE_ID, 0)); in fetchSrc()
1929 return mkLoadv(TYPE_U32, srcToSym(src, c), ptr); in fetchSrc()
[all …]
Dnv50_ir_peephole.cpp469 case TYPE_U32: in applyTo()
547 case TYPE_U32: in expr()
564 case TYPE_U32: res.data.u32 = a->data.u32 / b->data.u32; break; in expr()
574 case TYPE_U32: res.data.u32 = a->data.u32 + b->data.u32; break; in expr()
584 case TYPE_U32: res.data.u32 = a->data.u32 - b->data.u32; break; in expr()
602 case TYPE_U32: res.data.u32 = MAX2(a->data.u32, b->data.u32); break; in expr()
612 case TYPE_U32: res.data.u32 = MIN2(a->data.u32, b->data.u32); break; in expr()
632 case TYPE_U32: res.data.u32 = a->data.u32 >> b->data.u32; break; in expr()
661 case TYPE_U32: res.data.u32 = (res.data.u32 << lshift) >> rshift; break; in expr()
674 type = TYPE_U32; in expr()
[all …]
Dnv50_ir_emit_nv50.cpp587 case TYPE_U32: enc = 0x6; break; in emitLoadStoreSizeLG()
613 case TYPE_U32: code[1] |= 0xc000; break; in emitLoadStoreSizeCS()
955 case TYPE_U32: code[1] |= 0x84000000; break; in emitMINMAX()
1245 case TYPE_U32: code[1] = 0x04000000; break; in emitISAD()
1256 case TYPE_U32: code[0] = 0x50008000; break; in emitISAD()
1303 case TYPE_U32: code[1] |= 0x04000000; break; in emitSET()
1358 if (i->op == OP_NEG && i->dType == TYPE_U32) in emitCVT()
1373 case TYPE_U32: code[1] = 0x44400000; break; in emitCVT()
1404 case TYPE_U32: code[1] = 0x44004000; break; in emitCVT()
1417 case TYPE_U32: code[1] = 0x0c004000; break; in emitCVT()
[all …]
Dnv50_ir_target_nvc0.cpp364 case TYPE_U32: in insnCanLoad()
425 if (op == OP_SAD && ty != TYPE_S32 && ty != TYPE_U32) in isOpSupported()
494 if (insn->dType == TYPE_U32) in isSatSupported()
594 if (i->dType == TYPE_U32 || i->dType == TYPE_S32) { in getThroughput()
Dnv50_ir_build_util.cpp157 ty = TYPE_U32; in mkInterp()
416 return mkOp1v(OP_MOV, TYPE_U32, dst ? dst : getScratch(), mkImm(u)); in loadImm()
458 sym->reg.type = TYPE_U32; in mkSysVal()
568 case TYPE_U64: hTy = TYPE_U32; break; in split64BitOpPostRA()
572 hTy = TYPE_U32; in split64BitOpPostRA()
Dnv50_ir.cpp325 reg.type = TYPE_U32; in ImmediateValue()
394 case TYPE_U32: in isInteger()
415 case TYPE_U32: return reg.data.s32 < 0; in isNegative()
429 case TYPE_U32: return util_is_power_of_two(reg.data.u32); in isPow2()
446 case TYPE_U32: in applyLog2()
Dnv50_ir_emit_gk110.cpp751 assert(i->dType == TYPE_S32 || i->dType == TYPE_U32); in emitISAD()
972 case TYPE_U32: in emitMINMAX()
1034 if (i->op == OP_NEG && i->dType == TYPE_U32) in emitCVT()
1569 assert(ty == TYPE_U32); in emitSUGType()
2003 case TYPE_U32: in emitLoadStoreType()
2282 case TYPE_U32: break; in emitATOM()
Dnv50_ir_emit_nvc0.cpp717 if (isLIMM(i->src(1), TYPE_U32)) { in emitUADD()
828 assert(i->dType == TYPE_S32 || i->dType == TYPE_U32); in emitISAD()
875 if (isLIMM(i->src(1), TYPE_U32)) { in emitLogicOp()
1074 if (i->op == OP_NEG && i->dType == TYPE_U32) in emitCVT()
1206 case TYPE_U32: in emitSLCT()
1780 case TYPE_U32: in emitLoadStoreType()
2085 if (i->dType == TYPE_U32) { in emitATOM()
2277 assert(ty == TYPE_U32); in emitSUGType()
Dnv50_ir_emit_gm107.cpp2429 case TYPE_U32: dType = 0; break; in emitATOM()
2438 case TYPE_U32: dType = 0; break; in emitATOM()
2469 case TYPE_U32: dType = 0; break; in emitATOMS()
2479 case TYPE_U32: dType = 0; break; in emitATOMS()
2507 case TYPE_U32: dType = 0; break; in emitRED()
2959 case TYPE_U32: type = 4; break; in emitSULDx()
2996 assert(insn->dType == TYPE_U32); in emitSUREDx()
Dnv50_ir_build_util.h66 Instruction *mkMov(Value *, Value *, DataType = TYPE_U32);
Dnv50_ir_print.cpp458 case TYPE_U32: PRINT("0x%08x", reg.data.u32); break; in print()
Dnv50_ir_target_nv50.cpp551 if (i->dType == TYPE_U32 || i->dType == TYPE_S32) { in getThroughput()
Dnv50_ir.h261 TYPE_U32, enumerator
/external/ltp/utils/ffsb-6.0-rc2/
Dparser.h29 #define TYPE_U32 0x0001 macro
51 {"time", NULL, TYPE_U32, STORE_SINGLE}, \
60 {"num_threads", NULL, TYPE_U32, STORE_SINGLE}, \
64 {"read_skip", NULL, TYPE_U32, STORE_SINGLE}, \
81 {"op_delay", NULL, TYPE_U32, STORE_SINGLE}, \
90 {"num_files", NULL, TYPE_U32, STORE_SINGLE}, \
91 {"num_dirs", NULL, TYPE_U32, STORE_SINGLE}, \
Dparser.c327 case TYPE_U32: in set_option()
/external/mesa3d/src/gallium/drivers/freedreno/ir3/
Dir3_compiler_nir.c326 mov->cat1.src_type = TYPE_U32; in create_immed()
327 mov->cat1.dst_type = TYPE_U32; in create_immed()
342 instr = ir3_COV(block, src, TYPE_U32, TYPE_S16); in create_addr()
422 mov->cat1.src_type = TYPE_U32; in create_uniform_indirect()
423 mov->cat1.dst_type = TYPE_U32; in create_uniform_indirect()
458 mov->cat1.src_type = TYPE_U32; in create_indirect_load()
459 mov->cat1.dst_type = TYPE_U32; in create_indirect_load()
481 mov->cat1.src_type = TYPE_U32; in create_var_load()
482 mov->cat1.dst_type = TYPE_U32; in create_var_load()
509 mov->cat1.src_type = TYPE_U32; in create_var_store()
[all …]
Dinstr-a3xx.h219 TYPE_U32 = 3, enumerator
230 case TYPE_U32: in type_size()
253 return (type == TYPE_U32) || (type == TYPE_U16) || (type == TYPE_U8); in type_uint()
Dir3_print.c72 [TYPE_U32] = "u32", in print_instr_name()
Dir3_sched.c647 mov = ir3_MOV(src->block, src, TYPE_U32); in sched_insert_parallel_copies()
Dir3.h711 case TYPE_U32: return TYPE_U16; in half_type()
Ddisasm-a3xx.c64 [TYPE_U32] = "u32",

12