Home
last modified time | relevance | path

Searched refs:nbits (Results 1 – 10 of 10) sorted by relevance

/toolchain/binutils/binutils-2.25/gas/testsuite/gas/all/
Dtest-gen.c475 int nbits = (arg->i2 >= 0 ? arg->i2 : -arg->i2); local
476 word bits = ((word) val) & (((((word) 1) << (nbits - 1)) << 1) - 1);
489 nbits -= 8;
491 while (nbits > 0);
508 int nbits = (arg->i2 >= 0 ? arg->i2 : -arg->i2); local
511 & (((((word) 1) << (nbits - 1)) << 1) - 1);
526 nbits -= 8;
528 while (nbits > 0);
545 int nbits = (arg->i2 >= 0 ? arg->i2 : -arg->i2); local
548 & (((((word) 1) << (nbits - 1)) << 1) - 1);
[all …]
/toolchain/binutils/binutils-2.25/gas/config/
Dtc-cr16.c1752 getconstant (long x, int nbits) in getconstant() argument
1756 return (x & ((((1 << (nbits - 1)) - 1) << 1) | 1)); in getconstant()
1765 print_constant (int nbits, int shift, argument *arg) in print_constant() argument
1769 long constant = getconstant (arg->constant, nbits); in print_constant()
1771 switch (nbits) in print_constant()
1779 mask = (1 << (nbits - 16)) - 1; in print_constant()
1792 if ((nbits == 21) && (IS_INSN_TYPE (LD_STOR_INS))) nbits = 20; in print_constant()
1800 mask = (1 << (nbits - 16)) - 1; in print_constant()
1876 print_operand (int nbits, int shift, argument *arg) in print_operand() argument
1922 print_constant (nbits, shift, arg); in print_operand()
[all …]
Dtc-rl78.c66 char nbits; member
109 rl78_fixup (expressionS exp, int offsetbits, int nbits, int type) in rl78_fixup() argument
113 rl78_bytes.fixups[rl78_bytes.n_fixups].nbits = nbits; in rl78_fixup()
119 #define rl78_field_fixup(exp, offset, nbits, type) \ argument
120 rl78_fixup (exp, offset + 8 * rl78_bytes.n_prefix), nbits, type)
122 #define rl78_op_fixup(exp, offset, nbits, type) \ argument
123 rl78_fixup (exp, offset + 8 * (rl78_bytes.n_prefix + rl78_bytes.n_base), nbits, type)
588 rel = reloc_map [rl78_bytes.fixups[i].nbits / 8][(int) rl78_bytes.fixups[i].type]; in md_assemble()
600 rl78_bytes.fixups[i].nbits / 8, in md_assemble()
Dtc-crx.c1174 getconstant (long x, int nbits) in getconstant() argument
1176 return x & ((((1U << (nbits - 1)) - 1) << 1) | 1); in getconstant()
1185 print_constant (int nbits, int shift, argument *arg) in print_constant() argument
1189 long constant = getconstant (arg->constant, nbits); in print_constant()
1191 switch (nbits) in print_constant()
1201 mask = (1 << (nbits - 16)) - 1; in print_constant()
1252 print_operand (int nbits, int shift, argument *arg) in print_operand() argument
1284 print_constant (nbits, shift, arg); in print_operand()
1294 print_constant (nbits, shift + REG_SIZE, arg); in print_operand()
1297 print_constant (nbits, shift, arg); in print_operand()
Dtc-rx.c701 char nbits; member
794 rx_fixup (expressionS exp, int offsetbits, int nbits, int type) in rx_fixup() argument
798 rx_bytes.fixups[rx_bytes.n_fixups].nbits = nbits; in rx_fixup()
804 #define rx_field_fixup(exp, offset, nbits, type) \ argument
805 rx_fixup (exp, offset, nbits, type)
807 #define rx_op_fixup(exp, offset, nbits, type) \ argument
808 rx_fixup (exp, offset + 8 * rx_bytes.n_base, nbits, type)
1154 rel = reloc_map [rx_bytes.fixups[i].nbits / 8][(int) rx_bytes.fixups[i].type]; in md_assemble()
1166 rx_bytes.fixups[i].nbits / 8, in md_assemble()
Drx-parse.y1319 rx_intop (expressionS exp, int nbits, int opbits) in rx_intop() argument
1324 if (exp.X_op == O_big && nbits == 32) in rx_intop()
1336 switch (nbits) in rx_intop()
1351 printf ("rx_intop passed %d\n", nbits); in rx_intop()
1358 rx_uintop (expressionS exp, int nbits) in rx_uintop() argument
1366 switch (nbits) in rx_uintop()
1377 printf ("rx_uintop passed %d\n", nbits); in rx_uintop()
Dtc-mips.c13860 mips16_immed_extend (offsetT val, unsigned int nbits) in mips16_immed_extend() argument
13863 if (nbits == 16) in mips16_immed_extend()
13868 else if (nbits == 15) in mips16_immed_extend()
/toolchain/binutils/binutils-2.25/opcodes/
Dcrx-dis.c46 int nbits; member
311 p.nbits = end - start; in makelongparameter()
407 if ((p.nbits == 4) && cst4flag) in make_argument()
477 if ((p.nbits == 4) && cst4flag) in make_argument()
Dcr16-dis.c42 int nbits; member
296 p.nbits = end - start; in makelongparameter()
Dbfin-dis.c63 const int nbits; member
128 bfd_vma ea = (((constant_formats[cf].pcrel ? SIGNEXTEND (x, constant_formats[cf].nbits) in fmtconst()
151 int nb = constant_formats[cf].nbits + 1; in fmtconst()
153 x = x | (1 << constant_formats[cf].nbits); in fmtconst()
157 x = constant_formats[cf].issigned ? SIGNEXTEND (x, constant_formats[cf].nbits) : x; in fmtconst()
184 ? SIGNEXTEND (x, constant_formats[cf].nbits) in fmtconst_val()
196 int nb = constant_formats[cf].nbits + 1; in fmtconst_val()
197 x = x | (1 << constant_formats[cf].nbits); in fmtconst_val()
201 x = SIGNEXTEND (x, constant_formats[cf].nbits); in fmtconst_val()