/toolchain/binutils/binutils-2.25/gas/testsuite/gas/ia64/ |
D | regs.pl | 6 for ($i = 1; $i < 128; ++$i) { 7 print "\t{ .mii; mov r$i = r0; nop.i 0; nop.i 0;; }\n"; 13 for ($i = 0; $i < 96; ++$i) { 14 print "\t{ .mii; mov in$i = r0; nop.i 0; nop.i 0;; }\n"; 20 for ($i = 0; $i < 96; ++$i) { 21 print "\t{ .mii; mov out$i = r0; nop.i 0; nop.i 0;; }\n"; 27 for ($i = 0; $i < 96; ++$i) { 28 print "\t{ .mii; mov loc$i = r0; nop.i 0; nop.i 0;; }\n"; 33 for ($i = 0; $i < 4; ++$i) { 34 print "\t{ .mii; mov ret$i = r0; nop.i 0; nop.i 0;; }\n"; [all …]
|
D | regs.s | 6 { .mii; mov r1 = r0; nop.i 0; nop.i 0;; } 7 { .mii; mov r2 = r0; nop.i 0; nop.i 0;; } 8 { .mii; mov r3 = r0; nop.i 0; nop.i 0;; } 9 { .mii; mov r4 = r0; nop.i 0; nop.i 0;; } 10 { .mii; mov r5 = r0; nop.i 0; nop.i 0;; } 11 { .mii; mov r6 = r0; nop.i 0; nop.i 0;; } 12 { .mii; mov r7 = r0; nop.i 0; nop.i 0;; } 13 { .mii; mov r8 = r0; nop.i 0; nop.i 0;; } 14 { .mii; mov r9 = r0; nop.i 0; nop.i 0;; } 15 { .mii; mov r10 = r0; nop.i 0; nop.i 0;; } [all …]
|
D | regs.d | 11 [ ]*[a-f0-9]+: 00 00 00 02 00 00 nop.i 0x0 12 [ ]*[a-f0-9]+: 00 00 04 00 nop.i 0x0;; 14 [ ]*[a-f0-9]+: 00 00 00 02 00 00 nop.i 0x0 15 [ ]*[a-f0-9]+: 00 00 04 00 nop.i 0x0;; 17 [ ]*[a-f0-9]+: 00 00 00 02 00 00 nop.i 0x0 18 [ ]*[a-f0-9]+: 00 00 04 00 nop.i 0x0;; 20 [ ]*[a-f0-9]+: 00 00 00 02 00 00 nop.i 0x0 21 [ ]*[a-f0-9]+: 00 00 04 00 nop.i 0x0;; 23 [ ]*[a-f0-9]+: 00 00 00 02 00 00 nop.i 0x0 24 [ ]*[a-f0-9]+: 00 00 04 00 nop.i 0x0;; [all …]
|
D | invalid-ar.s | 2 mov.i r1 = ar0 3 mov.i r1 = ar1 4 mov.i r1 = ar2 5 mov.i r1 = ar3 6 mov.i r1 = ar4 7 mov.i r1 = ar5 8 mov.i r1 = ar6 9 mov.i r1 = ar7 10 mov.i r1 = ar8 11 mov.i r1 = ar9 [all …]
|
D | opc-m.pl | 7 $i = 0; 16 print "\tld${s}${e}${l} r4 = [r5], ", $i - 256, "\n"; 17 $i = ($i + 13) % 512; 28 print "\tld8.fill${l} r4 = [r5], ", $i - 256, "\n"; 29 $i = ($i + 13) % 512; 38 print "\tst${s}${l} [r4] = r5, ", $i - 256, "\n"; 39 $i = ($i + 13) % 512; 51 print "\tld${s}${e}${l} f4 = [r5], ", $i - 256, "\n"; 52 $i = ($i + 13) % 512; 63 print "\tldf.fill${l} f4 = [r5], ", $i - 256, "\n"; [all …]
|
D | psn.d | 12 c: 00 00 04 00 nop.i 0x0 15 1c: 00 00 04 00 nop.i 0x0 18 2c: 00 00 04 00 nop.i 0x0 21 3c: 00 00 04 00 nop.i 0x0 24 4c: 00 00 04 00 nop.i 0x0 51 dc: 00 00 04 00 nop.i 0x0 57 fc: 00 00 04 00 nop.i 0x0 66 12c: 00 00 04 00 nop.i 0x0;; 72 14c: 00 00 04 00 nop.i 0x0;; 74 156: 00 00 00 02 00 00 nop.i 0x0 [all …]
|
D | opc-b.pl | 12 foreach $i (@iprel) { 13 $call = ($i eq ".call" ? "b0 = " : ""); 17 if ($slottwo{$i}) { 18 if (!$noqual{$i}) { 19 print ("\t{ .bbb; (p2) br${i}${b}${p}${d} ${call}.L1 ;; }\n"); 21 print ("\t{ .bbb; br${i}${b}${p}${d} ${call}.L1 ;; }\n"); 24 if (!$noqual{$i}) { 25 print ("(p2)\tbr${i}${b}${p}${d} ${call}.L1\n"); 29 print ("\tbr${i}${b}${p}${d} ${call}.L0\n"); 38 foreach $i (@indir) { [all …]
|
/toolchain/binutils/binutils-2.25/gas/config/ |
D | tc-i386.c | 476 static i386_insn i; variable 1759 return !((i.types[j].bitfield.byte in match_reg_size() 1761 || (i.types[j].bitfield.word in match_reg_size() 1763 || (i.types[j].bitfield.dword in match_reg_size() 1765 || (i.types[j].bitfield.qword in match_reg_size() 1776 && !((i.types[j].bitfield.unspecified in match_mem_size() 1778 || (i.types[j].bitfield.fword in match_mem_size() 1780 || (i.types[j].bitfield.tbyte in match_mem_size() 1782 || (i.types[j].bitfield.xmmword in match_mem_size() 1784 || (i.types[j].bitfield.ymmword in match_mem_size() [all …]
|
D | tc-dlx.c | 91 int i; in insert_sreg() local 95 for (i = 0; regname[i]; i++) in insert_sreg() 96 buf[i] = ISLOWER (regname[i]) ? TOUPPER (regname[i]) : regname[i]; in insert_sreg() 97 buf[i] = '\0'; in insert_sreg() 281 unsigned int i; in md_begin() local 287 for (i = 0; i < num_dlx_opcodes; i++) in md_begin() 289 const char *name = machine_opcodes[i].name; in md_begin() 291 retval = hash_insert (op_hash, name, (void *) &machine_opcodes[i]); in md_begin() 296 machine_opcodes[i].name, retval); in md_begin() 337 int i, pb = 0; in dlx_parse_loadop() local [all …]
|
D | tc-i386-intel.c | 139 if (this_operand >= 0 && i.reloc[this_operand] == NO_RELOC) in i386_operator() 142 char *gotfree_input_line = lex_got (&i.reloc[this_operand], in i386_operator() 145 (i.bnd_prefix != NULL in i386_operator() 222 && rreg != i.op[this_operand].regs) in i386_intel_check() 272 if (i.op[this_operand].regs) in i386_intel_simplify_register() 283 i.op[this_operand].regs = i386_regtab + reg_num; in i386_intel_simplify_register() 331 ? i.op[this_operand].regs : NULL); in i386_intel_simplify() 450 i.log2_scale_factor = 0; in i386_intel_simplify() 453 i.log2_scale_factor = 1; in i386_intel_simplify() 456 i.log2_scale_factor = 2; in i386_intel_simplify() [all …]
|
D | tc-xgate.c | 297 int i, j = 0; in md_begin() local 307 for (xgate_opcode_ptr = (struct xgate_opcode*) xgate_opcodes, i = 0; in md_begin() 308 i < xgate_num_opcodes; i++) in md_begin() 309 xgate_op_table[i] = xgate_opcode_ptr[i]; in md_begin() 317 for (xgate_opcode_ptr = xgate_op_table, i = 0; i < xgate_num_opcodes; in md_begin() 318 xgate_opcode_ptr++, i++) in md_begin() 332 for (xgate_opcode_ptr = xgate_op_table, i = 0, j = 0; i < xgate_num_opcodes; in md_begin() 333 i++, xgate_opcode_ptr++) in md_begin() 343 if (i) in md_begin() 401 int i; in xgate_print_syntax() local [all …]
|
/toolchain/binutils/binutils-2.25/bfd/ |
D | bfdwin.c | 65 windowp->i = 0; in bfd_init_window() 72 bfd_window_internal *i = windowp->i; in bfd_free_window() local 73 windowp->i = 0; in bfd_free_window() 75 if (i == 0) in bfd_free_window() 77 i->refcount--; in bfd_free_window() 80 windowp, windowp->data, (unsigned long) windowp->size, windowp->i); in bfd_free_window() 81 if (i->refcount != 0) in bfd_free_window() 84 if (i->mapped) in bfd_free_window() 87 munmap (i->data, i->size); in bfd_free_window() 94 mprotect (i->data, i->size, PROT_READ | PROT_WRITE); in bfd_free_window() [all …]
|
D | mep-relocs.pl | 127 for ($i=2; $i<=$#relocs; $i++) { 128 $mask = $pattern[$i]; 135 $bits[$i] = $bits; 137 $pcrel = 1 if $attrs[$i] =~ /pc-rel/i; 138 $overflow = $sign[$i]; 139 $overflow = 'N' if $attrs[$i] =~ /no-overflow/; 141 $c = "$relocs[$i],"; 148 for ($i=2; $i<=$#relocs; $i++) { 150 $v = "s" if $sign[$i] =~ /S/; 151 if (length($pattern[$i]) == 8) { [all …]
|
/toolchain/binutils/binutils-2.25/opcodes/ |
D | opc2c.c | 155 int i; in next_varybits() local 157 for (i = 0; i < 8; i++) in next_varybits() 158 if (!(mask & (1 << i))) in next_varybits() 160 if (bits & (1 << i)) in next_varybits() 162 bits &= ~(1 << i); in next_varybits() 166 bits |= (1 << i); in next_varybits() 184 int i; in valid_varybits() local 193 for (i = 0; i < v->n_patterns; i++) in valid_varybits() 194 if (ob == v->patterns[i]) in valid_varybits() 196 lprintf (sim_log, " found at %d\n", i); in valid_varybits() [all …]
|
D | tic54x-dis.c | 186 int i, shift; in print_instruction() local 206 for (i = 0; i < MAX_OPERANDS && OPTYPE (tm_operands[i]) != OP_None; i++) in print_instruction() 209 int optional = (tm_operands[i] & OPT) != 0; in print_instruction() 211 switch (OPTYPE (tm_operands[i])) in print_instruction() 214 sprint_dual_address (info, operand[i], XMEM (opcode)); in print_instruction() 215 info->fprintf_func (info->stream, "%s%s", comma, operand[i]); in print_instruction() 218 sprint_dual_address (info, operand[i], YMEM (opcode)); in print_instruction() 219 info->fprintf_func (info->stream, "%s%s", comma, operand[i]); in print_instruction() 244 sprint_indirect_address (info, operand[i], opcode); in print_instruction() 245 info->fprintf_func (info->stream, "%s", operand[i]); in print_instruction() [all …]
|
D | nios2-dis.c | 86 unsigned int i; in nios2_init_opcode_hash() local 89 for (i = 0; i < OPCODE_HASH_SIZE; i++) in nios2_init_opcode_hash() 97 if (i == state->extract_opcode (op->match) in nios2_init_opcode_hash() 101 bucket = &(state->ps_hash[i]); in nios2_init_opcode_hash() 106 else if (i == state->extract_opcode (op->match)) in nios2_init_opcode_hash() 107 bucket = &(state->hash[i]); in nios2_init_opcode_hash() 129 for (i = 0; i < OPCODE_HASH_SIZE; ++i) in nios2_init_opcode_hash() 131 nios2_opcode_hash *tmp_hash = state->hash[i]; in nios2_init_opcode_hash() 132 printf ("index: 0x%02X ops: ", i); in nios2_init_opcode_hash() 141 for (i = 0; i < OPCODE_HASH_SIZE; ++i) in nios2_init_opcode_hash() [all …]
|
D | i386-gen.c | 682 unsigned int i; in set_bitfield() local 695 for (i = 0; i < size; i++) in set_bitfield() 696 if (strcasecmp (array[i].name, f) == 0) in set_bitfield() 698 array[i].value = value; in set_bitfield() 711 for (i = 0; i < size; i++) in set_bitfield() 712 if (strncasecmp (array[i].name, f, n) == 0) in set_bitfield() 717 array[i].value = value; in set_bitfield() 735 unsigned int i; in output_cpu_flags() local 739 for (i = 0; i < size - 1; i++) in output_cpu_flags() 741 if (((i + 1) % 20) != 0) in output_cpu_flags() [all …]
|
D | aarch64-gen.c | 93 int i; in initialize_index() local 96 for (i = 0; i < num_of_tables; ++i) in initialize_index() 97 if (table == aarch64_opcode_tables [i]) in initialize_index() 99 if (i == num_of_tables) in initialize_index() 101 return (unsigned int)i << 30; in initialize_index() 266 int i; in divide_table_1() local 278 for (i = 0, ptr = opcode; ptr; ++i) in divide_table_1() 280 if (i > max_num_opcodes_at_leaf_node) in divide_table_1() 281 max_num_opcodes_at_leaf_node = i; in divide_table_1() 367 int i; in initialize_decoder_tree() local [all …]
|
D | sparc-dis.c | 115 #define X_RD(i) (((i) >> 25) & 0x1f) argument 116 #define X_RS1(i) (((i) >> 14) & 0x1f) argument 117 #define X_LDST_I(i) (((i) >> 13) & 1) argument 118 #define X_ASI(i) (((i) >> 5) & 0xff) argument 119 #define X_RS2(i) (((i) >> 0) & 0x1f) argument 120 #define X_RS3(i) (((i) >> 9) & 0x1f) argument 121 #define X_IMM(i,n) (((i) >> 0) & ((1 << (n)) - 1)) argument 122 #define X_SIMM(i,n) SEX (X_IMM ((i), (n)), (n)) argument 123 #define X_DISP22(i) (((i) >> 0) & 0x3fffff) argument 124 #define X_IMM22(i) X_DISP22 (i) argument [all …]
|
D | ia64-gen.c | 347 int i; in deplist_equals() local 352 for (i = 0; i < d1->len; i++) in deplist_equals() 353 if (d1->deps[i] != d2->deps[i]) in deplist_equals() 367 int i; in insert_deplist() local 370 for (i = 0; i < count; i++) in insert_deplist() 371 set[deps[i]] = 1; in insert_deplist() 374 for (i = 0; i < (int) sizeof (set); i++) in insert_deplist() 375 if (set[i]) in insert_deplist() 382 for (i = 0, count = 0; i < (int) sizeof (set); i++) in insert_deplist() 383 if (set[i]) in insert_deplist() [all …]
|
D | cgen-opc.c | 109 size_t i; in cgen_keyword_add() local 125 for (i = 1; i < strlen (ke->name); i++) in cgen_keyword_add() 126 if (! ISALNUM (ke->name[i]) in cgen_keyword_add() 127 && ! strchr (kt->nonalpha_chars, ke->name[i])) in cgen_keyword_add() 136 kt->nonalpha_chars[idx] = ke->name[i]; in cgen_keyword_add() 238 int i; in build_keyword_hash_tables() local 253 for (i = kt->num_init_entries - 1; i >= 0; --i) in build_keyword_hash_tables() 254 cgen_keyword_add (kt, &kt->init_entries[i]); in build_keyword_hash_tables() 266 unsigned int i; in cgen_hw_lookup_by_name() local 269 for (i = 0; i < cd->hw_table.num_entries; ++i) in cgen_hw_lookup_by_name() [all …]
|
/toolchain/binutils/binutils-2.25/ld/testsuite/ld-sh/ |
D | sh2.c | 43 bar (int i) in bar() argument 45 global = i; in bar() 46 return i; in bar() 50 bar0 (int i) in bar0() argument 53 return i; in bar0() 57 bar1 (int i) in bar1() argument 60 return i; in bar1() 64 bar2 (int i) in bar2() argument 67 return i; in bar2() 71 bar3 (int i) in bar3() argument [all …]
|
/toolchain/binutils/binutils-2.25/libiberty/ |
D | sort.c | 62 size_t i; in sort_pointers() local 74 for (i = 0, j = 0; i < sizeof (size_t); ++i) in sort_pointers() 77 j += i; in sort_pointers() 83 for (i = 0; i < sizeof (void *) / sizeof (digit_t); ++i) in sort_pointers() 94 j = sizeof (void *) / sizeof (digit_t) - i; in sort_pointers() 96 j = i; in sort_pointers() 149 size_t i; in main() local 161 for (i = 0; i < k; ++i) in main() 163 pointers[i] = (void *) random (); in main() 164 printf ("%x\n", pointers[i]); in main() [all …]
|
/toolchain/binutils/binutils-2.25/gold/ |
D | plugin.cc | 209 int i = 0; in load() local 210 tv[i].tv_tag = LDPT_MESSAGE; in load() 211 tv[i].tv_u.tv_message = message; in load() 213 ++i; in load() 214 tv[i].tv_tag = LDPT_API_VERSION; in load() 215 tv[i].tv_u.tv_val = LD_PLUGIN_API_VERSION; in load() 217 ++i; in load() 218 tv[i].tv_tag = LDPT_GOLD_VERSION; in load() 219 tv[i].tv_u.tv_val = major * 100 + minor; in load() 221 ++i; in load() [all …]
|
/toolchain/binutils/binutils-2.25/ld/testsuite/ld-frv/ |
D | tls-2.s | 8 .globl i symbol 9 .type i, @object 10 .size i, 4 11 i: label 56 call #gettlsoff(i+1) 57 call #gettlsoff(i+1+4096) 58 call #gettlsoff(i+1+65536) 60 sethi.p #gottlsdeschi(i+2), gr14 61 setlo #gottlsdesclo(i+2), gr14 62 ldd #tlsdesc(i+2)@(gr15, gr14), gr8 [all …]
|