Lines Matching refs:ctx
441 void universal_wrapper(wrapperctx *ctx)
447 for (op = 0; op < wrapper_get_nops(ctx); op++) {
448 int size = wrapper_get_size(ctx, op);
450 if (!wrapper_is_complex(ctx, op) &&
451 is_snan(wrapper_get_ieee(ctx, op), size)) {
452 wrapper_set_nan(ctx);
1635 wrapperctx ctx;
1714 wrapper_init(&ctx);
1720 wrapper_op_real(&ctx, a, 2, args);
1723 wrapper_result_real(&ctx, r, 2, result);
1724 if (wrapper_run(&ctx, fn->wrappers))
1729 wrapper_op_complex(&ctx, ac, 2, args);
1732 wrapper_result_real(&ctx, r, 2, result);
1733 if (wrapper_run(&ctx, fn->wrappers))
1738 wrapper_op_real(&ctx, a, 1, args);
1741 wrapper_result_real(&ctx, r, 1, result);
1742 if (wrapper_run(&ctx, fn->wrappers))
1747 wrapper_op_complex(&ctx, ac, 1, args);
1750 wrapper_result_real(&ctx, r, 1, result);
1751 if (wrapper_run(&ctx, fn->wrappers))
1756 wrapper_op_real(&ctx, a, 2, args);
1758 wrapper_op_real(&ctx, b, 2, args+2);
1761 wrapper_result_real(&ctx, r, 2, result);
1762 if (wrapper_run(&ctx, fn->wrappers))
1767 wrapper_op_real(&ctx, a, 1, args);
1769 wrapper_op_real(&ctx, b, 1, args+2);
1772 wrapper_result_real(&ctx, r, 1, result);
1773 if (wrapper_run(&ctx, fn->wrappers))
1778 wrapper_op_real(&ctx, a, 2, args);
1781 wrapper_result_real(&ctx, r, 2, result);
1784 if (wrapper_run(&ctx, fn->wrappers))
1789 wrapper_op_real(&ctx, a, 1, args);
1792 wrapper_result_real(&ctx, r, 1, result);
1795 if (wrapper_run(&ctx, fn->wrappers))
1834 wrapper_op_complex(&ctx, ac, 2, args);
1837 wrapper_result_complex(&ctx, rc, 2, result);
1838 if (wrapper_run(&ctx, fn->wrappers))
1843 wrapper_op_complex(&ctx, ac, 2, args);
1845 wrapper_op_complex(&ctx, bc, 2, args+4);
1848 wrapper_result_complex(&ctx, rc, 2, result);
1849 if (wrapper_run(&ctx, fn->wrappers))
1854 wrapper_op_complex(&ctx, ac, 1, args);
1857 wrapper_result_complex(&ctx, rc, 1, result);
1858 if (wrapper_run(&ctx, fn->wrappers))
1863 wrapper_op_complex(&ctx, ac, 1, args);
1865 wrapper_op_complex(&ctx, bc, 1, args+4);
1868 wrapper_result_complex(&ctx, rc, 1, result);
1869 if (wrapper_run(&ctx, fn->wrappers))