Home | History | Annotate | Download | only in llvmpipe

Lines Matching refs:src_type

55            "src_type\t"
64 struct lp_type src_type,
71 fprintf(fp, "%.1f\t", cycles / MAX2(src_type.length, dst_type.length));
73 dump_type(fp, src_type);
85 struct lp_type src_type,
88 fprintf(fp, "src_type=");
89 dump_type(fp, src_type);
101 struct lp_type src_type, unsigned num_srcs,
116 args[0] = LLVMPointerType(lp_build_vec_type(gallivm, src_type), 0);
135 lp_build_conv(gallivm, src_type, dst_type, src, num_srcs, dst, num_dsts);
155 struct lp_type src_type,
171 if ((src_type.width >= dst_type.width && src_type.length > dst_type.length) ||
172 (src_type.width <= dst_type.width && src_type.length < dst_type.length)) {
180 if ((src_type.floating && !dst_type.floating && dst_type.sign && dst_type.norm && src_type.width == dst_type.width) ||
181 (!src_type.floating && dst_type.floating && src_type.fixed && src_type.width == dst_type.width)) {
189 if ((src_type.floating && !dst_type.floating && dst_type.sign && dst_type.norm && src_type.width == dst_type.width) ||
190 (!src_type.floating && dst_type.floating && src_type.fixed && src_type.width == dst_type.width)) {
195 dump_conv_types(stderr, src_type, dst_type);
197 if (src_type.length > dst_type.length) {
199 num_dsts = src_type.length/dst_type.length;
201 else if (src_type.length < dst_type.length) {
203 num_srcs = dst_type.length/src_type.length;
211 assert(src_type.length * num_srcs == dst_type.length * num_dsts);
213 eps = MAX2(lp_const_eps(src_type), lp_const_eps(dst_type));
218 func = add_conv_test(gallivm, src_type, num_srcs, dst_type, num_dsts);
228 unsigned src_stride = src_type.length*src_type.width/8;
238 random_vec(src_type, src + j*src_stride);
239 read_vec(src_type, src + j*src_stride, fref + j*src_type.length);
259 dump_conv_types(stderr, src_type, dst_type);
269 dump_vec(stderr, src_type, src + j*src_stride);
275 for(j = 0; j < src_type.length*num_srcs; ++j)
324 write_tsv_row(fp, src_type, dst_type, cycles_avg, success);
394 const struct lp_type *src_type;
399 for(src_type = conv_types; src_type < &conv_types[num_types]; ++src_type) {
402 if(src_type == dst_type)
405 if(!test_one(verbose, fp, *src_type, *dst_type)){
422 const struct lp_type *src_type;
428 src_type = &conv_types[rand() % num_types];
432 } while (src_type == dst_type || src_type->norm != dst_type->norm);
434 if(!test_one(verbose, fp, *src_type, *dst_type))