Home
last modified time | relevance | path

Searched refs:TYPE_U16 (Results 1 – 25 of 28) sorted by relevance

12

/third_party/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_lowering_nv50.cpp77 case TYPE_U32: hTy = TYPE_U16; break; in expandIntegerMUL()
771 return bld.mkLoadv(TYPE_U16, bld.mkSymbol( in loadSuInfo16()
772 FILE_MEMORY_CONST, b, TYPE_U16, off), NULL); in loadSuInfo16()
1299 bld.mkOp1(OP_LOAD, TYPE_U16, x, in handleRDSV()
1300 bld.mkSymbol(FILE_MEMORY_SHARED, 0, TYPE_U16, addr)); in handleRDSV()
1301 bld.mkCvt(OP_CVT, TYPE_U32, def, TYPE_U16, x); in handleRDSV()
1445 Value *sum = bld.mkOp3v(OP_MAD, TYPE_U16, bld.getSSA(), a[0], b[0], in handleLOAD()
1665 case UNORM: return t->bits[c] == 8 ? TYPE_U8 : TYPE_U16; in getPackedType()
1669 (t->bits[c] <= 16 ? TYPE_U16 : TYPE_U32)); in getPackedType()
1728 coords[0] = bld.mkOp2v(OP_SHL, TYPE_U16, bld.getSSA(2), in processSurfaceCoords()
[all …]
Dnv50_ir_inlines.h61 case TYPE_U16: in typeSizeof()
85 case TYPE_U16: in typeSizeofLog2()
111 case 2: return flt ? TYPE_F16 : (sgn ? TYPE_S16 : TYPE_U16);
137 case TYPE_U16: in isSignedType()
153 case TYPE_U16: return TYPE_S16; in intTypeToSigned()
Dnv50_ir_emit_nv50.cpp447 case TYPE_U16: in setSrcFileBits()
591 case TYPE_U16: enc = 0x2; break; in emitLoadStoreSizeLG()
607 case TYPE_U16: code[1] |= 0x4000; break; in emitLoadStoreSizeCS()
964 case TYPE_U16: break; in emitMINMAX()
1255 case TYPE_U16: code[1] = 0x00000000; break; in emitISAD()
1266 case TYPE_U16: code[0] = 0x50000000; break; in emitISAD()
1313 case TYPE_U16: break; in emitSET()
1414 case TYPE_U16: code[1] = 0x44000000; break; in emitCVT()
1431 case TYPE_U16: code[1] = 0x0c000000; break; in emitCVT()
1447 case TYPE_U16: code[1] = 0x04000000; break; in emitCVT()
[all …]
Dnv50_ir_build_util.cpp364 imm->reg.type = TYPE_U16; in mkImm()
430 return mkOp1v(OP_MOV, TYPE_U16, dst ? dst : getScratch(2), mkImm(u)); in loadImm()
Dnv50_ir.cpp392 case TYPE_U16: in isInteger()
443 case TYPE_U16: in applyLog2()
Dnv50_ir_target_nvc0.cpp425 case TYPE_U16: in insnCanLoad()
Dnv50_ir_peephole.cpp505 case TYPE_U16: in applyTo()
1633 case TYPE_U16: \ in opnd()
1644 CASE(TYPE_U16, u16, 0, UINT16_MAX, 0, UINT16_MAX, 0, UINT16_MAX); in opnd()
1660 case TYPE_U16: res.data.f32 = (float) imm0.reg.data.u16; break; in opnd()
1681 case TYPE_U16: res.data.f64 = (double) imm0.reg.data.u16; break; in opnd()
2265 cvt->sType = cvt->sType == TYPE_U32 ? TYPE_U16 : TYPE_S16; in handleCVT_EXTBF()
Dnv50_ir_print.cpp525 case TYPE_U16: PRINT("0x%04x", reg.data.u16); break; in print()
Dnv50_ir_lowering_nvc0.cpp1029 bld.mkCvt(OP_CVT, TYPE_U16, layer, sTy, src)->saturate = sat; in handleTEX()
1097 bld.mkCvt(OP_CVT, TYPE_U16, src, sTy, arrayIndex)->saturate = sat; in handleTEX()
1424 type = TYPE_U16; in handleTXLQ()
2198 case UNORM: return t->bits[c] == 8 ? TYPE_U8 : TYPE_U16; in getSrcType()
2202 (t->bits[c] == 16 ? TYPE_U16 : TYPE_U32)); in getSrcType()
Dnv50_ir.h315 TYPE_U16, enumerator
Dnv50_ir_emit_gv100.cpp1495 case TYPE_U16: type = 2; break; in emitSULD()
/third_party/mesa3d/src/freedreno/ir3/
Dir3_context.c341 type_t type = (flags & IR3_REG_HALF) ? TYPE_U16 : TYPE_U32; in ir3_create_collect()
456 create_immed_typed(block, const_val, TYPE_U16); in create_addr1()
457 struct ir3_instruction *instr = ir3_MOV(block, immed, TYPE_U16); in create_addr1()
575 mov->cat1.src_type = TYPE_U16; in ir3_create_array_load()
576 mov->cat1.dst_type = TYPE_U16; in ir3_create_array_load()
643 mov->cat1.src_type = TYPE_U16; in ir3_create_array_store()
644 mov->cat1.dst_type = TYPE_U16; in ir3_create_array_store()
Dir3_lower_parallelcopy.c178 swz->cat1.dst_type = (entry->flags & IR3_REG_HALF) ? TYPE_U16 : TYPE_U32; in do_swap()
179 swz->cat1.src_type = (entry->flags & IR3_REG_HALF) ? TYPE_U16 : TYPE_U32; in do_swap()
236 cov->cat1.dst_type = TYPE_U16; in do_copy()
261 mov->cat1.dst_type = (entry->flags & IR3_REG_HALF) ? TYPE_U16 : TYPE_U32; in do_copy()
262 mov->cat1.src_type = (entry->flags & IR3_REG_HALF) ? TYPE_U16 : TYPE_U32; in do_copy()
Dinstr-a3xx.h356 TYPE_U16 = 2, enumerator
373 case TYPE_U16: in type_size()
394 return (type == TYPE_U32) || (type == TYPE_U16) || (type == TYPE_U8); in type_uint()
Dir3_lower_subgroups.c69 mov->cat1.dst_type = (dst->flags & IR3_REG_HALF) ? TYPE_U16 : TYPE_U32; in mov_immed()
223 (new_src->flags & IR3_REG_HALF) ? TYPE_U16 : TYPE_U32; in lower_block()
Dir3_compiler_nir.c182 src_type = TYPE_U16; in create_cov()
246 dst_type = TYPE_U16; in create_cov()
285 return ir3_COV(ctx->block, src, TYPE_U32, TYPE_U16); in resize_shift_amount()
297 nir_dest_bit_size(alu->dest.dest) == 16 ? TYPE_U16 : TYPE_U32; in emit_alu()
411 create_immed_typed(b, 0, bs[0] == 16 ? TYPE_U16 : TYPE_U32), 0); in emit_alu()
666 cond = ir3_COV(b, cond, TYPE_U32, TYPE_U16); in emit_alu()
684 TYPE_U16); in emit_alu()
685 lo = ir3_COV(b, src[0], TYPE_U32, TYPE_U16); in emit_alu()
698 dst[0] = ir3_COV(b, dst[0], TYPE_U16, TYPE_U32); in emit_alu()
1178 texture = create_immed_typed(ctx->block, tex_idx, TYPE_U16); in get_image_samp_tex_src()
[all …]
Dir3_image.c168 return bit_size == 16 ? TYPE_U16 : TYPE_U32; in ir3_get_type_for_image_intrinsic()
Dir3_a6xx.c55 ldib->cat6.type = intr->dest.ssa.bit_size == 16 ? TYPE_U16 : TYPE_U32; in emit_intrinsic_load_ssbo()
83 stib->cat6.type = intr->src[0].ssa->bit_size == 16 ? TYPE_U16 : TYPE_U32; in emit_intrinsic_store_ssbo()
Dir3_context.h257 return TYPE_U16; in utype_for_size()
Dir3_cp.c422 } else if (src->cat1.dst_type == TYPE_U16) { in reg_cp()
568 if (instr->cat1.dst_type == TYPE_U16) in instr_cp()
Dir3_parser.y126 return TYPE_U16; in parse_type()
825 instr->cat1.src_type = TYPE_U16;
826 instr->cat1.dst_type = TYPE_U16;
1274 | T_TYPE_U16 { $$ = TYPE_U16; }
Dir3_print.c58 [TYPE_U16] = "u16", in type_name()
Dir3.h1194 return TYPE_U16; in half_type()
1198 case TYPE_U16: in half_type()
1213 case TYPE_U16: in full_type()
Dir3_spill.c648 (src->flags & IR3_REG_HALF) ? TYPE_U16 : TYPE_U32; in materialize_pcopy_src()
683 spill->cat6.type = (reg->flags & IR3_REG_HALF) ? TYPE_U16 : TYPE_U32; in spill()
840 reload->cat6.type = (reg->flags & IR3_REG_HALF) ? TYPE_U16 : TYPE_U32; in reload()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmTypeTests.cpp161 TYPE_U16, enumerator
525 return (isSigned) ? TYPE_I16 : TYPE_U16; in getInputType()
1564 if (m_inputType == TYPE_I16 || m_inputType == TYPE_U16) in createStageTests()
2326 if (m_inputType == TYPE_I16 || m_inputType == TYPE_U16) in createSwitchTests()
2391 DE_ASSERT((m_inputType == TYPE_I16) || (m_inputType == TYPE_U16)); in finalizeFullOperation()
2783 …testCtx, "u16", "uint16 tests", "shaderInt16", "Int16", "OpTypeInt 16 0", TYPE_U16, 16, vectorSize) in SpvAsmTypeUint16Tests()

12