Searched refs:op2 (Results 1 - 25 of 204) sorted by relevance

123456789

/netbsd-6-1-5-RELEASE/external/lgpl3/gmp/dist/tests/mpz/
H A Ddive.c30 mpz_t op1, op2; local
49 mpz_init (op2);
66 mpz_rrandomb (op2, rands, size);
68 while (mpz_sgn (op2) == 0);
75 mpz_neg (op2, op2);
77 mpz_mul (prod, op1, op2);
79 mpz_divexact (quot, prod, op2);
88 mpz_trace (" divisor ", op2);
95 mpz_clear (op2);
[all...]
H A Dt-addsub.c34 mpz_t op1, op2, r1, r2; local
52 mpz_init (op2);
67 mpz_rrandomb (op2, rands, op2n);
74 mpz_neg (op2, op2);
78 mpz_add (r1, op1, op2);
79 mpz_sub (r2, r1, op2);
81 dump_abort (i, "mpz_add or mpz_sub incorrect", op1, op2);
83 if (mpz_fits_ulong_p (op2))
85 op2long = mpz_get_ui (op2);
110 dump_abort(int i, char *s, mpz_t op1, mpz_t op2) argument
[all...]
H A Dt-gcd.c106 mpz_t op1, op2, ref; local
122 mpz_init (op2);
133 mpz_set_ui (op2, GMP_NUMB_MAX);
134 mpz_mul_2exp (op1, op2, 100);
135 mpz_add (op1, op1, op2);
136 mpz_mul_ui (op2, op2, 2);
137 one_test (op1, op2, NULL, -1);
141 mpz_set_str (op2, "76429e12e4fdd8929d89c21657097fbac09d1dc08cf7f1323a34e78ca34226e1a7a29b86fee0fa7fe2cc2a183d46d50df1fe7029590974ad7da77605f35f902cb8b9b8d22dd881eaae5919675d49a337145a029c3b33fc2b0", 16);
142 one_test (op1, op2, NUL
243 one_test(mpz_t op1, mpz_t op2, mpz_t ref, int i) argument
[all...]
H A Dio.c43 mpz_t op1, op2; local
63 mpz_init (op2);
96 nread = mpz_inp_str (op2, fp, base);
114 if (mpz_cmp (op1, op2))
118 printf ("op2 = "); debug_mp (op2, -16);
130 mpz_clear (op2);
H A Dt-mul.c67 mpz_t op1, op2; local
88 mpz_init (op2);
103 mpz_rrandomb (op2, rands, mpz_get_ui (bs));
110 mpz_neg (op2, op2);
112 /* printf ("%d %d\n", SIZ (op1), SIZ (op2)); */
113 one (i, op2, op1);
124 mpz_rrandomb (op2, rands, mpz_get_ui (bs) + FFT_MIN_BITSIZE);
126 /* printf ("%d: %d %d\n", i, SIZ (op1), SIZ (op2)); */
128 one (-1, op2, op
181 dump_abort(int i, char *s, mpz_t op1, mpz_t op2, mpz_t product, mpz_t ref_product) argument
[all...]
/netbsd-6-1-5-RELEASE/sys/arch/amd64/amd64/
H A Ddb_disasm.c119 #define op2(x,y) ((x)|((y)<<8)) macro
177 /*02*/ { "lar", true, LONG, op2(E,R), 0 },
178 /*03*/ { "lsl", true, LONG, op2(E,R), 0 },
189 /*0d*/ { "prefetch",true,NONE, op2(E,R), 0 }, /* Not 'R' really */
195 /*20*/ { "mov", true, LONG, op2(CR,E), 0 }, /* use E for reg */
196 /*21*/ { "mov", true, LONG, op2(DR,E), 0 }, /* since mod == 11 */
197 /*22*/ { "mov", true, LONG, op2(E,CR), 0 },
198 /*23*/ { "mov", true, LONG, op2(E,DR), 0 },
199 /*24*/ { "mov", true, LONG, op2(TR,E), 0 },
201 /*26*/ { "mov", true, LONG, op2(
[all...]
/netbsd-6-1-5-RELEASE/external/lgpl3/gmp/dist/mpq/
H A Dequal.c25 mpq_equal (mpq_srcptr op1, mpq_srcptr op2) argument
32 ASSERT_MPQ_CANONICAL (op2);
35 num2_size = op2->_mp_num._mp_size;
40 num2_ptr = op2->_mp_num._mp_d;
47 den2_size = op2->_mp_den._mp_size;
52 den2_ptr = op2->_mp_den._mp_d;
H A Daors.c29 mpq_aors (mpq_ptr rop, mpq_srcptr op1, mpq_srcptr op2, argument
36 mp_size_t op2_num_size = ABS (op2->_mp_num._mp_size);
37 mp_size_t op2_den_size = op2->_mp_den._mp_size;
50 mpz_gcd (gcd, &(op1->_mp_den), &(op2->_mp_den));
55 mpz_divexact_gcd (tmp1, &(op2->_mp_den), gcd);
59 mpz_mul (tmp2, &(op2->_mp_num), tmp2);
70 mpz_mul (&(rop->_mp_den), &(op2->_mp_den), tmp2);
75 mpz_divexact_gcd (tmp1, &(op2->_mp_den), gcd);
83 mpz_mul (tmp1, &(op1->_mp_num), &(op2->_mp_den));
84 mpz_mul (tmp2, &(op2
93 mpq_add(mpq_ptr rop, mpq_srcptr op1, mpq_srcptr op2) argument
99 mpq_sub(mpq_ptr rop, mpq_srcptr op1, mpq_srcptr op2) argument
[all...]
H A Dmul.c26 mpq_mul (mpq_ptr prod, mpq_srcptr op1, mpq_srcptr op2) argument
37 if (op1 == op2)
47 op2_num_size = ABS (op2->_mp_num._mp_size);
48 op2_den_size = op2->_mp_den._mp_size;
79 mpz_gcd (gcd1, &(op1->_mp_num), &(op2->_mp_den));
80 mpz_gcd (gcd2, &(op2->_mp_num), &(op1->_mp_den));
83 mpz_divexact_gcd (tmp2, &(op2->_mp_num), gcd2);
87 mpz_divexact_gcd (tmp1, &(op2->_mp_den), gcd1);
H A Dcmp_ui.c40 mpq_t op2; local
41 mpq_init (op2);
42 mpz_set_ui (mpq_numref (op2), num2);
43 mpz_set_ui (mpq_denref (op2), den2);
44 cc = mpq_cmp (op1, op2);
45 mpq_clear (op2);
H A Ddiv.c25 mpq_div (mpq_ptr quot, mpq_srcptr op1, mpq_srcptr op2) argument
39 op2_num_size = ABS (op2->_mp_num._mp_size);
40 op2_den_size = op2->_mp_den._mp_size;
77 mpz_gcd (gcd1, &(op1->_mp_num), &(op2->_mp_num));
78 mpz_gcd (gcd2, &(op2->_mp_den), &(op1->_mp_den));
81 mpz_divexact_gcd (tmp2, &(op2->_mp_den), gcd2);
85 mpz_divexact_gcd (tmp1, &(op2->_mp_num), gcd1);
H A Dcmp.c26 mpq_cmp (const MP_RAT *op1, const MP_RAT *op2) argument
30 mp_size_t num2_size = op2->_mp_num._mp_size;
31 mp_size_t den2_size = op2->_mp_den._mp_size;
74 count_leading_zeros (cnt2, op2->_mp_den._mp_d[den2_size - 1]);
77 count_leading_zeros (cnt1, op2->_mp_num._mp_d[num2_size - 1]);
95 op2->_mp_den._mp_d, den2_size);
98 op2->_mp_den._mp_d, den2_size,
103 op2->_mp_num._mp_d, num2_size,
108 op2->_mp_num._mp_d, num2_size);
/netbsd-6-1-5-RELEASE/sys/arch/i386/i386/
H A Ddb_disasm.c107 #define op2(x,y) ((x)|((y)<<8)) macro
165 /*02*/ { "lar", true, LONG, op2(E,R), 0 },
166 /*03*/ { "lsl", true, LONG, op2(E,R), 0 },
183 /*20*/ { "mov", true, LONG, op2(CR,E), 0 }, /* use E for reg */
184 /*21*/ { "mov", true, LONG, op2(DR,E), 0 }, /* since mod == 11 */
185 /*22*/ { "mov", true, LONG, op2(E,CR), 0 },
186 /*23*/ { "mov", true, LONG, op2(E,DR), 0 },
187 /*24*/ { "mov", true, LONG, op2(TR,E), 0 },
189 /*26*/ { "mov", true, LONG, op2(E,TR), 0 },
223 /*40*/ { "cmovo", true, LONG, op2(
[all...]
/netbsd-6-1-5-RELEASE/external/lgpl2/mpc/dist/src/
H A Dadd_si.c25 mpc_add_si (mpc_ptr rop, mpc_srcptr op1, long int op2, mpc_rnd_t rnd) argument
29 inex_re = mpfr_add_si (MPC_RE (rop), MPC_RE (op1), op2, MPC_RND_RE (rnd));
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/g++.dg/tree-ssa/
H A Dssa-sra-2.C10 inline OOf operator+(OOf op1, OOf op2) argument
13 f.value = op1.value + op2.value;
16 inline OOf operator*(OOf op1, OOf op2) argument
19 f.value = op1.value * op2.value;
22 inline OOf operator-(OOf op1, OOf op2) argument
25 f.value = op1.value - op2.value;
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/testsuite/g++.dg/tree-ssa/
H A Dssa-sra-2.C10 inline OOf operator+(OOf op1, OOf op2) argument
13 f.value = op1.value + op2.value;
16 inline OOf operator*(OOf op1, OOf op2) argument
19 f.value = op1.value * op2.value;
22 inline OOf operator-(OOf op1, OOf op2) argument
25 f.value = op1.value - op2.value;
/netbsd-6-1-5-RELEASE/sys/arch/sh3/include/
H A Dsh_opcode.h14 unsigned op2: 8; member in struct:__anon6389::__anon6391
20 unsigned op2: 8; member in struct:__anon6389::__anon6392
27 unsigned op2: 4; member in struct:__anon6389::__anon6393
82 unsigned op2: 8; member in struct:__anon6389::__anon6403
88 unsigned op2: 8; member in struct:__anon6389::__anon6404
94 unsigned op2: 4; member in struct:__anon6389::__anon6405
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/sim/common/
H A Dcgen-accfp.c23 sim_fpu op2; local
29 sim_fpu_32to (&op2, y);
30 status = sim_fpu_add (&ans, &op1, &op2);
42 sim_fpu op2; local
48 sim_fpu_32to (&op2, y);
49 status = sim_fpu_sub (&ans, &op1, &op2);
61 sim_fpu op2; local
67 sim_fpu_32to (&op2, y);
68 status = sim_fpu_mul (&ans, &op1, &op2);
80 sim_fpu op2; local
167 sim_fpu op2; local
186 sim_fpu op2; local
205 sim_fpu op2; local
225 sim_fpu op2; local
236 sim_fpu op2; local
247 sim_fpu op2; local
258 sim_fpu op2; local
269 sim_fpu op2; local
280 sim_fpu op2; local
383 sim_fpu op2; local
402 sim_fpu op2; local
421 sim_fpu op2; local
440 sim_fpu op2; local
527 sim_fpu op2; local
546 sim_fpu op2; local
565 sim_fpu op2; local
585 sim_fpu op2; local
596 sim_fpu op2; local
607 sim_fpu op2; local
618 sim_fpu op2; local
629 sim_fpu op2; local
640 sim_fpu op2; local
[all...]
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/gcc.target/powerpc/
H A Dpr26350.c24 int32_t op2; local
27 op1.v = (long double)op2;
/netbsd-6-1-5-RELEASE/external/lgpl3/mpfr/dist/
H A Dagm.c28 mpfr_agm (mpfr_ptr r, mpfr_srcptr op2, mpfr_srcptr op1, mpfr_rnd_t rnd_mode) argument
41 MPFR_LOG_FUNC (("op2[%#R]=%R op1[%#R]=%R rnd=%d", op2,op2,op1,op1,rnd_mode),
45 if (MPFR_ARE_SINGULAR (op1, op2))
48 if (MPFR_IS_NAN(op1) || MPFR_IS_NAN(op2))
56 else if (MPFR_IS_INF(op1) || MPFR_IS_INF(op2))
58 if (MPFR_IS_STRICTPOS(op1) && MPFR_IS_STRICTPOS(op2))
72 MPFR_ASSERTD (MPFR_IS_ZERO (op1) || MPFR_IS_ZERO (op2));
80 if (MPFR_UNLIKELY(MPFR_IS_NEG(op1) || MPFR_IS_NEG(op2)))
[all...]
/netbsd-6-1-5-RELEASE/external/historical/nawk/dist/
H A Dawkgram.y204 var ASGNOP ppattern { $$ = op2($2, $1, $3); }
208 { $$ = op2(BOR, notnull($1), notnull($3)); }
210 { $$ = op2(AND, notnull($1), notnull($3)); }
217 | ppattern IN varname { $$ = op2(INTEST, $1, makearr($3)); }
218 | '(' plist ')' IN varname { $$ = op2(INTEST, $2, makearr($5)); }
219 | ppattern term %prec CAT { $$ = op2(CAT, $1, $2); }
225 var ASGNOP pattern { $$ = op2($2, $1, $3); }
229 { $$ = op2(BOR, notnull($1), notnull($3)); }
231 { $$ = op2(AND, notnull($1), notnull($3)); }
232 | pattern EQ pattern { $$ = op2(
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/openldap/dist/contrib/slapd-modules/samba4/
H A Drdnval.c85 Operation op2 = *op; local
100 op2.o_bd = &db;
101 op2.o_bd->bd_info = (BackendInfo *)on->on_info;
102 op2.o_tag = LDAP_REQ_SEARCH;
103 op2.o_dn = op->o_bd->be_rootdn;
104 op2.o_ndn = op->o_bd->be_rootndn;
105 op2.o_callback = &cb;
109 dnParent( &op->o_req_ndn, &op2.o_req_dn );
110 op2.o_req_ndn = op2
[all...]
/netbsd-6-1-5-RELEASE/external/lgpl3/gmp/dist/tests/mpn/
H A Dt-hgcd.c61 mpz_t op1, op2, temp1, temp2; local
72 mpz_init (op2);
81 mpz_set_str (op2, hgcd_values[i].b, 0);
83 res = one_test (op1, op2, -1-i);
89 fprintf (stderr, "op2="); debug_mp (op2, -16);
110 mpz_urandomb (op2, rands, mpz_get_ui (bs) + MIN_OPERAND_SIZE);
112 if (mpz_cmp (op1, op2) < 0)
113 mpz_swap (op1, op2);
116 one_test (op1, op2,
[all...]
/netbsd-6-1-5-RELEASE/external/gpl3/binutils/dist/gas/config/
H A Dtc-pdp11.c661 struct pdp11_code insn, op1, op2;
699 op2.error = NULL;
700 op2.additional = FALSE;
701 op2.reloc.type = BFD_RELOC_NONE;
804 str = parse_reg (str, &op2);
805 if (op2.error)
807 insn.code |= op2.code << 6;
811 op2.error = _("Missing ','");
832 op2.error = _("Missing ','");
835 str = parse_reg (str, &op2);
659 struct pdp11_code insn, op1, op2; local
[all...]
/netbsd-6-1-5-RELEASE/external/gpl3/binutils/dist/opcodes/
H A Dmsp430-dis.c293 char *op2,
370 *op2 = 0;
497 sprintf (op2, "r0");
500 sprintf (op2, "r1");
503 sprintf (op2, "r2");
506 sprintf (op2, "r%d", regd);
517 sprintf (op2, "0x%04x", PS (dst));
527 sprintf (op2, "&0x%04x", PS (dst));
533 sprintf (op2, "%d(r%d)", dst, regd);
672 char op1[32], op2[3 local
288 msp430_doubleoperand(disassemble_info *info, struct msp430_opcode_s *opcode, bfd_vma addr, unsigned short insn, char *op1, char *op2, char *comm1, char *comm2, int *cycles) argument
[all...]

Completed in 226 milliseconds

123456789