Home
last modified time | relevance | path

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

12

/external/mesa3d/src/gallium/drivers/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_peephole.cpp500 case TYPE_S32: in applyTo()
588 case TYPE_S32: in expr()
610 case TYPE_S32: res.data.s32 = a->data.s32 / b->data.s32; break; in expr()
620 case TYPE_S32: in expr()
630 case TYPE_S32: in expr()
648 case TYPE_S32: res.data.s32 = MAX2(a->data.s32, b->data.s32); break; in expr()
658 case TYPE_S32: res.data.s32 = MIN2(a->data.s32, b->data.s32); break; in expr()
678 case TYPE_S32: res.data.s32 = a->data.s32 >> b->data.u32; break; in expr()
707 case TYPE_S32: res.data.s32 = (res.data.s32 << lshift) >> rshift; break; in expr()
830 case TYPE_S32: in expr()
[all …]
Dnv50_ir_emit_gk110.cpp640 if (isLIMM(i->src(1), TYPE_S32)) { in emitIMUL()
645 if (i->sType == TYPE_S32) in emitIMUL()
652 if (i->sType == TYPE_S32) in emitIMUL()
722 if (isLIMM(i->src(1), TYPE_S32)) { in emitUADD()
759 if (i->sType == TYPE_S32) in emitIMAD()
774 assert(i->dType == TYPE_S32 || i->dType == TYPE_U32); in emitISAD()
778 if (i->dType == TYPE_S32) in emitISAD()
884 if (isLIMM(i->src(1), TYPE_S32)) { in emitLogicOp()
899 assert(!isLIMM(i->src(1), TYPE_S32, true)); in emitPOPC()
919 if (i->dType == TYPE_S32) in emitEXTBF()
[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.cpp410 case TYPE_S32: in insnCanLoad()
470 if (op == OP_SAD && ty != TYPE_S32 && ty != TYPE_U32) in isOpSupported()
642 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.cpp655 if (i->sType == TYPE_S32) in emitUMUL()
657 if (i->dType == TYPE_S32) in emitUMUL()
662 if (i->sType == TYPE_S32) in emitUMUL()
847 assert(i->dType == TYPE_S32 || i->dType == TYPE_U32); in emitISAD()
852 if (i->dType == TYPE_S32) in emitISAD()
940 if (i->dType == TYPE_S32) in emitEXTBF()
951 if (i->dType == TYPE_S32) in emitBFIND()
1101 dType = TYPE_S32; in emitCVT()
1231 case TYPE_S32: in emitSLCT()
1809 case TYPE_S32: in emitLoadStoreType()
[all …]
Dnv50_ir_emit_gv100.cpp787 case TYPE_S32: emitField(73, 2, 2); break; in emitSHF()
838 case TYPE_S32 : dType = 1; break; in emitATOM()
880 case TYPE_S32: dType = 1; break; in emitATOMS()
900 case TYPE_S32: dType = 1; break; in emitATOMS()
1091 case TYPE_S32: dType = 1; break; in emitRED()
1411 case TYPE_S32: type = 1; break; in emitSUATOM()
Dnv50_ir_target_nv50.cpp449 return ty == TYPE_S32; in isOpSupported()
556 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()
3065 mkCvt(OP_CVT, TYPE_S32, offs[c], TYPE_F32, offs[c]); in handleINTERP()
3212 mkCvt(OP_CVT, TYPE_S32, dst0[c], TYPE_F32, src0)->rnd = rnd; in handleInstruction()
3324 mkOp2(OP_SUB, TYPE_S32, dst0[c], val1, val0); in handleInstruction()
3870 mkOp2(OP_SHR, TYPE_S32, dst0[c + 1], dst0[c], loadImm(NULL, 31)); in handleInstruction()
3933 mkCmp(OP_SLCT, CC_LT, TYPE_S32, dst0[c], TYPE_S32, in handleInstruction()
3935 mkCmp(OP_SLCT, CC_LT, TYPE_S32, dst0[c + 1], TYPE_S32, in handleInstruction()
4003 dstTy = isSignedIntType(dstTy) ? TYPE_S32 : TYPE_U32; in handleInstruction()
4127 mkOp2(OP_SUB, TYPE_S32, dst0[c], val1, val0); in handleInstruction()
[all …]
Dnv50_ir_print.cpp504 case TYPE_S32: PRINT("%i", reg.data.s32); break; in print()
562 pos += dimRel->print(&buf[pos], size - pos, TYPE_S32); in print()
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()
2030 bld.mkOp3(OP_SUCLAMP, TYPE_S32, src[c], su->getSrc(c), v, zero) in processSurfaceCoordsNVE4()
2042 bld.mkOp3(OP_SUCLAMP, TYPE_S32, src[2], src[2], v, zero) in processSurfaceCoordsNVE4()
2204 (t->bits[c] == 16 ? TYPE_S16 : TYPE_S32)); in getSrcType()
2219 return TYPE_S32; in getDestType()
2897 bld.mkOp1(OP_NEG, TYPE_S32, face, face); in handleRDSV()
[all …]
Dnv50_ir.cpp395 case TYPE_S32: in isInteger()
416 case TYPE_S32: in isNegative()
440 case TYPE_S32: in applyLog2()
Dnv50_ir_lowering_gv100.cpp355 bld.mkOp2(OP_SGXT, TYPE_S32, i->getDef(0), i->getDef(0), cnt); in handleEXTBF()
Dnv50_ir_build_util.cpp569 case TYPE_S64: hTy = TYPE_S32; break; in split64BitOpPostRA()
Dnv50_ir_emit_gm107.cpp2649 case TYPE_S32: dType = 1; break; in emitATOM()
2690 case TYPE_S32: dType = 1; break; in emitATOMS()
2718 case TYPE_S32: dType = 1; break; in emitRED()
3360 case TYPE_S32: type = 1; break; in emitSUREDx()
/external/mesa3d/src/freedreno/ir3/
Dir3_image.c165 return bit_size == 16 ? TYPE_S16 : TYPE_S32; in ir3_get_type_for_image_intrinsic()
Dir3_a4xx.c154 type = TYPE_S32; in emit_intrinsic_atomic_ssbo()
161 type = TYPE_S32; in emit_intrinsic_atomic_ssbo()
Dir3_a6xx.c153 type = TYPE_S32; in emit_intrinsic_atomic_ssbo()
160 type = TYPE_S32; in emit_intrinsic_atomic_ssbo()
Dinstr-a3xx.h276 TYPE_S32 = 5, enumerator
286 case TYPE_S32: in type_size()
313 return (type == TYPE_S32) || (type == TYPE_S16) || (type == TYPE_S8); in type_sint()
Dir3_print.c59 [TYPE_S32] = "s32", in type_name()
Dir3.h980 case TYPE_S32: return TYPE_S16; in half_type()
996 case TYPE_S16: return TYPE_S32; in full_type()
999 case TYPE_S32: in full_type()
Dir3_compiler_nir.c148 src_type = TYPE_S32; in create_cov()
213 dst_type = TYPE_S32; in create_cov()
1007 type = TYPE_S32; in emit_intrinsic_atomic_shared()
1014 type = TYPE_S32; in emit_intrinsic_atomic_shared()
2001 type = nir_dest_bit_size(tex->dest) == 16 ? TYPE_S16 : TYPE_S32; in get_tex_dest_type()
2398 type = TYPE_S32; in emit_tex()
2470 dst[i] = ir3_MUL_F(b, ir3_COV(b, dst[i], TYPE_S32, TYPE_F32), 0, in emit_tex()
Dir3_parser.y116 return TYPE_S32; in parse_type()
899 | T_TYPE_S32 { $$ = TYPE_S32; }

12