Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/nv50/codegen/
Dnv50_ir_inlines.h61 case TYPE_S32: in typeSizeof()
86 return flt ? TYPE_F32 : (sgn ? TYPE_S32 : TYPE_U32);
99 return (ty == TYPE_S8 || ty == TYPE_S16 || ty == TYPE_S32); in isSignedIntType()
120 case TYPE_U32: return TYPE_S32; in intTypeToSigned()
Dnv50_ir_emit_nv50.cpp558 case TYPE_S32: // fall through in emitLoadStoreSizeLG()
584 case TYPE_S32: in emitLoadStoreSizeCS()
847 case TYPE_S32: code[1] |= 0x8c000000; break; in emitMINMAX()
1035 case TYPE_S32: code[1] = 0x0c000000; break; in emitISAD()
1046 case TYPE_S32: code[0] = 0x50008100; break; in emitISAD()
1067 case TYPE_S32: code[1] |= 0x0c000000; break; in emitSET()
1124 case TYPE_S32: code[1] = 0x44410000; break; in emitCVT()
1155 case TYPE_S32: code[1] = 0x44014000; break; in emitCVT()
1163 case TYPE_S32: in emitCVT()
1167 case TYPE_S32: code[1] = 0x0c014000; break; in emitCVT()
[all …]
Dnv50_ir_peephole.cpp338 case TYPE_S32: in applyTo()
410 case TYPE_S32: in expr()
422 case TYPE_S32: res.data.s32 = a->data.s32 / b->data.s32; break; in expr()
432 case TYPE_S32: in expr()
450 case TYPE_S32: res.data.s32 = MAX2(a->data.s32, b->data.s32); break; in expr()
460 case TYPE_S32: res.data.s32 = MIN2(a->data.s32, b->data.s32); break; in expr()
480 case TYPE_S32: res.data.s32 = a->data.s32 >> b->data.u32; break; in expr()
674 if (s != 1 || (i->dType != TYPE_S32 && i->dType != TYPE_U32)) in opnd()
736 bld.mkOp3(OP_MAD, TYPE_S32, tA, i->getSrc(0), bld.loadImm(NULL, m), in opnd()
739 bld.mkOp2(OP_SHR, TYPE_S32, tB, tA, bld.mkImm(l - 1)); in opnd()
[all …]
Dnv50_ir_lowering_nv50.cpp48 case TYPE_S32: hTy = TYPE_S16; break; in expandIntegerMUL()
51 case TYPE_S64: hTy = TYPE_S32; break; in expandIntegerMUL()
389 if (ty != TYPE_U32 && ty != TYPE_S32) in handleDIV()
461 if (mod->dType != TYPE_U32 && mod->dType != TYPE_S32) in handleMOD()
790 bld.mkOp1(OP_ABS, TYPE_S32, i->getDef(0), i->getDef(0)); in handleSET()
791 bld.mkCvt(OP_CVT, TYPE_F32, i->getDef(0), TYPE_S32, i->getDef(0)); in handleSET()
Dnv50_ir_print.cpp390 case TYPE_S32: PRINT("%i", reg.data.s32); break; in print()
445 pos += dimRel->print(&buf[pos], size - pos, TYPE_S32); in print()
Dnv50_ir_target_nv50.cpp398 return ty == TYPE_S32; in isOpSupported()
502 if (i->dType == TYPE_U32 || i->dType == TYPE_S32) { in getThroughput()
Dnv50_ir.cpp393 case TYPE_S32: in isInteger()
411 case TYPE_S32: in isNegative()
438 case TYPE_S32: in applyLog2()
Dnv50_ir_from_tgsi.cpp396 return nv50_ir::TYPE_S32; in inferSrcType()
406 case TGSI_OPCODE_F2I: return nv50_ir::TYPE_S32; in inferDstType()
1816 mkCvt(OP_CVT, TYPE_S32, dst0[c], TYPE_F32, src0)->rnd = ROUND_M; in handleInstruction()
1958 mkOp2(OP_SUB, TYPE_S32, dst0[c], val1, val0); in handleInstruction()
Dnv50_ir.h158 TYPE_S32, enumerator
Dnv50_ir_from_sm4.cpp285 return TYPE_S32; in inferSrcType()
331 return TYPE_S32; in inferDstType()
/external/mesa3d/src/gallium/drivers/nvc0/codegen/
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()
612 if (i->dType == TYPE_U32 || i->dType == TYPE_S32) { in getThroughput()
Dnv50_ir_emit_nvc0.cpp508 if (i->sType == TYPE_S32) in emitUMUL()
510 if (i->dType == TYPE_S32) in emitUMUL()
515 if (i->sType == TYPE_S32) in emitUMUL()
627 assert(i->dType == TYPE_S32 || i->dType == TYPE_U32); in emitISAD()
632 if (i->dType == TYPE_S32) in emitISAD()
923 case TYPE_S32: in emitSLCT()
1347 case TYPE_S32: in emitLoadStoreType()
Dnv50_ir_lowering_nvc0.cpp68 case TYPE_S32: builtin = NVC0_BUILTIN_DIV_S32; break; in handleDIV()
75 bld.mkClobber(FILE_PREDICATE, (i->dType == TYPE_S32) ? 0xf : 0x3, 0); in handleDIV()