• Home
  • Raw
  • Download

Lines Matching refs:func

56    struct x86_function func;  member
77 sse_movups(&p->func, dest, arg0); in emit_load4f_4()
91 sse_movss(&p->func, dest, x86_make_disp(arg0, 8)); in emit_load4f_3()
92 sse_shufps(&p->func, dest, get_identity(p), SHUF(X,Y,Z,W) ); in emit_load4f_3()
93 sse_shufps(&p->func, dest, dest, SHUF(Y,Z,X,W) ); in emit_load4f_3()
94 sse_movlps(&p->func, dest, arg0); in emit_load4f_3()
103 sse_movups(&p->func, dest, get_identity(p)); in emit_load4f_2()
104 sse_movlps(&p->func, dest, arg0); in emit_load4f_2()
112 sse_movss(&p->func, dest, arg0); in emit_load4f_1()
113 sse_shufps(&p->func, dest, get_identity(p), SHUF(X,Y,Z,W) ); in emit_load4f_1()
126 sse_movups(&p->func, dest, arg0); in emit_load3f_3()
133 sse_movss(&p->func, dest, x86_make_disp(arg0, 8)); in emit_load3f_3()
134 sse_shufps(&p->func, dest, dest, SHUF(X,X,X,X)); in emit_load3f_3()
135 sse_movlps(&p->func, dest, arg0); in emit_load3f_3()
151 sse_movss(&p->func, dest, arg0); in emit_load3f_1()
158 sse_movlps(&p->func, dest, arg0); in emit_load2f_2()
166 sse_movss(&p->func, dest, arg0); in emit_load2f_1()
173 sse_movss(&p->func, dest, arg0); in emit_load1f_1()
213 sse_movups(&p->func, dest, arg0); in emit_store4f()
224 sse_movups(&p->func, dest, arg0); in emit_store3f()
229 sse_movlps(&p->func, dest, arg0); in emit_store3f()
230 sse_shufps(&p->func, arg0, arg0, SHUF(Z,Z,Z,Z) ); /* NOTE! destructive */ in emit_store3f()
231 sse_movss(&p->func, x86_make_disp(dest,8), arg0); in emit_store3f()
239 sse_movlps(&p->func, dest, arg0); in emit_store2f()
246 sse_movss(&p->func, dest, arg0); in emit_store1f()
275 sse_mulps(&p->func, temp, p->chan0); in emit_pack_store_4ub()
278 sse2_cvtps2dq(&p->func, temp, temp); in emit_pack_store_4ub()
279 sse2_packssdw(&p->func, temp, temp); in emit_pack_store_4ub()
280 sse2_packuswb(&p->func, temp, temp); in emit_pack_store_4ub()
281 sse_movss(&p->func, dest, temp); in emit_pack_store_4ub()
286 sse_cvtps2pi(&p->func, mmx0, temp); in emit_pack_store_4ub()
287 sse_movhlps(&p->func, temp, temp); in emit_pack_store_4ub()
288 sse_cvtps2pi(&p->func, mmx1, temp); in emit_pack_store_4ub()
289 mmx_packssdw(&p->func, mmx0, mmx1); in emit_pack_store_4ub()
290 mmx_packuswb(&p->func, mmx0, mmx0); in emit_pack_store_4ub()
291 mmx_movd(&p->func, dest, mmx0); in emit_pack_store_4ub()
314 x86_mov(&p->func, srcREG, ptr_to_src); in get_src_ptr()
329 x86_lea(&p->func, srcREG, x86_make_disp(srcREG, a->inputstride)); in update_src_ptr()
333 x86_mov(&p->func, ptr_to_src, srcREG); in update_src_ptr()
363 x86_push(&p->func, countEBP); in build_vertex_emit()
364 x86_push(&p->func, vtxESI); in build_vertex_emit()
369 x86_xor(&p->func, srcECX, srcECX); in build_vertex_emit()
370 x86_mov(&p->func, countEBP, x86_fn_arg(&p->func, 2)); in build_vertex_emit()
371 x86_cmp(&p->func, countEBP, srcECX); in build_vertex_emit()
372 fixup = x86_jcc_forward(&p->func, cc_E); in build_vertex_emit()
376 x86_mov(&p->func, vertexEAX, x86_fn_arg(&p->func, 3)); in build_vertex_emit()
380 x86_mov(&p->func, vtxESI, x86_fn_arg(&p->func, 1)); in build_vertex_emit()
381 x86_mov(&p->func, vtxESI, x86_make_disp(vtxESI, get_offset(ctx, &ctx->swtnl_context))); in build_vertex_emit()
388 sse_movups(&p->func, vp0, x86_make_disp(vtxESI, get_offset(vtx, &vtx->vp_scale[0]))); in build_vertex_emit()
389 sse_movups(&p->func, vp1, x86_make_disp(vtxESI, get_offset(vtx, &vtx->vp_xlate[0]))); in build_vertex_emit()
394 sse_movups(&p->func, p->chan0, x86_make_disp(vtxESI, get_offset(vtx, &vtx->chan_scale[0]))); in build_vertex_emit()
395 sse_movups(&p->func, p->identity, x86_make_disp(vtxESI, get_offset(vtx, &vtx->identity[0]))); in build_vertex_emit()
398 label = x86_get_label(&p->func); in build_vertex_emit()
444 sse_movss(&p->func, x86_make_disp(dest,8), get_identity(p)); in build_vertex_emit()
458 sse_mulps(&p->func, temp, vp0); in build_vertex_emit()
459 sse_addps(&p->func, temp, vp1); in build_vertex_emit()
466 sse_mulps(&p->func, temp, vp0); in build_vertex_emit()
467 sse_addps(&p->func, temp, vp1); in build_vertex_emit()
474 sse_mulps(&p->func, temp, vp0); in build_vertex_emit()
475 sse_addps(&p->func, temp, vp1); in build_vertex_emit()
482 sse_shufps(&p->func, temp, temp, SHUF(X,Y,W,Z)); in build_vertex_emit()
495 sse_shufps(&p->func, temp, temp, SHUF(X,X,X,X)); in build_vertex_emit()
513 sse_shufps(&p->func, temp, temp, SHUF(Z,Y,X,W)); in build_vertex_emit()
528 sse_shufps(&p->func, temp, temp, SHUF(W,X,Y,Z)); in build_vertex_emit()
532 sse_movss(&p->func, temp, temp2); in build_vertex_emit()
538 sse_shufps(&p->func, temp, temp, SHUF(W,Z,Y,X)); in build_vertex_emit()
540 sse_shufps(&p->func, temp, temp, SHUF(Y,Z,W,X)); in build_vertex_emit()
560 sse_shufps(&p->func, temp, temp, SHUF(Z,Y,X,W)); in build_vertex_emit()
567 sse_shufps(&p->func, temp, temp, SHUF(W,X,Y,Z)); in build_vertex_emit()
574 sse_shufps(&p->func, temp, temp, SHUF(W,Z,Y,X)); in build_vertex_emit()
610 x86_lea(&p->func, vertexEAX, x86_make_disp(vertexEAX, vtx->vertex_size)); in build_vertex_emit()
614 x86_dec(&p->func, countEBP); in build_vertex_emit()
615 x86_test(&p->func, countEBP, countEBP); in build_vertex_emit()
616 x86_jcc(&p->func, cc_NZ, label); in build_vertex_emit()
620 if (p->func.need_emms) in build_vertex_emit()
621 mmx_emms(&p->func); in build_vertex_emit()
625 x86_fixup_fwd_jump(&p->func, fixup); in build_vertex_emit()
629 x86_pop(&p->func, x86_get_base_reg(vtxESI)); in build_vertex_emit()
630 x86_pop(&p->func, countEBP); in build_vertex_emit()
631 x86_ret(&p->func); in build_vertex_emit()
634 vtx->emit = (tnl_emit_func)x86_get_func(&p->func); in build_vertex_emit()
636 assert( (char *) p->func.csr - (char *) p->func.store <= MAX_SSE_CODE_SIZE ); in build_vertex_emit()
661 if (!x86_init_func_size(&p.func, MAX_SSE_CODE_SIZE)) { in _tnl_generate_sse_emit()
674 x86_release_func(&p.func); in _tnl_generate_sse_emit()