Home
last modified time | relevance | path

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

12

/third_party/mesa3d/src/nouveau/codegen/
Dnv50_ir_lowering_helper.cpp73 bld.mkCmp(OP_SLCT, CC_LT, TYPE_S32, lo, TYPE_S32, negComp[0], srcComp[0], srcComp[1]); in handleABS()
74 bld.mkCmp(OP_SLCT, CC_LT, TYPE_S32, hi, TYPE_S32, negComp[1], srcComp[1], srcComp[1]); in handleABS()
93 if ((dTy == TYPE_S32 && sTy == TYPE_S64) || in handleCVT()
99 } else if (dTy == TYPE_S64 && sTy == TYPE_S32) { in handleCVT()
101 bld.mkOp2(OP_SHR, TYPE_S32, tmp, insn->getSrc(0), bld.loadImm(bld.getSSA(), 31)); in handleCVT()
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_nv50.cpp584 case TYPE_S32: // fall through in emitLoadStoreSizeLG()
610 case TYPE_S32: in emitLoadStoreSizeCS()
961 case TYPE_S32: code[1] |= 0x8c000000; break; in emitMINMAX()
1254 case TYPE_S32: code[1] = 0x0c000000; break; in emitISAD()
1265 case TYPE_S32: code[0] = 0x50008100; break; in emitISAD()
1310 case TYPE_S32: code[1] |= 0x0c000000; break; in emitSET()
1367 dType = TYPE_S32; in emitCVT()
1380 case TYPE_S32: code[1] = 0x44410000; break; in emitCVT()
1411 case TYPE_S32: code[1] = 0x44014000; break; in emitCVT()
1423 case TYPE_S32: in emitCVT()
[all …]
Dnv50_ir_peephole.cpp503 case TYPE_S32: in applyTo()
591 case TYPE_S32: in expr()
613 case TYPE_S32: res.data.s32 = a->data.s32 / b->data.s32; break; in expr()
623 case TYPE_S32: in expr()
633 case TYPE_S32: in expr()
651 case TYPE_S32: res.data.s32 = MAX2(a->data.s32, b->data.s32); break; in expr()
661 case TYPE_S32: res.data.s32 = MIN2(a->data.s32, b->data.s32); break; in expr()
681 case TYPE_S32: res.data.s32 = a->data.s32 >> b->data.u32; break; in expr()
710 case TYPE_S32: res.data.s32 = (res.data.s32 << lshift) >> rshift; break; in expr()
833 case TYPE_S32: in expr()
[all …]
Dnv50_ir_emit_gk110.cpp638 if (isLIMM(i->src(1), TYPE_S32)) { in emitIMUL()
643 if (i->sType == TYPE_S32) in emitIMUL()
650 if (i->sType == TYPE_S32) in emitIMUL()
720 if (isLIMM(i->src(1), TYPE_S32)) { in emitUADD()
757 if (i->sType == TYPE_S32) in emitIMAD()
772 assert(i->dType == TYPE_S32 || i->dType == TYPE_U32); in emitISAD()
776 if (i->dType == TYPE_S32) in emitISAD()
882 if (isLIMM(i->src(1), TYPE_S32)) { in emitLogicOp()
897 assert(!isLIMM(i->src(1), TYPE_S32, true)); in emitPOPC()
917 if (i->dType == TYPE_S32) in emitEXTBF()
[all …]
Dnv50_ir_target_nvc0.cpp414 case TYPE_S32: in insnCanLoad()
474 if (op == OP_SAD && ty != TYPE_S32 && ty != TYPE_U32) in isOpSupported()
646 if (i->dType == TYPE_U32 || i->dType == TYPE_S32) { in getThroughput()
Dnv50_ir_emit_nvc0.cpp653 if (i->sType == TYPE_S32) in emitUMUL()
655 if (i->dType == TYPE_S32) in emitUMUL()
660 if (i->sType == TYPE_S32) in emitUMUL()
845 assert(i->dType == TYPE_S32 || i->dType == TYPE_U32); in emitISAD()
850 if (i->dType == TYPE_S32) in emitISAD()
938 if (i->dType == TYPE_S32) in emitEXTBF()
949 if (i->dType == TYPE_S32) in emitBFIND()
1099 dType = TYPE_S32; in emitCVT()
1229 case TYPE_S32: in emitSLCT()
1816 case TYPE_S32: in emitLoadStoreType()
[all …]
Dnv50_ir_lowering_nv50.cpp70 case TYPE_S32: fTy = TYPE_U32; break; in expandIntegerMUL()
512 if (ty != TYPE_U32 && ty != TYPE_S32) in handleDIV()
584 if (mod->dType != TYPE_U32 && mod->dType != TYPE_S32) in handleMOD()
1078 bld.mkCvt(OP_CVT, TYPE_F32, i->getDef(def), TYPE_S32, i->getDef(def)); in handleTXLQ()
1172 bld.mkOp1(OP_ABS, TYPE_S32, i->getDef(0), i->getDef(0)); in handleSET()
1173 bld.mkCvt(OP_CVT, TYPE_F32, i->getDef(0), TYPE_S32, i->getDef(0)); in handleSET()
1291 bld.mkOp1(OP_NEG, TYPE_S32, def, def); in handleRDSV()
1292 bld.mkCvt(OP_CVT, TYPE_F32, def, TYPE_S32, def); in handleRDSV()
1672 (t->bits[c] <= 16 ? TYPE_S16 : TYPE_S32)); in getPackedType()
1688 return TYPE_S32; in getShaderType()
[all …]
Dnv50_ir_emit_gv100.cpp827 case TYPE_S32: emitField(73, 2, 2); break; in emitSHF()
880 case TYPE_S32 : dType = 1; break; in emitATOM()
927 case TYPE_S32: dType = 1; break; in emitATOMS()
947 case TYPE_S32: dType = 1; break; in emitATOMS()
1150 case TYPE_S32: dType = 1; break; in emitRED()
1478 case TYPE_S32: type = 1; break; in emitSUATOM()
Dnv50_ir_target_nv50.cpp460 return ty == TYPE_S32; in isOpSupported()
567 if (i->dType == TYPE_U32 || i->dType == TYPE_S32) { in getThroughput()
Dnv50_ir_from_tgsi.cpp575 return nv50_ir::TYPE_S32; in inferSrcType()
642 case TGSI_OPCODE_F2I: return nv50_ir::TYPE_S32; in inferDstType()
3128 mkCvt(OP_CVT, TYPE_S32, offs[c], TYPE_F32, offs[c]); in handleINTERP()
3275 mkCvt(OP_CVT, TYPE_S32, dst0[c], TYPE_F32, src0)->rnd = rnd; in handleInstruction()
3387 mkOp2(OP_SUB, TYPE_S32, dst0[c], val1, val0); in handleInstruction()
3937 mkOp2(OP_SHR, TYPE_S32, dst0[c + 1], dst0[c], loadImm(NULL, 31)); in handleInstruction()
4000 mkCmp(OP_SLCT, CC_LT, TYPE_S32, dst0[c], TYPE_S32, in handleInstruction()
4002 mkCmp(OP_SLCT, CC_LT, TYPE_S32, dst0[c + 1], TYPE_S32, in handleInstruction()
4070 dstTy = isSignedIntType(dstTy) ? TYPE_S32 : TYPE_U32; in handleInstruction()
4194 mkOp2(OP_SUB, TYPE_S32, dst0[c], val1, val0); in handleInstruction()
[all …]
Dnv50_ir_lowering_nvc0.cpp71 case TYPE_S32: builtin = NVC0_BUILTIN_DIV_S32; break; in handleDIV()
78 bld.mkClobber(FILE_PREDICATE, (i->dType == TYPE_S32) ? 0xf : 0x3, 0); in handleDIV()
241 DataType type = isSignedIntType(lo->dType) ? TYPE_S32 : TYPE_U32; in handleShift()
258 bld.mkOp1v(OP_NEG, TYPE_S32, bld.getSSA(), x32_minus_shift)) in handleShift()
298 DataType hTy = cmp->sType == TYPE_S64 ? TYPE_S32 : TYPE_U32; in handleSET()
2041 bld.mkOp3(OP_SUCLAMP, TYPE_S32, src[c], su->getSrc(c), v, zero) in processSurfaceCoordsNVE4()
2053 bld.mkOp3(OP_SUCLAMP, TYPE_S32, src[2], src[2], v, zero) in processSurfaceCoordsNVE4()
2215 (t->bits[c] == 16 ? TYPE_S16 : TYPE_S32)); in getSrcType()
2230 return TYPE_S32; in getDestType()
2999 bld.mkOp1(OP_NEG, TYPE_S32, face, face); in handleRDSV()
[all …]
Dnv50_ir_print.cpp528 case TYPE_S32: PRINT("%i", reg.data.s32); break; in print()
591 pos += dimRel->print(&buf[pos], size - pos, TYPE_S32); in print()
Dnv50_ir.cpp390 case TYPE_S32: in isInteger()
411 case TYPE_S32: in isNegative()
435 case TYPE_S32: in applyLog2()
Dnv50_ir_lowering_gv100.cpp359 bld.mkOp2(OP_SGXT, TYPE_S32, i->getDef(0), i->getDef(0), cnt); in handleEXTBF()
Dnv50_ir_emit_gm107.cpp2658 case TYPE_S32: dType = 1; break; in emitATOM()
2699 case TYPE_S32: dType = 1; break; in emitATOMS()
2727 case TYPE_S32: dType = 1; break; in emitRED()
3369 case TYPE_S32: type = 1; break; in emitSUREDx()
Dnv50_ir_build_util.cpp599 case TYPE_S64: hTy = TYPE_S32; break; in split64BitOpPostRA()
/third_party/mesa3d/src/freedreno/ir3/
Dir3_a6xx.c151 type = TYPE_S32; in emit_intrinsic_atomic_ssbo()
158 type = TYPE_S32; in emit_intrinsic_atomic_ssbo()
468 type = TYPE_S32; in emit_intrinsic_atomic_global()
475 type = TYPE_S32; in emit_intrinsic_atomic_global()
Dinstr-a3xx.h405 TYPE_S32 = 5, enumerator
416 case TYPE_S32: in type_size()
472 return (type == TYPE_S32) || (type == TYPE_S16) || (type == TYPE_S8); in type_sint()
Dir3_image.c175 return bit_size == 16 ? TYPE_S16 : TYPE_S32; in ir3_get_type_for_image_intrinsic()
Dir3_a4xx.c173 type = TYPE_S32; in emit_intrinsic_atomic_ssbo()
180 type = TYPE_S32; in emit_intrinsic_atomic_ssbo()
Dir3.h1274 case TYPE_S32: in half_type()
1300 return TYPE_S32; in full_type()
1303 case TYPE_S32: in full_type()
1512 return TYPE_S32; in ir3_output_conv_type()
Dir3_compiler_nir.c163 src_type = TYPE_S32; in create_cov()
228 dst_type = TYPE_S32; in create_cov()
1219 type = TYPE_S32; in emit_intrinsic_atomic_shared()
1226 type = TYPE_S32; in emit_intrinsic_atomic_shared()
2738 return TYPE_S32; in get_tex_dest_type()
3155 type = TYPE_S32; in emit_tex()
3249 if (type == TYPE_S32) { in emit_tex()
3288 b, ir3_COV(b, dst[i], TYPE_S32, half ? TYPE_F16 : TYPE_F32), 0, in emit_tex()
Dir3_print.c61 [TYPE_S32] = "s32", in type_name()
Dir3_parser.y135 return TYPE_S32; in parse_type()
1401 | T_TYPE_S32 { $$ = TYPE_S32; }

12