Home
last modified time | relevance | path

Searched refs:TYPE_S32 (Results 1 – 20 of 20) sorted by relevance

/external/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_inlines.h66 case TYPE_S32: in typeSizeof()
90 case TYPE_S32: in typeSizeofLog2()
116 return flt ? TYPE_F32 : (sgn ? TYPE_S32 : TYPE_U32);
129 return (ty == TYPE_S8 || ty == TYPE_S16 || ty == TYPE_S32 || ty == TYPE_S64); in isSignedIntType()
152 case TYPE_U32: return TYPE_S32; in intTypeToSigned()
Dnv50_ir_emit_gk110.cpp622 if (i->sType == TYPE_S32) in emitIMUL()
629 if (i->sType == TYPE_S32) in emitIMUL()
699 if (isLIMM(i->src(1), TYPE_S32)) { in emitUADD()
736 if (i->sType == TYPE_S32) in emitIMAD()
751 assert(i->dType == TYPE_S32 || i->dType == TYPE_U32); in emitISAD()
755 if (i->dType == TYPE_S32) in emitISAD()
861 if (isLIMM(i->src(1), TYPE_S32)) { in emitLogicOp()
876 assert(!isLIMM(i->src(1), TYPE_S32, true)); in emitPOPC()
896 if (i->dType == TYPE_S32) in emitEXTBF()
907 if (i->dType == TYPE_S32) in emitBFIND()
[all …]
Dnv50_ir_peephole.cpp466 case TYPE_S32: in applyTo()
541 case TYPE_S32: in expr()
563 case TYPE_S32: res.data.s32 = a->data.s32 / b->data.s32; break; in expr()
573 case TYPE_S32: in expr()
583 case TYPE_S32: in expr()
601 case TYPE_S32: res.data.s32 = MAX2(a->data.s32, b->data.s32); break; in expr()
611 case TYPE_S32: res.data.s32 = MIN2(a->data.s32, b->data.s32); break; in expr()
631 case TYPE_S32: res.data.s32 = a->data.s32 >> b->data.u32; break; in expr()
660 case TYPE_S32: res.data.s32 = (res.data.s32 << lshift) >> rshift; break; in expr()
763 case TYPE_S32: in expr()
[all …]
Dnv50_ir_emit_nv50.cpp586 case TYPE_S32: // fall through in emitLoadStoreSizeLG()
612 case TYPE_S32: in emitLoadStoreSizeCS()
954 case TYPE_S32: code[1] |= 0x8c000000; break; in emitMINMAX()
1246 case TYPE_S32: code[1] = 0x0c000000; break; in emitISAD()
1257 case TYPE_S32: code[0] = 0x50008100; break; in emitISAD()
1302 case TYPE_S32: code[1] |= 0x0c000000; break; in emitSET()
1359 dType = TYPE_S32; in emitCVT()
1372 case TYPE_S32: code[1] = 0x44410000; break; in emitCVT()
1403 case TYPE_S32: code[1] = 0x44014000; break; in emitCVT()
1412 case TYPE_S32: in emitCVT()
[all …]
Dnv50_ir_target_nvc0.cpp363 case TYPE_S32: in insnCanLoad()
425 if (op == OP_SAD && ty != TYPE_S32 && ty != TYPE_U32) in isOpSupported()
594 if (i->dType == TYPE_U32 || i->dType == TYPE_S32) { in getThroughput()
Dnv50_ir_lowering_nv50.cpp52 case TYPE_S32: fTy = TYPE_U32; break; in expandIntegerMUL()
489 if (ty != TYPE_U32 && ty != TYPE_S32) in handleDIV()
561 if (mod->dType != TYPE_U32 && mod->dType != TYPE_S32) in handleMOD()
1024 bld.mkCvt(OP_CVT, TYPE_F32, i->getDef(def), TYPE_S32, i->getDef(def)); in handleTXLQ()
1054 bld.mkOp1(OP_ABS, TYPE_S32, i->getDef(0), i->getDef(0)); in handleSET()
1055 bld.mkCvt(OP_CVT, TYPE_F32, i->getDef(0), TYPE_S32, i->getDef(0)); in handleSET()
1173 bld.mkOp1(OP_NEG, TYPE_S32, def, def); in handleRDSV()
1174 bld.mkCvt(OP_CVT, TYPE_F32, def, TYPE_S32, def); in handleRDSV()
Dnv50_ir_emit_nvc0.cpp636 if (i->sType == TYPE_S32) in emitUMUL()
638 if (i->dType == TYPE_S32) in emitUMUL()
643 if (i->sType == TYPE_S32) in emitUMUL()
828 assert(i->dType == TYPE_S32 || i->dType == TYPE_U32); in emitISAD()
833 if (i->dType == TYPE_S32) in emitISAD()
919 if (i->dType == TYPE_S32) in emitEXTBF()
930 if (i->dType == TYPE_S32) in emitBFIND()
1075 dType = TYPE_S32; in emitCVT()
1203 case TYPE_S32: in emitSLCT()
1781 case TYPE_S32: in emitLoadStoreType()
[all …]
Dnv50_ir_print.cpp459 case TYPE_S32: PRINT("%i", reg.data.s32); break; in print()
515 pos += dimRel->print(&buf[pos], size - pos, TYPE_S32); in print()
Dnv50_ir_target_nv50.cpp444 return ty == TYPE_S32; in isOpSupported()
551 if (i->dType == TYPE_U32 || i->dType == TYPE_S32) { in getThroughput()
Dnv50_ir.cpp393 case TYPE_S32: in isInteger()
414 case TYPE_S32: in isNegative()
441 case TYPE_S32: in applyLog2()
Dnv50_ir_lowering_nvc0.cpp55 case TYPE_S32: builtin = NVC0_BUILTIN_DIV_S32; break; in handleDIV()
62 bld.mkClobber(FILE_PREDICATE, (i->dType == TYPE_S32) ? 0xf : 0x3, 0); in handleDIV()
1734 bld.mkOp3(OP_SUCLAMP, TYPE_S32, src[c], su->getSrc(c), v, zero) in processSurfaceCoordsNVE4()
1903 (t->bits[c] == 16 ? TYPE_S16 : TYPE_S32)); in getSrcType()
1918 return TYPE_S32; in getDestType()
2438 bld.mkOp1(OP_NEG, TYPE_S32, face, face); in handleRDSV()
2439 bld.mkCvt(OP_CVT, TYPE_F32, face, TYPE_S32, face); in handleRDSV()
Dnv50_ir_build_util.cpp569 case TYPE_S64: hTy = TYPE_S32; break; in split64BitOpPostRA()
Dnv50_ir_emit_gm107.cpp2439 case TYPE_S32: dType = 1; break; in emitATOM()
2480 case TYPE_S32: dType = 1; break; in emitATOMS()
2508 case TYPE_S32: dType = 1; break; in emitRED()
2991 case TYPE_S32: type = 1; break; in emitSUREDx()
Dnv50_ir_from_tgsi.cpp607 return nv50_ir::TYPE_S32; in inferSrcType()
644 case TGSI_OPCODE_F2I: return nv50_ir::TYPE_S32; in inferDstType()
2913 mkCvt(OP_CVT, TYPE_S32, offs[c], TYPE_F32, offs[c]); in handleINTERP()
3079 mkCvt(OP_CVT, TYPE_S32, dst0[c], TYPE_F32, src0)->rnd = rnd; in handleInstruction()
3225 mkOp2(OP_SUB, TYPE_S32, dst0[c], val1, val0); in handleInstruction()
Dnv50_ir.h262 TYPE_S32, enumerator
/external/mesa3d/src/gallium/drivers/freedreno/ir3/
Dinstr-a3xx.h221 TYPE_S32 = 5, enumerator
231 case TYPE_S32: in type_size()
258 return (type == TYPE_S32) || (type == TYPE_S16) || (type == TYPE_S8); in type_sint()
Dir3_print.c74 [TYPE_S32] = "s32", in print_instr_name()
Dir3_compiler_nir.c726 dst[0] = ir3_COV(b, src[0], TYPE_F32, TYPE_S32); in emit_alu()
732 dst[0] = ir3_COV(b, src[0], TYPE_S32, TYPE_F32); in emit_alu()
738 dst[0] = ir3_MOV(b, src[0], TYPE_S32); in emit_alu()
1285 dst[0] = ir3_COV(b, ctx->frag_face, TYPE_S16, TYPE_S32); in emit_intrinsic()
1552 type = TYPE_S32; in emit_tex()
Dir3.h712 case TYPE_S32: return TYPE_S16; in half_type()
Ddisasm-a3xx.c66 [TYPE_S32] = "s32",