Home
last modified time | relevance | path

Searched refs:TYPE_S16 (Results 1 – 20 of 20) sorted by relevance

/third_party/mesa3d/src/nouveau/codegen/
Dnv50_ir_inlines.h62 case TYPE_S16: in typeSizeof()
86 case TYPE_S16: in typeSizeofLog2()
111 case 2: return flt ? TYPE_F16 : (sgn ? TYPE_S16 : TYPE_U16);
129 return (ty == TYPE_S8 || ty == TYPE_S16 || ty == TYPE_S32 || ty == TYPE_S64); in isSignedIntType()
153 case TYPE_U16: return TYPE_S16; in intTypeToSigned()
Dnv50_ir_emit_nv50.cpp450 case TYPE_S16: in setSrcFileBits()
590 case TYPE_S16: enc = 0x3; break; in emitLoadStoreSizeLG()
608 case TYPE_S16: code[1] |= 0x8000; break; in emitLoadStoreSizeCS()
963 case TYPE_S16: code[1] |= 0x80000000; break; in emitMINMAX()
1137 if (i->sType == TYPE_S16) in emitIMUL()
1143 code[1] = (i->sType == TYPE_S16) ? (0x8000 | 0x4000) : 0x0000; in emitIMUL()
1146 if (i->sType == TYPE_S16) in emitIMUL()
1256 case TYPE_S16: code[1] = 0x08000000; break; in emitISAD()
1267 case TYPE_S16: code[0] = 0x50000100; break; in emitISAD()
1312 case TYPE_S16: code[1] |= 0x08000000; break; in emitSET()
[all …]
Dnv50_ir.cpp386 case TYPE_S16: in isInteger()
410 case TYPE_S16: return reg.data.s16 < 0; in isNegative()
434 case TYPE_S16: in applyLog2()
Dnv50_ir_target_nvc0.cpp426 case TYPE_S16: in insnCanLoad()
Dnv50_ir_peephole.cpp502 case TYPE_S16: in applyTo()
1628 case TYPE_S16: \ in opnd()
1645 CASE(TYPE_S16, s16, INT16_MIN, INT16_MAX, INT16_MIN, INT16_MAX, 0, INT16_MAX); in opnd()
1662 case TYPE_S16: res.data.f32 = (float) imm0.reg.data.s16; break; in opnd()
1683 case TYPE_S16: res.data.f64 = (double) imm0.reg.data.s16; break; in opnd()
2262 cvt->sType = cvt->sType == TYPE_U32 ? TYPE_U16 : TYPE_S16; in handleCVT_EXTBF()
Dnv50_ir_print.cpp526 case TYPE_S16: PRINT("%i", reg.data.s16); break; in print()
Dnv50_ir_lowering_nv50.cpp1666 case SNORM: return t->bits[c] == 8 ? TYPE_S8 : TYPE_S16; in getPackedType()
1672 (t->bits[c] <= 16 ? TYPE_S16 : TYPE_S32)); in getPackedType()
2070 packedType = format->type == SNORM ? TYPE_S16 : TYPE_U16; in handleSUSTP()
Dnv50_ir.h318 TYPE_S16, enumerator
Dnv50_ir_lowering_nvc0.cpp1422 enum DataType type = TYPE_S16; in handleTXLQ()
2209 case SNORM: return t->bits[c] == 8 ? TYPE_S8 : TYPE_S16; in getSrcType()
2215 (t->bits[c] == 16 ? TYPE_S16 : TYPE_S32)); in getSrcType()
Dnv50_ir_emit_gv100.cpp1523 case TYPE_S16: type = 3; break; in emitSULD()
Dnv50_ir_emit_gk110.cpp2121 case TYPE_S16: in emitLoadStoreType()
Dnv50_ir_emit_nvc0.cpp1811 case TYPE_S16: in emitLoadStoreType()
Dnv50_ir_emit_gm107.cpp3336 case TYPE_S16: type = 3; break; in emitSULDx()
/third_party/mesa3d/src/freedreno/ir3/
Dir3_context.c420 instr = ir3_COV(block, src, TYPE_U32, TYPE_S16); in create_addr0()
428 immed = create_immed_typed(block, 1, TYPE_S16); in create_addr0()
433 immed = create_immed_typed(block, 3, TYPE_S16); in create_addr0()
438 immed = create_immed_typed(block, 2, TYPE_S16); in create_addr0()
448 instr = ir3_MOV(block, instr, TYPE_S16); in create_addr0()
Dinstr-a3xx.h404 TYPE_S16 = 4, enumerator
420 case TYPE_S16: 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_parser.y132 return TYPE_S16; in parse_type()
888 instr->cat1.src_type = TYPE_S16;
889 instr->cat1.dst_type = TYPE_S16;
1400 | T_TYPE_S16 { $$ = TYPE_S16; }
Dir3_print.c60 [TYPE_S16] = "s16", in type_name()
Dir3.h1275 return TYPE_S16; in half_type()
1278 case TYPE_S16: in half_type()
1299 case TYPE_S16: in full_type()
Dir3_compiler_nir.c166 src_type = TYPE_S16; in create_cov()
234 dst_type = TYPE_S16; in create_cov()
2740 return TYPE_S16; in get_tex_dest_type()