Home
last modified time | relevance | path

Searched refs:TYPE_U16 (Results 1 - 25 of 30) sorted by relevance

12

/third_party/mesa3d/src/nouveau/codegen/
H A 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); in typeOfSize()
137 case TYPE_U16: in isSignedType()
153 case TYPE_U16: return TYPE_S16; in intTypeToSigned()
H A 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, bl in processSurfaceCoords()
[all...]
H A 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 in emitCVT()
[all...]
H A 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()
H A Dnv50_ir.cpp388 case TYPE_U16: in isInteger()
439 case TYPE_U16: in applyLog2()
H A 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()
2262 cvt->sType = cvt->sType == TYPE_U32 ? TYPE_U16 : TYPE_S16; in handleCVT_EXTBF()
H A Dnv50_ir_print.cpp525 case TYPE_U16: PRINT("0x%04x", reg.data.u16); break; in print()
H A Dnv50_ir_target_nvc0.cpp425 case TYPE_U16:
H A 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()
2208 case UNORM: return t->bits[c] == 8 ? TYPE_U8 : TYPE_U16; in getSrcType()
2212 (t->bits[c] == 16 ? TYPE_U16 : TYPE_U32)); in getSrcType()
/third_party/mesa3d/src/freedreno/ir3/
H A Dir3_context.c343 type_t type = (flags & IR3_REG_HALF) ? TYPE_U16 : TYPE_U32; in ir3_create_collect()
458 create_immed_typed(block, const_val, TYPE_U16); in create_addr1()
459 struct ir3_instruction *instr = ir3_MOV(block, immed, TYPE_U16); in create_addr1()
519 create_immed_typed(b, 0, is_half(src) ? TYPE_U16 : TYPE_U32); in ir3_get_predicate()
576 mov->cat1.src_type = TYPE_U16; in ir3_create_array_load()
577 mov->cat1.dst_type = TYPE_U16; in ir3_create_array_load()
644 mov->cat1.src_type = TYPE_U16; in ir3_create_array_store()
645 mov->cat1.dst_type = TYPE_U16; in ir3_create_array_store()
H A 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()
H A Dir3_lower_subgroups.c69 mov->cat1.dst_type = (dst->flags & IR3_REG_HALF) ? TYPE_U16 : TYPE_U32; in mov_immed()
88 mov->cat1.dst_type = (dst->flags & IR3_REG_HALF) ? TYPE_U16 : TYPE_U32; in mov_reg()
89 mov->cat1.src_type = (src->flags & IR3_REG_HALF) ? TYPE_U16 : TYPE_U32; in mov_reg()
379 (new_src->flags & IR3_REG_HALF) ? TYPE_U16 : TYPE_U32; in lower_instr()
H A Dinstr-a3xx.h402 TYPE_U16 = 2, enumerator
419 case TYPE_U16: in type_size()
437 case 16: return TYPE_U16; in type_uint_size()
466 return (type == TYPE_U32) || (type == TYPE_U16) || (type == TYPE_U8); in type_uint()
H A Dir3_compiler_nir.c186 src_type = TYPE_U16; in create_cov()
250 dst_type = TYPE_U16; in create_cov()
289 return ir3_COV(ctx->block, src, TYPE_U32, TYPE_U16); in resize_shift_amount()
755 cond = ir3_COV(b, cond, TYPE_U16, TYPE_U32); in emit_alu()
757 cond = ir3_COV(b, cond, TYPE_U32, TYPE_U16); in emit_alu()
782 TYPE_U16); in emit_alu()
783 lo = ir3_COV(b, src[0], TYPE_U32, TYPE_U16); in emit_alu()
796 dst[0] = ir3_COV(b, dst[0], TYPE_U16, TYPE_U32); in emit_alu()
1398 texture = create_immed_typed(ctx->block, tex_idx, TYPE_U16); in get_image_ssbo_samp_tex_src()
1399 sampler = create_immed_typed(ctx->block, tex_idx, TYPE_U16); in get_image_ssbo_samp_tex_src()
[all...]
H A Dir3_image.c173 return bit_size == 16 ? TYPE_U16 : TYPE_U32; in ir3_get_type_for_image_intrinsic()
H A Dir3_compiler.c286 compiler->bool_type = (compiler->gen >= 5) ? TYPE_U16 : TYPE_U32; in ir3_compiler_create()
H A Dir3_context.h262 return TYPE_U16; in utype_for_size()
H A Dir3_cp.c454 } else if (src->cat1.dst_type == TYPE_U16) { in reg_cp()
600 if (instr->cat1.dst_type == TYPE_U16) in instr_cp()
H A 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()
H A Dir3_parser.y126 return TYPE_U16;
881 instr->cat1.src_type = TYPE_U16;
882 instr->cat1.dst_type = TYPE_U16;
1398 | T_TYPE_U16 { $$ = TYPE_U16; }
H A Dir3_print.c58 [TYPE_U16] = "u16", in type_name()
H A Dir3.h1273 return TYPE_U16; in half_type()
1277 case TYPE_U16: in half_type()
1296 case TYPE_U16: in full_type()
H A Dir3_spill.c717 (src->flags & IR3_REG_HALF) ? TYPE_U16 : TYPE_U32; in materialize_pcopy_src()
753 spill->cat6.type = (reg->flags & IR3_REG_HALF) ? TYPE_U16 : TYPE_U32; in spill()
925 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/
H A DvktSpvAsmTypeTests.cpp161 TYPE_U16, enumerator
525 return (isSigned) ? TYPE_I16 : TYPE_U16;
1562 if (m_inputType == TYPE_I16 || m_inputType == TYPE_U16)
2324 if (m_inputType == TYPE_I16 || m_inputType == TYPE_U16)
2389 DE_ASSERT((m_inputType == TYPE_I16) || (m_inputType == TYPE_U16));
2781 : SpvAsmTypeTests (testCtx, "u16", "shaderInt16", "Int16", "OpTypeInt 16 0", TYPE_U16, 16, vectorSize)
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/spirv_assembly/
H A DvktSpvAsmTypeTests.cpp161 TYPE_U16, enumerator
525 return (isSigned) ? TYPE_I16 : TYPE_U16;
1564 if (m_inputType == TYPE_I16 || m_inputType == TYPE_U16)
2326 if (m_inputType == TYPE_I16 || m_inputType == TYPE_U16)
2391 DE_ASSERT((m_inputType == TYPE_I16) || (m_inputType == TYPE_U16));
2783 : SpvAsmTypeTests (testCtx, "u16", "uint16 tests", "shaderInt16", "Int16", "OpTypeInt 16 0", TYPE_U16, 16, vectorSize)

Completed in 44 milliseconds

12