1 Thu Jul 31 21:44:42 1997 Ian Lance Taylor <ian@cygnus.com>
3 * Makefile.am: New file, based on old Makefile.in.
4 * acconfig.h: New file.
5 * acinclude.m4: New file.
6 * stamp-h.in: New file.
7 * configure.in: Call AM_INIT_AUTOMAKE and AM_PROG_LIBTOOL.
8 Removed shared library handling; now handled by libtool. Replace
9 AC_CONFIG_HEADER with AM_CONFIG_HEADER. Call AM_MAINTAINER_MODE,
10 AM_CYGWIN32, and AM_EXEEXT. Replace AC_PROG_INSTALL with
11 AM_PROG_INSTALL. Change all .o files to .lo. Remove stamp-h
12 handling in AC_OUTPUT.
13 * dep-in.sed: Change .o to .lo.
14 * Makefile.in: Now built with automake.
15 * aclocal.m4: Now built with aclocal.
16 * config.in, configure: Rebuild.
18 Mon Jul 28 21:52:24 1997 Jeffrey A Law (law@cygnus.com)
20 * mips-opc.c: Fix typo/thinko in "eret" instruction.
23 Mon Jul 28 22:07:14 1997 Andrew Cagney <cagney@b1.cygnus.com>
25 * mips-opc.c: Fix coding of mtsa.
28 Thu Jul 24 13:03:26 1997 Doug Evans <dje@canuck.cygnus.com>
30 * sparc-opc.c (sparc_opcodes): Fix spelling on fpaddX, fpsubX insns.
32 * sparc-dis.c (sorted_opcodes): New static local.
33 (struct opcode_hash): `opcode' is pointer to const element.
34 (build_hash): First arg is now table of sorted pointers.
35 (print_insn_sparc): Sort opcodes by sorting table of pointers.
36 (compare_opcodes): Update.
38 Tue Jul 15 12:05:23 1997 Doug Evans <dje@canuck.cygnus.com>
40 * cgen-opc.c: #include <ctype.h>.
41 (hash_keyword_name): New arg `case_sensitive_p'. Callers updated.
42 Handle case insensitive hashing.
43 (hash_keyword_value): Change type of `value' to unsigned int.
45 Thu Jul 10 12:56:10 1997 Jeffrey A Law (law@cygnus.com)
47 * mips-opc.c (mips_builtin_opcodes): If an insn uses single
48 precision FP, mark it as such. Likewise for double precision
49 FP. Mark ISA1 insns. Consolidate duplicate opcodes where
52 (mips_builtin_opcodes): Remove non-existant r5900 instructions
56 Thu Jun 26 16:20:27 1997 Jeffrey A Law (law@cygnus.com)
58 * mips-opc.c (mips_builtin_opcodes): Add "pinteh", "pexeh" and
59 "pexew" as synonyms for "pintoh", "pexoh", "pexow".
62 Wed Jun 25 15:25:57 1997 Felix Lee <flee@cirdan.cygnus.com>
64 * ppc-opc.c (extract_nsi): make unsigned expression signed before
66 (UNUSED): remove one level of parens, so MSVC doesn't choke on
67 nesting depth when all the macros are expanded.
69 Tue Jun 17 17:02:17 1997 Ian Lance Taylor <ian@cygnus.com>
71 * sparc-opc.c: The fcmp v9a instructions take an integer register
72 as a destination, not a floating point register. From Christian
73 Kuehnke <Christian.Kuehnke@arbi.Informatik.Uni-Oldenburg.DE>.
75 Mon Jun 16 14:13:18 1997 Ian Lance Taylor <ian@cygnus.com>
77 * m68k-dis.c (print_insn_arg): Print case 7.2 using %pc@()
78 syntax. From Roman Hodek
79 <rnhodek@faui22c.informatik.uni-erlangen.de>.
81 * i386-dis.c (twobyte_has_modrm): Fix pand.
83 Mon Jun 16 14:08:38 1997 Michael Taylor <mbt@mit.edu>
85 * i386-dis.c (dis386_twobyte): Fix pand and pandn.
87 Tue Jun 10 11:26:47 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
89 * arm-dis.c: Add prototypes for arm_decode_shift and
92 Mon Jun 2 11:39:04 1997 Gavin Koch <gavin@cygnus.com>
94 * mips-opc.c: Add r3900 insns.
96 Tue May 27 15:55:44 1997 Ian Lance Taylor <ian@cygnus.com>
98 * sh-dis.c (print_insn_shx): Change relmask to bfd_vma. Don't
99 print delay slot instructions on the same line. When using a PC
100 relative load, add a comment with the value being loaded if it can
103 Tue May 27 11:02:08 1997 Alan Modra <alan@spri.levels.unisa.edu.au>
105 * i386-dis.c (dis386[], dis386_twobyte[]): change pushl/popl
106 to pushS/popS for segment regs and byte constant so that
107 pushw/popw printed when in 16 bit data mode.
109 * i386-dis.c (dis386[]): change cwtl, cltd to cWtS, cStd to
110 print cbtw, cwtd in 16 bit data mode.
111 * i386-dis.c (putop): extra case W to support above.
113 * i386-dis.c (print_insn_x86): print addr32 prefix when given
114 address size prefix in 16 bit address mode.
116 Fri May 23 16:47:23 1997 Ian Lance Taylor <ian@cygnus.com>
118 * sh-dis.c: Reindent. Rename local variable fprintf to
121 Thu May 22 14:06:02 1997 Doug Evans <dje@canuck.cygnus.com>
123 * m32r-opc.c (m32r_cgen_insn_table, cmpui): Undo patch of May 2.
125 Tue May 20 11:26:27 1997 Gavin Koch <gavin@cygnus.com>
127 * mips-opc.c (mips_builtin_opcodes): Moved INSN_ISA field into new
129 * mips16-opc.c (mip16_opcodes): same.
131 Mon May 12 15:10:53 1997 Jim Wilson <wilson@cygnus.com>
133 * m68k-opc.c (moveb): Change $d to %d.
135 Mon May 5 14:28:41 1997 Ian Lance Taylor <ian@cygnus.com>
137 * i386-dis.c: (dis386_twobyte): Add MMX instructions.
138 (twobyte_has_modrm): Likewise.
140 (OP_MMX, OP_EM, OP_MS): New static functions.
142 * i386-dis.c: Revert patch of April 4. The output now matches
145 Fri May 2 12:48:37 1997 Doug Evans <dje@canuck.cygnus.com>
147 * m32r-opc.c (m32r_cgen_insn_table, cmpui): Use $uimm16 instead
150 Thu May 1 15:34:15 1997 Doug Evans <dje@canuck.cygnus.com>
152 * m32r-opc.h (CGEN_ARCH): Renamed from CGEN_CPU.
154 Tue Apr 15 12:40:08 1997 Ian Lance Taylor <ian@cygnus.com>
156 * Makefile.in (install): Depend upon installdirs.
157 (installdirs): New target.
159 Mon Apr 14 12:13:51 1997 Ian Lance Taylor <ian@cygnus.com>
161 From Thomas Graichen <graichen@rzpd.de>:
162 * configure.in: Use ${CONFIG_SHELL} when running $ac_config_sub.
163 * configure: Rebuild.
165 Sun Apr 13 17:50:41 1997 Doug Evans <dje@canuck.cygnus.com>
167 * cgen-*.c, m32r-*.c: #include sysdep.h instead of config.h.
168 Delete string{,s}.h support.
170 Thu Apr 10 14:44:56 1997 Doug Evans <dje@canuck.cygnus.com>
172 * cgen-asm.c (cgen_parse_operand_fn): New global.
173 (cgen_parse_{{,un}signed_integer,address}): Update call to
174 cgen_parse_operand_fn.
175 (cgen_init_parse_operand): New function.
176 * m32r-asm.c (parse_insn_normal): cgen_init_parse_operand renamed
177 from cgen_asm_init_parse.
178 (m32r_cgen_assemble_insn): New operand `errmsg'.
179 Delete call to as_bad, return error message to caller.
180 (m32r_cgen_asm_hash_keywords): #if 0 out.
182 Wed Apr 9 12:05:25 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
184 * m68k-dis.c (print_insn_arg) [case 'd']: Print as address register,
186 [case 'J']: Fix typo in register name.
188 Mon Apr 7 16:48:22 1997 Ian Lance Taylor <ian@cygnus.com>
190 * configure.in: Substitute SHLIB_LIBS.
191 * configure: Rebuild.
192 * Makefile.in (SHLIB_LIBS): New variable.
193 ($(SHLIB)): Use $(SHLIB_LIBS).
195 Mon Apr 7 11:45:44 1997 Doug Evans <dje@canuck.cygnus.com>
197 * cgen-dis.c (build_dis_hash_table): Fix xmalloc size computation.
199 * cgen-opc.c (hash_keyword_name): Improve algorithm.
201 * disassemble.c (disassembler): Handle m32r.
203 Fri Apr 4 12:29:38 1997 Doug Evans <dje@canuck.cygnus.com>
205 * m32r-asm.c, m32r-dis.c, m32r-opc.c, m32r-opc.h: New files.
206 * cgen-asm.c, cgen-dis.c, cgen-opc.c: New files.
207 * Makefile.in (CFILES): Add them.
208 (ALL_MACHINES): Add them.
209 (dependencies): Regenerate.
210 * configure.in (cgen_files): New variable.
211 (bfd_m32r_arch): Add entry.
212 * configure: Regenerate.
214 Fri Apr 4 14:04:16 1997 Ian Lance Taylor <ian@cygnus.com>
216 * configure.in: Correct file names for bfd_mn10[23]00_arch.
217 * configure: Rebuild.
219 * Makefile.in: Rebuild dependencies.
221 * d10v-dis.c: Include "ansidecl.h" before "opcode/d10v.h".
223 * i386-dis.c (float_reg): Swap fsubrp and fsubp. Swap fdivrp and
226 Thu Apr 3 13:22:45 1997 Ian Lance Taylor <ian@cygnus.com>
228 * Branched binutils 2.8.
230 Wed Apr 2 12:23:53 1997 Ian Lance Taylor <ian@cygnus.com>
232 * m10200-dis.c: Rename from mn10200-dis.c.
233 * m10200-opc.c: Rename from mn10200-opc.c.
234 * m10300-dis.c: Rename from mn10300-dis.c
235 * m10300-opc.c: Rename from mn10300-opc.c.
236 * Makefile.in: Update accordingly.
238 * mips16-opc.c: Add mul and dmul macros.
240 Tue Apr 1 16:27:45 1997 Klaus Kaempf <kkaempf@progis.de>
242 * makefile.vms: Update CFLAGS, add clean target.
244 Fri Mar 28 12:10:09 1997 Ian Lance Taylor <ian@cygnus.com>
246 * mips-opc.c: Add "wait". From Ralf Baechle
247 <ralf@gnu.ai.mit.edu>.
249 * configure.in: Add stdlib.h to AC_CHECK_HEADERS list.
250 * configure, config.in: Rebuild.
251 * sysdep.h: Include <stdlib.h> if it exists.
252 * sparc-dis.c: Include <stdio.h> and "sysdep.h". Don't include
254 * Makefile.in: Rebuild dependencies.
256 Thu Mar 27 14:24:43 1997 Ian Lance Taylor <ian@cygnus.com>
258 * ppc-opc.c: Add PPC 403 instructions and extended opcodes. From
259 Andrew Bray <andy@madhouse.demon.co.uk>.
261 * mips-opc.c: Add cast when setting mips_opcodes.
264 Tue Mar 25 23:04:00 1997 Stu Grossman (grossman@critters.cygnus.com)
266 * v850-dis.c (disassemble): Fix sign extension problem.
267 * v850-opc.c (extract_d*): Fix sign extension problems to make
268 disassembly calculate branch offsets correctly.
271 Mon Mar 24 13:22:13 1997 Ian Lance Taylor <ian@cygnus.com>
273 * sh-opc.h: Add bf/s and bt/s as synonyms for bf.s and bt.s.
275 * mips-opc.c: Add dctr and dctw.
278 Sun Mar 23 18:08:10 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
280 * d30v-dis.c (print_insn): Change the way signed constants
283 Fri Mar 21 14:37:52 1997 Ian Lance Taylor <ian@cygnus.com>
285 * Makefile.in (BFD_H): New variable.
286 (HFILES): New variable.
287 (CFILES): Add all C files.
288 (.dep, .dep1, dep.sed, dep, dep-in): New targets.
289 Delete old dependencies, and build new ones.
290 * dep-in.sed: New file.
292 Thu Mar 20 19:03:30 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
294 * m68k-opc.c (m68k_opcode_aliases): Added blo and blo{s,b,w,l}.
296 start-sanitize-coldfire
297 Wed Mar 19 06:53:58 1997 J.T. Conklin <jtc@rtl.cygnus.com>
299 * m68k-opc.c (m68k_opcodes): Provide coldfire division module
302 end-sanitize-coldfire
303 Tue Mar 18 14:17:03 1997 Jeffrey A Law (law@cygnus.com)
305 * mn10200-opc.c: Change "trap" to "syscall".
306 * mn10300-opc.c: Add new "syscall" instruction.
308 Mon Mar 17 08:48:03 1997 J.T. Conklin <jtc@beauty.cygnus.com>
310 * m68k-opc.c (m68k_opcodes): Provide correct entries for mulsl and
311 mulul insns on the coldfire.
313 Sat Mar 15 17:13:05 1997 Ian Lance Taylor <ian@cygnus.com>
315 * arm-dis.c (print_insn_arm): Don't print instruction bytes.
316 (print_insn_big_arm): Set bytes_per_chunk and display_endian.
317 (print_insn_little_arm): Likewise.
319 Fri Mar 14 15:08:59 1997 Ian Lance Taylor <ian@cygnus.com>
321 Based on patches from H.J. Lu <hjl@lucon.org>:
322 * i386-dis.c (fetch_data): Add prototype.
323 * m68k-dis.c (fetch_data): Add prototype.
324 (dummy_print_address): Add prototype. Make static.
325 * ppc-opc.c (valid_bo): Add prototype.
326 * sparc-dis.c (build_hash_table): Add prototype.
327 (is_delayed_branch, compute_arch_mask): Add prototypes.
328 (print_insn_sparc): Make several local variables const.
329 (compare_opcodes): Change arguments to const PTR. Add prototype.
330 * sparc-opc.c (arg): Change name field to be const.
331 (lookup_name, lookup_value): Add prototypes. Change table and
332 name parameters to be const.
333 (sparc_encode_asi): Change name parameter to be const.
334 (sparc_encode_membar, sparc_encode_prefetch): Likewise.
335 (sparc_encode_sparclet_cpreg): Likewise.
336 (sparc_decode_asi): Change return type to be const.
337 (sparc_decode_membar, sparc_decode_prefetch): Likewise.
338 (sparc_decode_sparclet_cpreg): Likewise.
340 Fri Mar 7 10:51:49 1997 Ian Lance Taylor <ian@cygnus.com>
342 * Makefile.in ($(SHLINK)): Just use ln -s, not ln -sf, since
343 Solaris doesn't like the combined options, and the -f is
345 (stamp-tshlink, install): Likewise.
347 Thu Mar 6 16:51:11 1997 Jeffrey A Law (law@cygnus.com)
349 * mn10300-opc.c (IMM16_PCREL, SD8N_PCREL, D16_SHIFT): Mark these
352 Tue Mar 4 06:10:36 1997 J.T. Conklin <jtc@cygnus.com>
354 * m68k-opc.c (m68k_opcodes): Fix last change for the mc68010.
356 Mon Mar 3 07:45:20 1997 J.T. Conklin <jtc@cygnus.com>
358 * m68k-opc.c (m68k_opcodes): Added entries for the tst insns on
361 Thu Feb 27 14:04:32 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
363 * m68k-opc.c (m68k_opcodes): Added swbegl pseudo-instruction.
366 Thu Feb 27 11:36:41 1997 Michael Meissner <meissner@cygnus.com>
368 * tic80-dis.c (print_insn_tic80): Set info->bytes_per_line to 8.
370 Wed Feb 26 15:34:48 1997 Michael Meissner <meissner@cygnus.com>
372 * tic80-opc.c (tic80_predefined_symbols): Define r25 properly.
375 Wed Feb 26 13:38:30 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
377 * m68k-dis.c (NEXTSINGLE, NEXTDOUBLE, NEXTEXTEND): Use
378 floatformat_to_double to make portable.
379 (print_insn_arg): Use NEXTEXTEND macro when extracting extended
382 Mon Feb 24 19:26:12 1997 Dawn Perchik <dawn@cygnus.com>
384 * mips-opc.c: Initialize mips_opcodes to mips_builtin_opcodes,
385 and bfd_mips_num_opcodes to bfd_mips_num_builtin_opcodes.
387 Mon Feb 24 15:19:01 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
389 * d10v-dis.c, d10v-opc.c: Change pre_defined_registers to
390 d10v_predefined_registers and reg_name_cnt to d10v_reg_name_cnt.
393 Mon Feb 24 14:33:26 1997 Fred Fish <fnf@cygnus.com>
395 * tic80-opc.c (LSI_SCALED): Renamed from this ...
396 (OFF_SL_BR_SCALED): ... to this, and added the flag
397 TIC80_OPERAND_BASEREL to the flags word.
398 (tic80_opcodes): Replace all occurances of LSI_SCALED with
402 Sat Feb 22 21:25:00 1997 Dawn Perchik <dawn@cygnus.com>
404 * mips-opc.c: Add macros for cop0, cop1 cop2 and cop3.
405 Change mips_opcodes from const array to a pointer,
406 and change bfd_mips_num_opcodes from const int to int,
407 so that we can increase the size of the mips opcodes table
411 Sat Feb 22 21:03:47 1997 Fred Fish <fnf@cygnus.com>
413 * tic80-opc.c (tic80_predefined_symbols): Revert change to
414 store BITNUM values in the table in one's complement form
415 to match behavior when assembler is given a raw numeric
416 value for a BITNUM operand.
417 * tic80-dis.c (print_operand_bitnum): Ditto.
421 Fri Feb 21 16:31:18 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
423 * d30v-opc.c: Removed references to FLAG_X.
426 Wed Feb 19 14:51:20 1997 Ian Lance Taylor <ian@cygnus.com>
428 * Makefile.in: Add dependencies on ../bfd/bfd.h as required.
431 Tue Feb 18 17:43:43 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
433 * Makefile.in: Added d30v object files.
434 * configure: (bfd_d30v_arch) Rebuilt.
435 * configure.in: (bfd_d30v_arch) Added new case.
436 * d30v-dis.c: New file.
437 * d30v-opc.c: New file.
438 * disassemble.c (disassembler) Add entry for d30v.
442 Tue Feb 18 16:32:08 1997 Fred Fish <fnf@cygnus.com>
444 * tic80-opc.c (tic80_predefined_symbols): Add symbolic
445 representations for the floating point BITNUM values.
447 Fri Feb 14 12:14:05 1997 Fred Fish <fnf@cygnus.com>
449 * tic80-opc.c (tic80_predefined_symbols): Store BITNUM values
450 in the table in one's complement form, as they appear in the
452 (tic80_symbol_to_value): Use macros to access predefined
454 (tic80_value_to_symbol): Ditto.
455 (tic80_next_predefined_symbol): New function.
456 * tic80-dis.c (print_operand_bitnum): Remove code that did
457 one's complement for BITNUM values.
461 Fri Feb 14 13:56:51 1997 Gavin Koch <gavin@cygnus.com>
463 * mips-opc.c: bug fix, can't mark insns INSN_5900 and INSN_ISA4
466 Thu Feb 13 21:56:51 1997 Klaus Kaempf <kkaempf@progis.de>
468 * makefile.vms: Remove 8 bit characters. Update to latest
471 Thu Feb 13 20:41:22 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
473 * m68k-opc.c (m68k_opcodes): Add swbeg pseudo-instruction.
475 Thu Feb 13 16:30:02 1997 Jeffrey A Law (law@cygnus.com)
477 * mn10200-opc.c (IMM16_PCREL): This is a signed operand.
478 (IMM24_PCREL): Likewise.
480 Thu Feb 13 13:28:43 1997 Ian Lance Taylor <ian@cygnus.com>
482 * mips-dis.c (print_mips16_insn_arg): Use memaddr - 2 as the base
483 address for an extended PC relative instruction that is not a
486 Wed Feb 12 12:27:40 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
488 * m68k-dis.c (print_insn_m68k): Set bytes_per_chunk and
492 Tue Feb 11 16:36:31 1997 Fred Fish <fnf@cygnus.com>
494 * tic80-opc.c (tic80_operands): Fix typo '+' -> '|'.
495 (tic80_opcodes): Sort entries so that long immediate forms
496 come after short immediate forms, making it easier for
497 assembler to select the right one for a given operand.
500 Tue Feb 11 15:26:47 1997 Ian Lance Taylor <ian@cygnus.com>
502 * mips-dis.c (_print_insn_mips): Set bytes_per_chunk and
504 (print_insn_mips16): Likewise.
507 Fri Feb 7 11:12:44 1997 Gavin Koch <gavin@cygnus.com>
509 * mips-opc.c: add r5900.
513 Mon Feb 10 10:12:41 1997 Fred Fish <fnf@cygnus.com>
515 * tic80-opc.c (tic80_symbol_to_value): Changed to accept
516 a symbol class that restricts translation to just that
517 class (general register, condition code, etc).
519 Thu Feb 6 17:34:09 1997 Fred Fish <fnf@cygnus.com>
521 * tic80-opc.c (tic80_operands): Add REG_0_E, REG_22_E,
522 and REG_DEST_E for register operands that have to be
523 an even numbered register. Add REG_FPA for operands that
524 are one of the floating point accumulator registers.
525 Add TIC80_OPERAND_MASK to flags for ENDMASK operand.
526 (tic80_opcodes): Change entries that need even numbered
527 register operands to use the new operand table entries.
528 Add "or" entries that are identical to "or.tt" entries.
531 Wed Feb 5 11:12:44 1997 Ian Lance Taylor <ian@cygnus.com>
533 * mips16-opc.c: Add new cases of exit instruction for
535 * mips-dis.c (print_mips16_insn_arg): Display floating point
536 registers in operands of exit instruction. Print `$' before
537 register names in operands of entry and exit instructions.
540 Thu Jan 30 14:09:03 1997 Fred Fish <fnf@cygnus.com>
542 * tic80-opc.c (tic80_predefined_symbols): Table of name/value
543 pairs for all predefined symbols recognized by the assembler.
544 Also used by the disassembling routines.
545 (tic80_symbol_to_value): New function.
546 (tic80_value_to_symbol): New function.
547 * tic80-dis.c (print_operand_control_register,
548 print_operand_condition_code, print_operand_bitnum):
549 Remove private tables and use tic80_value_to_symbol function.
552 Thu Jan 30 11:30:45 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
554 * d10v-dis.c (print_operand): Change address printing
555 to correctly handle PC wrapping. Fixes PR11490.
557 Wed Jan 29 09:39:17 1997 Jeffrey A Law (law@cygnus.com)
559 * mn10200-opc.c (mn10200_operands): Make 8 and 16 bit pc-relative
562 Tue Jan 28 15:57:34 1997 Ian Lance Taylor <ian@cygnus.com>
564 * mips-dis.c (print_insn_mips16): Set insn_info information.
565 (print_mips16_insn_arg): Likewise.
567 * mips-dis.c (print_insn_mips16): Better handling of an extend
568 opcode followed by an instruction which can not be extended.
570 Fri Jan 24 12:08:21 1997 J.T. Conklin <jtc@cygnus.com>
572 * m68k-opc.c (m68k_opcodes): Changed operand specifier for the
573 coldfire moveb instruction to not allow an address register as
574 destination. Although the documentation does not indicate that
575 this is invalid, experiments uncovered unexpected behavior.
576 Added a comment explaining the situation. Thanks to Andreas
577 Schwab for pointing this out to me.
580 Wed Jan 22 20:13:51 1997 Fred Fish <fnf@cygnus.com>
582 * tic80-opc.c (tic80_opcodes): Expand comment to note that the
583 entries are presorted so that entries with the same mnemonic are
584 adjacent to each other in the table. Sort the entries for each
585 instruction so that this is true.
588 Mon Jan 20 12:48:57 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
590 * m68k-dis.c: Include <libiberty.h>.
591 (print_insn_m68k): Sort the opcode table on the most significant
592 nibble of the opcode.
595 Sat Jan 18 15:15:05 1997 Fred Fish <fnf@cygnus.com>
597 * tic80-dis.c (tic80_opcodes): Add "wrcr", "vmpy", "vrnd",
598 "vsub", "vst", "xnor", and "xor" instructions.
599 (V_a1): Renamed from V_a, msb of accumulator reg number.
600 (V_a0): Add macro, lsb of accumulator reg number.
602 Fri Jan 17 18:24:31 1997 Fred Fish <fnf@cygnus.com>
604 * tic80-dis.c (print_insn_tic80): Broke excessively long
605 function up into several smaller ones and arranged for
606 the instruction printing function to be callable recursively
607 to print vector instructions that have both a load and a
608 math instruction packed into a single opcode.
609 * tic80-opc.c (tic80_opcodes): Expand comment for vld opcode
610 to explain why it comes after the other vector opcodes.
613 Fri Jan 17 16:19:15 1997 J.T. Conklin <jtc@beauty.cygnus.com>
615 * m68k-opc.c (m68k_opcodes): add b, w, or l specifier to coldfire
616 move insns to handle immediate operands.
618 Thu Jan 17 16:19:00 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
620 * m68k-opc.c (m68k_opcodes): Delete duplicate entry for "cmpil".
621 fix operand mask in the "moveml" entries for the coldfire.
624 Thu Jan 16 20:54:40 1997 Fred Fish <fnf@cygnus.com>
626 * tic80-opc.c (V_a, V_m, V_S, V_Z, V_p, OP_V, MASK_V):
627 New macros for building vector instruction opcodes.
628 (tic80_opcodes): Remove all uses of FMT_SI, FMT_REG, and
629 FMT_LI, which were unused. The field is now a flags field.
630 Remove some opcodes that are possible, but illegal, such
631 as long immediate instructions with doubles for immediate
632 values. Add "vadd" and "vld" instructions.
634 Wed Jan 15 18:59:51 1997 Fred Fish <fnf@cygnus.com>
636 * tic80-opc.c (tic80_operands): Reorder some table entries to make
637 the order more logical. Move the shift alias instructions ("rotl",
638 "shl", "ins", "rotr", "extu", "exts", "srl", and "sra" to be
639 interspersed with the regular sr.x and sl.x instructions. Add
640 and test new instruction opcodes for "sl", "sli", "sr", "sri", "st",
641 "sub", "subu", "swcr", and "trap".
643 Tue Jan 14 19:42:50 1997 Fred Fish <fnf@cygnus.com>
645 * tic80-opc.c (OFF_SS_PC): Renamed from OFF_SS.
646 (OFF_SL_PC): Renamed from OFF_SL.
647 (OFF_SS_BR): New operand type for base relative operand.
648 (OFF_SL_BR): New operand type for base relative operand.
649 (REG_BASE): New operand type for base register operand.
650 (tic80_opcodes): Add and test "fmpy", "frndm", "frndn", "frndp",
651 "frndz", "fsqrt", "fsub", "illop0", "illopF", "ins", "jsr",
652 "ld", "ld.u", "lmo", "or", "rdcr", "rmo", "rotl", and "rotr"
654 * tic80-dis.c (print_insn_tic80): Print opcode name with fixed width
655 10 char field, padded with spaces on rhs, rather than a string
656 followed by a tab. Use renamed TIC80_OPERAND_PCREL flag bit rather
657 than old TIC80_OPERAND_RELATIVE. Add support for new
658 TIC80_OPERAND_BASEREL flag bit.
660 Mon Jan 13 15:58:56 1997 Fred Fish <fnf@cygnus.com>
662 * tic80-dis.c (print_insn_tic80): Print floating point operands
664 * tic80-opc.c (SPFI): Add single precision floating point
665 immediate operand type.
666 (ROTATE): Add rotate operand type for shifts.
667 (ENDMASK): Add for shifts.
668 (n): Macro for the 'n' bit.
669 (i): Macro for the 'i' bit.
670 (PD): Macro for the 'PD' field.
671 (P2): Macro for the 'P2' field.
672 (P1): Macro for the 'P1' field.
673 (tic80_opcodes): Add entries for "exts", "extu", "fadd",
677 Mon Jan 6 15:06:55 1997 Jeffrey A Law (law@cygnus.com)
679 * mn10200-dis.c (disassemble): Mask off unwanted bits after
680 adding in current address for pc-relative operands.
683 Mon Jan 6 10:56:25 1997 Fred Fish <fnf@cygnus.com>
685 * tic80-dis.c (R_SCALED): Add macro to test for ":s" modifier bit.
686 (print_insn_tic80): If R_SCALED then print ":s" modifier for operand.
687 * tic80-opc.c (REG0, REG22, REG27, SSOFF, LSOFF): Names
688 changed to REG_0, REG_22, REG_DEST, OFF_SS, OFF_SL respectively.
689 (SICR, LICR, REGM_SI, REGM_LI): Names changed to CR_SI, CR_LI,
690 REG_BASE_M_SI, REG_BASE_M_LI respectively.
691 (REG_SCALED, LSI_SCALED): New operand types.
692 (E): New macro for 'E' bit at bit 27.
693 (tic80_opcodes): Add and test dld, dld.u, dst, estop, and etrap
694 opcodes, including the various size flavors (b,h,w,d) for
695 the direct load and store instructions.
697 Sun Jan 5 12:18:14 1997 Fred Fish <fnf@cygnus.com>
699 * tic80-dis.c (M_SI, M_LI): Add macros to test for ":m" modifier bit
701 * tic80-dis.c (print_insn_tic80): Change comma and paren handling.
702 Use M_SI and M_LI macros to check for ":m" modifier for GPR operands.
703 * tic80-opc.c (tic80_operands): Add REGM_SI and REGM_LI operands.
704 (F, M_REG, M_LI, M_SI, SZ_REG, SZ_LI, SZ_SI, D, S): New bit-twiddlers.
705 (MASK_LI_M, MASK_SI_M, MASK_REG_M): Remove and replace in opcode
706 masks with "MASK_* & ~M_*" to get the M bit reset.
707 (tic80_opcodes): Add bsr, bsr.a, cmnd, cmp, dcachec, and dcachef.
709 Sat Jan 4 19:05:05 1997 Fred Fish <fnf@cygnus.com>
711 * tic80-dis.c (print_insn_tic80): Print TIC80_OPERAND_RELATIVE
712 correctly. Add support for printing TIC80_OPERAND_BITNUM and
713 TIC80_OPERAND_CC, and TIC80_OPERAND_CR operands in symbolic
715 * tic80-opc.c (tic80_operands): Add SSOFF, LSOFF, BITNUM,
716 CC, SICR, and LICR table entries.
717 (tic80_opcodes): Add and test "nop", "br", "bbo", "bbz",
718 "bcnd", and "brcr" opcodes.
721 Fri Jan 3 18:32:11 1997 Fred Fish <fnf@cygnus.com>
723 * ppc-opc.c (powerpc_operands): Make comment match the
724 actual fields (no shift field).
725 * sparc-opc.c (sparc_opcodes): Document why this cannot be "const".
727 * tic80-dis.c (print_insn_tic80): Replace abort stub with a
728 partial implementation, work in progress.
729 * tic80-opc.c (tic80_operands): Begin construction operands table.
730 (tic80_opcodes): Continue populating opcodes table and start
731 filling in the operand indices.
732 (tic80_num_opcodes): Add this.
735 Fri Jan 3 12:13:52 1997 Ian Lance Taylor <ian@cygnus.com>
737 * m68k-opc.c: Add #B case for moveq.
739 Thu Jan 2 12:14:29 1997 Jeffrey A Law (law@cygnus.com)
741 * mn10300-dis.c (disassemble): Make sure all variables are initialized
742 before they are used.
745 Tue Dec 31 12:20:38 1996 Jeffrey A Law (law@cygnus.com)
747 * v850-opc.c (v850_opcodes): Put curly-braces around operands
748 for "breakpoint" instruction.
751 Tue Dec 31 15:38:13 1996 Ian Lance Taylor <ian@cygnus.com>
753 * Makefile.in (ALL_CFLAGS): Add -D_GNU_SOURCE.
754 (dep): Use ALL_CFLAGS rather than CFLAGS.
757 Tue Dec 31 15:09:16 1996 Michael Meissner <meissner@tiktok.cygnus.com>
759 * v850-opc.c (D8_{6,7}): Set V850_OPERAND_ADJUST_SHORT_MEMORY
763 Mon Dec 30 17:02:11 1996 Fred Fish <fnf@cygnus.com>
765 * Makefile.in (m68k-opc.o, alpha-opc.o): Remove dis-asm.h dependency.
767 (tic80-dis.o, tic80-opc.o): Add rules per comment in Makefile.in.
770 Mon Dec 30 11:38:01 1996 Ian Lance Taylor <ian@cygnus.com>
772 * mips16-opc.c: Add "abs".
775 Sun Dec 29 10:58:22 1996 Fred Fish <fnf@cygnus.com>
777 * Makefile.in (ALL_MACHINES): Add tic80-dis.o and tic80-opc.o.
778 * disassemble.c (ARCH_tic80): Define if ARCH_all is defined.
779 (disassembler): Add bfd_arch_tic80 support to set disassemble
781 * tic80-dis.c (print_insn_tic80): Add stub.
783 Fri Dec 27 22:30:57 1996 Fred Fish <fnf@cygnus.com>
785 * configure.in (arch in $selarchs): Add bfd_tic80_arch entry.
786 * configure: Regenerate with autoconf.
787 * tic80-dis.c: Add file.
788 * tic80-opc.c: Add file.
791 Fri Dec 20 14:30:19 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
793 * d10v-opc.c (pre_defined_registers): Add cr[0-15], dpc, dpsw, link.
795 Mon Dec 16 13:00:15 1996 Jeffrey A Law (law@cygnus.com)
797 * mn10200-opc.c (mn10200_operands): Add SIMM16N.
798 (mn10200_opcodes): Use it for some logicals and btst insns.
799 Add "break" and "trap" instructions.
801 * mn10300-opc.c (mn10300_opcodes): Add "break" instruction.
803 * mn10200-opc.c: Add pseudo-ops for "mov (an),am" and "mov an,(am)".
805 Sat Dec 14 22:36:20 1996 Ian Lance Taylor <ian@cygnus.com>
807 * mips-dis.c (print_mips16_insn_arg): The base address of a PC
808 relative load or add now depends upon whether the instruction is
811 Wed Dec 11 09:23:46 1996 Jeffrey A Law (law@cygnus.com)
813 * mn10200-dis.c: Finish writing disassembler.
814 * mn10200-opc.c (mn10200_opcodes): Fix mask for "mov imm8,dn".
815 Fix mask for "jmp (an)".
817 * mn10300-dis.c (disassemble, print_insn_mn10300): Corrently
818 handle endianness issues for mn10300.
820 * mn10200-opc.c (mn10200_opcodes): Fix operands for "movb dm,(an)".
822 Tue Dec 10 12:08:05 1996 Jeffrey A Law (law@cygnus.com)
824 * mn10200-opc.c (mn10200_opcodes): "mov imm8,d0" is a format 2
825 instruction. Fix opcode field for "movb (imm24),dn".
827 * mn10200-opc.c (mn10200_operands): Fix insertion position
830 Mon Dec 9 16:42:43 1996 Jeffrey A Law (law@cygnus.com)
832 * mn10200-opc.c: Create mn10200 opcode table.
833 * mn10200-dis.c: Flesh out mn10200 disassembler. Not ready,
834 but moving along nicely.
836 Sun Dec 8 04:28:31 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
838 * Makefile.in (ALL_MACHINES): Add mips16-opc.o.
840 Fri Dec 6 16:47:40 1996 J.T. Conklin <jtc@rhino.cygnus.com>
842 * m68k-opc.c (m68k_opcodes): Revert change to use < and >
843 specifiers for fmovem* instructions.
845 Fri Dec 6 14:48:09 1996 Jeffrey A Law (law@cygnus.com)
847 * mn10300-dis.c (disassemble): Remove '$' register prefixing.
849 Fri Dec 6 17:34:39 1996 Ian Lance Taylor <ian@cygnus.com>
851 * mips16-opc.c: Change opcode for entry/exit to avoid conflicting
854 Fri Dec 6 14:48:09 1996 Jeffrey A Law (law@cygnus.com)
856 * mn10300-opc.c: Add some comments explaining the various
859 * mn10300-dis.c (disassemble): Fix minor gcc -Wall warnings.
861 Thu Dec 5 12:09:48 1996 J.T. Conklin <jtc@rtl.cygnus.com>
863 * m68k-dis.c (print_insn_arg): Handle new < and > operand
866 * m68k-opc.c (m68k_opcodes): Simplify table by using < and >
867 operand specifiers in fmovm* instructions.
869 Wed Dec 4 14:52:18 1996 Ian Lance Taylor <ian@cygnus.com>
871 * ppc-opc.c (insert_li): Give an error if the offset has the two
872 least significant bits set.
874 Wed Nov 27 13:09:01 1996 Ian Lance Taylor <ian@cygnus.com>
876 * mips-dis.c (print_insn_mips16): Separate the instruction from
877 the arguments with a tab, not a space.
879 Tue Nov 26 13:24:17 1996 Jeffrey A Law (law@cygnus.com)
881 * mn10300-dis.c (disasemble): Finish conversion to '$' as
884 * mn10300-opc.c (mn10300_opcodes): Fix mask field for
887 Tue Nov 26 10:53:21 1996 Ian Lance Taylor <ian@cygnus.com>
889 * configure: Rebuild with autoconf 2.12.
891 Add support for mips16 (16 bit MIPS implementation):
892 * mips16-opc.c: New file.
893 * mips-dis.c: Include "elf-bfd.h" and "elf/mips.h".
894 (mips16_reg_names): New static array.
895 (print_insn_big_mips): Use print_insn_mips16 in 16 bit mode or
896 after seeing a 16 bit symbol.
897 (print_insn_little_mips): Likewise.
898 (print_insn_mips16): New static function.
899 (print_mips16_insn_arg): New static function.
900 * mips-opc.c: Add jalx instruction.
901 * Makefile.in (mips16-opc.o): New target.
902 * configure.in: Use mips16-opc.o for bfd_mips_arch.
903 * configure: Rebuild.
905 Mon Nov 25 16:15:17 1996 J.T. Conklin <jtc@cygnus.com>
907 * m68k-opc.c (m68k_opcodes): Simplify table by using < and >
908 operand specifiers in *save, *restore and movem* instructions.
910 * m68k-opc.c (m68k_opcodes): Fix move and movem instructions for
913 * m68k-opc.c (m68k_opcodes): The coldfire (mcf5200) can only use
914 register operands for immediate arithmetic, not, neg, negx, and
915 set according to condition instructions.
917 * m68k-opc.c (m68k_opcodes): Consistantly Use "s" as the storage
918 specifier of the effective-address operand in immediate forms of
919 arithmetic instructions. The specifier for the immediate operand
920 notes how and where the constant will be stored.
922 Mon Nov 25 11:17:01 1996 Jeffrey A Law (law@cygnus.com)
924 * mn10300-opc.c (mn10300_opcodes): Remove redundant "lcc"
927 * mn10300-dis.c (disassemble): Use '$' instead of '%' for
930 * mn10300-dis.c (disassemble): Prefix registers with '%'.
932 Wed Nov 20 10:37:13 1996 Jeffrey A Law (law@cygnus.com)
934 * mn10300-dis.c (disassemble): Handle register lists.
936 * mn10300-opc.c: Fix handling of register list operand for
937 "call", "ret", and "rets" instructions.
939 * mn10300-dis.c (disassemble): Print PC-relative and memory
940 addresses symbolically if possible.
941 * mn10300-opc.c: Distinguish between absolute memory addresses,
942 pc-relative offsets & random immediates.
944 * mn10300-dis.c (print_insn_mn10300): Fix fetch of last byte
946 (disassemble): Handle SPLIT and EXTENDED operands.
948 Tue Nov 19 13:33:01 1996 Jeffrey A Law (law@cygnus.com)
950 * mn10300-dis.c: Rough cut at printing some operands.
952 * mn10300-dis.c: Start working on disassembler support.
953 * mn10300-opc.c (mn10300_opcodes): Fix masks on several insns.
955 * mn10300-opc.c (mn10300_operands): Add "REGS" for a register
957 (mn10300_opcodes): Use REGS for register list in "movm" instructions.
959 Mon Nov 18 15:20:35 1996 Michael Meissner <meissner@tiktok.cygnus.com>
961 * d10v-opc.c (d10v_opcodes): Add3 sets the carry.
963 Fri Nov 15 13:43:19 1996 Jeffrey A Law (law@cygnus.com)
965 * mn10300-opc.c (mn10300_opcodes): Demand parens around
966 register argument is calls and jmp instructions.
968 Thu Nov 7 00:26:05 1996 Jeffrey A Law (law@cygnus.com)
970 * mn10300-opc.c (mn10300_opcodes): Use DN01 for putx and
971 getx operand. Fix opcode for mulqu imm,dn.
973 Wed Nov 6 13:42:32 1996 Jeffrey A Law (law@cygnus.com)
975 * mn10300-opc.c (mn10300_operands): Hijack "bits" field
976 in MN10300_OPERAND_SPLIT operands for how many bits
977 appear in the basic insn word. Add IMM32_HIGH24,
978 IMM32_HIGH24_LOWSHIFT8, IMM8E_SHIFT8.
979 (mn10300_opcodes): Use new operands as needed.
981 * mn10300-opc.c (mn10300_operands): Add IMM32_LOWSHIFT8
982 for bset, bclr, btst instructions.
983 (mn10300_opcodes): Use new IMM32_LOWSHIFT8 as needed.
985 * mn10300-opc.c (mn10300_operands): Remove many redundant
986 operands. Update opcode table as appropriate.
987 (IMM32): Add MN10300_OPERAND_SPLIT flag.
988 (mn10300_opcodes): Fix single bit error in mov imm32,dn insn.
990 Tue Nov 5 13:26:58 1996 Jeffrey A Law (law@cygnus.com)
992 * mn10300-opc.c (mn10300_operands): Add DN2, DM2, AN2, AM2
993 operands (for indexed load/stores). Fix bitpos for DI
994 operand. Add SN8N_SHIFT8, IMM8_SHIFT8, and D16_SHIFT for the
995 few instructions that insert immediates/displacements in the
996 middle of the instruction. Add IMM8E for 8 bit immediate in
997 the extended part of an instruction.
998 (mn10300_operands): Use new opcodes as appropriate.
1000 Tue Nov 5 10:30:51 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
1002 * d10v-opc.c (d10v_opcodes): Declare the trap instruction
1003 sequential so the assembler never parallelizes it with
1006 Mon Nov 4 12:50:40 1996 Jeffrey A Law (law@cygnus.com)
1008 * mn10300-opc.c (mn10300_operands): Add DN01 and AN01 for
1009 a data/address register that appears in register field 0
1010 and register field 1.
1011 (mn10300_opcodes): Use DN01 and AN01 for mov/cmp imm8,DN/AN
1013 Fri Nov 1 10:29:11 1996 Richard Henderson <rth@tamu.edu>
1015 * alpha-dis.c (print_insn_alpha): Use new NOPAL mask for
1016 standard disassembly.
1018 * alpha-opc.c (alpha_operands): Rearrange flags slot.
1019 (alpha_opcodes): Add new BWX, CIX, and MAX instructions.
1020 Recategorize PALcode instructions.
1023 Wed Oct 30 16:46:58 1996 Jeffrey A Law (law@cygnus.com)
1025 * v850-opc.c (v850_opcodes): Add relaxing "jbr".
1028 Tue Oct 29 16:30:28 1996 Ian Lance Taylor <ian@cygnus.com>
1030 * mips-dis.c (_print_insn_mips): Don't print a trailing tab if
1031 there are no operand types.
1034 Tue Oct 29 12:22:21 1996 Jeffrey A Law (law@cygnus.com)
1036 * v850-opc.c (D9_RELAX): Renamed from D9, all references
1038 (v850_operands): Make sure D22 immediately follows D9_RELAX.
1041 Fri Oct 25 12:12:53 1996 Ian Lance Taylor <ian@cygnus.com>
1043 * i386-dis.c (print_insn_x86): Set info->bytes_per_line to 5.
1046 Thu Oct 24 17:53:52 1996 Jeffrey A Law (law@cygnus.com)
1048 * v850-opc.c (insert_d8_6): Fix operand insertion for sld.w
1049 and sst.w instructions.
1051 * v850-opc.c (v850_opcodes): Add "jCC" instructions (aliases for
1055 Thu Oct 24 17:21:20 1996 Ian Lance Taylor <ian@cygnus.com>
1057 * mips-dis.c (_print_insn_mips): Use a tab between the instruction
1060 Tue Oct 22 23:32:56 1996 Ian Lance Taylor <ian@cygnus.com>
1062 * ppc-opc.c (PPCPWR2): Define.
1063 (powerpc_opcodes): Use PPCPWR2 for fsqrt, rather than duplicating
1066 Fri Oct 11 16:03:49 1996 Jeffrey A Law (law@cygnus.com)
1068 * mn10300-opc.c (mn10300_opcodes): Fix typo in opcode
1069 field for movhu instruction.
1072 * v850-dis.c (disassemble): For V850_OPERAND_SIGNED operands,
1073 cast value to "long" not "signed long" to keep hpux10
1077 Thu Oct 10 10:25:58 1996 Jeffrey A Law (law@cygnus.com)
1079 * mn10300-opc.c (mn10300_opcodes): Fix typo in opcode field
1082 * mn10300-opc.c (FMT*): Remove definitions.
1084 * mn10300-opc.c (mn10300_opcodes): Fix destination register
1085 for shift-by-register opcodes.
1087 * mn10300-opc.c (mn10300_operands): Break DN, DM, AN, AM
1088 into [AD][MN][01] for encoding the position of the register
1091 Wed Oct 9 11:19:26 1996 Jeffrey A Law (law@cygnus.com)
1093 * mn10300-opc.c (mn10300_opcodes): Add "extended" instructions,
1094 "putx", "getx", "mulq", "mulqu", "sat16", "sat24", "bsch".
1096 Tue Oct 8 11:55:35 1996 Jeffrey A Law (law@cygnus.com)
1098 * mn10300-opc.c (mn10300_operands): Remove "REGS" operand.
1099 Fix various typos. Add "PAREN" operand.
1100 (MEM, MEM2): Define.
1101 (mn10300_opcodes): Surround all memory addresses with "PAREN"
1102 operands. Fix several typos.
1104 * mn10300-opc.c (mn10300_opcodes): Fix typos in yesterday's
1107 Mon Oct 7 16:48:45 1996 Jeffrey A Law (law@cygnus.com)
1109 * mn10300-opc.c (FMT_XX): Renumber starting at one.
1110 (mn10300_operands): Rough cut. Enough to parse "mov" instructions
1112 (mn10300_opcodes): Break opcode format out into its own field.
1113 Update many operand fields to deal with signed vs unsigned
1114 issues. Fix one or two typos in the "mov" instruction
1115 opcode, mask and/or operand fields.
1117 Mon Oct 7 11:39:49 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1119 * m68k-opc.c (plusha): Prefer encoding for m68040up, in case
1120 m68851 wasn't reset.
1122 Thu Oct 3 17:17:02 1996 Ian Lance Taylor <ian@cygnus.com>
1124 * mn10300-opc.c (mn10300_opcodes): Add opcode & masks for
1125 all opcodes. Very rough cut at operands for all opcodes.
1127 * mn10300-opc.c (mn10300_opcodes): Start fleshing out the
1130 Thu Oct 3 10:06:07 1996 Jeffrey A Law (law@cygnus.com)
1132 * mn10200-opc.c, mn10300-opc.c: New files.
1133 * mn10200-dis.c, mn10300-dis.c: New files.
1134 * mn10x00-opc.c, mn10x00-dis.c: Deleted.
1135 * disassemble.c: Break mn10x00 support into 10200 and 10300
1137 * configure.in: Likewise.
1138 * configure: Rebuilt.
1140 Thu Oct 3 15:59:12 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
1142 * Makefile.in (MOSTLYCLEAN): Move config.log to distclean.
1144 Wed Oct 2 23:28:42 1996 Jeffrey A Law (law@cygnus.com)
1146 * mn10x00-opc.c, mn10x00-dis.c: New files for Matsushita
1148 * disassemble (ARCH_mn10x00): Define.
1149 (disassembler): Handle bfd_arch_mn10x00.
1150 * configure.in: Recognize bfd_mn10x00_arch.
1151 * configure: Rebuilt.
1153 Tue Oct 1 10:49:11 1996 Ian Lance Taylor <ian@cygnus.com>
1155 * i386-dis.c (op_rtn): Change to be a pointer. Adjust uses
1156 accordingly. Don't declare functions using op_rtn.
1159 Fri Sep 27 18:28:59 1996 Stu Grossman (grossman@critters.cygnus.com)
1161 * v850-dis.c (disassemble): Add memaddr argument. Re-arrange
1162 params to be more standard.
1163 * (disassemble): Print absolute addresses and symbolic names for
1164 branch and jump targets.
1165 * v850-opc.c (v850_operand): Add displacement flag to 9 and 22
1167 * (v850_opcodes): Add breakpoint insn.
1170 Mon Sep 23 12:32:26 1996 Ian Lance Taylor <ian@cygnus.com>
1172 * m68k-opc.c: Move the fmovemx data register cases before the
1173 other cases, so that they get recognized before the data register
1174 does gets treated as a degenerate register list.
1176 Tue Sep 17 12:06:51 1996 Ian Lance Taylor <ian@cygnus.com>
1178 * mips-opc.c: Add a case for "div" and "divu" with two registers
1179 and a destination of $0.
1181 Tue Sep 10 16:12:39 1996 Fred Fish <fnf@rtl.cygnus.com>
1183 * mips-dis.c (print_insn_arg): Add prototype.
1184 (_print_insn_mips): Ditto.
1186 Mon Sep 9 14:26:26 1996 Ian Lance Taylor <ian@cygnus.com>
1188 * mips-dis.c (print_insn_arg): Print condition code registers as
1191 Tue Sep 3 12:09:46 1996 Doug Evans <dje@canuck.cygnus.com>
1193 * sparc-opc.c (sparc_opcodes): Add setuw, setsw, setx.
1196 Tue Sep 3 12:05:25 1996 Jeffrey A Law (law@cygnus.com)
1198 * v850-dis.c (disassemble): Make static. Provide prototype.
1200 Sun Sep 1 22:30:40 1996 Jeffrey A Law (law@cygnus.com)
1202 * v850-opc.c (insert_d9, insert_d22): Fix boundary case
1205 Sat Aug 31 01:27:26 1996 Jeffrey A Law (law@cygnus.com)
1207 * v850-dis.c (disassemble): Handle insertion of ',', '[' and
1208 ']' characters into the output stream.
1209 * v850-opc.c (v850_opcodes: Remove size field from all opcodes.
1210 Add "memop" field to all opcodes (for the disassembler).
1211 Reorder opcodes so that "nop" comes before "mov" and "jr"
1212 comes before "jarl".
1214 * v850-dis.c (print_insn_v850): Fix typo in last change.
1216 * v850-dis.c (print_insn_v850): Properly handle disassembling
1217 a two byte insn at the end of a memory region when the memory
1218 region's size is only two byte aligned.
1220 * v850-dis.c (v850_cc_names): Fix stupid thinkos.
1222 * v850-dis.c (v850_reg_names): Define.
1223 (v850_sreg_names, v850_cc_names): Likewise.
1224 (disassemble): Very rough cut at printing operands (unformatted).
1226 * v850-opc.c (BOP_MASK): Fix.
1227 (v850_opcodes): Fix mask for jarl and jr.
1229 * v850-dis.c: New file. Skeleton for disassembler support.
1230 * Makefile.in Remove v850 references, they're not needed here
1231 and they weren't being sanitized away.
1232 * configure.in: Add v850-dis.o when building v850 toolchains.
1233 * configure: Rebuilt.
1234 * disassemble.c (disassembler): Call v850 disassembler.
1236 * v850-opc.c (insert_d8_7, extract_d8_7): New functions.
1237 (insert_d8_6, extract_d8_6): New functions.
1238 (v850_operands): Rename D7S to D7; operand for D7 is unsigned.
1239 Rename D8 to D8_7, use {insert,extract}_d8_7 routines.
1241 (IF4A, IF4B): Use "D7" instead of "D7S".
1242 (IF4C, IF4D): Use "D8_7" instead of "D8".
1243 (IF4E, IF4F): New. Use "D8_6".
1244 (v850_opcodes): Use IF4A/IF4B for sld.b/sst.b. Use IF4C/IF4D for
1245 sld.h/sst.h. Use IF4E/IF4F for sld.w/sst.w.
1247 * v850-opc.c (insert_d16_15, extract_d16_15): New functions.
1248 (v850_operands): Change D16 to D16_15, use special insert/extract
1249 routines. New new D16 that uses the generic insert/extract code.
1250 (IF7A, IF7B): Use D16_15.
1251 (IF7C, IF7D): New. Use D16.
1252 (v850_opcodes): Use IF7C and IF7D for ld.b and st.b.
1254 * v850-opc.c (insert_d9, insert_d22): Slightly improve error
1255 message. Issue an error if the branch offset is odd.
1257 * v850-opc.c: Add notes about needing special insert/extract
1258 for all the load/store insns, except "ld.b" and "st.b".
1260 * v850-opc.c (insert_d22, extract_d22): New functions.
1261 (v850_operands): Use insert_d22 and extract_d22 for
1263 (insert_d9): Fix range check.
1265 Fri Aug 30 18:01:02 1996 J.T. Conklin <jtc@hippo.cygnus.com>
1267 * v850-opc.c (v850_operands): Add V850_OPERAND_SIGNED flag
1268 and set bits field to D9 and D22 operands.
1270 Thu Aug 29 11:10:46 1996 Jeffrey A Law (law@cygnus.com)
1272 * v850-opc.c (v850_operands): Define SR2 operand.
1273 (v850_opcodes): "ldsr" uses R1,SR2.
1275 * v850-opc.c (v850_opcodes): Fix opcode specs for
1276 sld.w, sst.b, sst.h, sst.w, and nop.
1278 Wed Aug 28 15:55:43 1996 Jeffrey A Law (law@cygnus.com)
1280 * v850-opc.c (v850_opcodes): Add null opcode to mark the
1281 end of the opcode table.
1284 Mon Aug 26 13:35:53 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
1286 * d10v-opc.c (pre_defined_registers): Added register pairs,
1287 "r0-r1", "r2-r3", etc.
1290 Fri Aug 23 00:27:01 1996 Jeffrey A Law (law@cygnus.com)
1292 * v850-opc.c (v850_operands): Make I16 be a signed operand.
1293 Create I16U for an unsigned 16bit mmediate operand.
1294 (v850_opcodes): Use I16U for "ori", "andi" and "xori".
1296 * v850-opc.c (v850_operands): Define EP operand.
1297 (IF4A, IF4B, IF4C, IF4D): Use EP.
1299 * v850-opc.c (v850_opcodes): Fix opcode numbers for "mov"
1300 with immediate operand, "movhi". Tweak "ldsr".
1302 * v850-opc.c (v850_opcodes): Get ld.[bhw] and st.[bhw]
1303 correct. Get sld.[bhw] and sst.[bhw] closer.
1305 * v850-opc.c (v850_operands): "not" is a two byte insn
1307 * v850-opc.c (v850_opcodes): Correct bit pattern for setf.
1309 * v850-opc.c (v850_operands): D16 inserts at offset 16!
1311 * v850-opc.c (two): Get order of words correct.
1313 * v850-opc.c (v850_operands): I16 inserts at offset 16!
1315 * v850-opc.c (v850_operands): Add "SR1" and "SR2" for system
1316 register source and destination operands.
1317 (v850_opcodes): Use SR1 and SR2 for "ldsr" and "stsr".
1319 * v850-opc.c (v850_opcodes): Fix thinko in "jmp" opcode. Fix
1320 same thinko in "trap" opcode.
1322 * v850-opc.c (v850_opcodes): Add initializer for size field
1325 * v850-opc.c (v850_operands): D6 -> DS7. References changed.
1326 Add D8 for 8-bit unsigned field in short load/store insns.
1327 (IF4A, IF4D): These both need two registers.
1328 (IF4C, IF4D): Define. Use 8-bit unsigned field.
1329 (v850_opcodes): For "sld.h", "sld.w", "sst.h", "sst.w", use
1330 IF4C & IF4D. For "trap" use I5U, not I5. Add IF1 operand
1331 for "ldsr" and "stsr".
1332 * v850-opc.c (v850_operands): 3-bit immediate for bit insns
1335 * v850-opc.c (v850_opcodes): Correct short store half (sst.h) and
1336 short store word (sst.w).
1338 Thu Aug 22 16:57:27 1996 J.T. Conklin <jtc@rtl.cygnus.com>
1340 * v850-opc.c (v850_operands): Added insert and extract fields,
1341 pointers to functions that handle unusual operand encodings.
1343 Thu Aug 22 01:05:24 1996 Jeffrey A Law (law@cygnus.com)
1345 * v850-opc.c (v850_opcodes): Enable "trap".
1347 * v850-opc.c (v850_opcodes): Fix order of displacement
1348 and register for "set1", "clr1", "not1", and "tst1".
1350 Wed Aug 21 18:46:26 1996 Jeffrey A Law (law@cygnus.com)
1352 * v850-opc.c (v850_operands): Add "B3" support.
1353 (v850_opcodes): Fix and enable "set1", "clr1", "not1"
1356 * v850-opc.c (v850_opcodes): "jmp" has only an R1 operand.
1358 * v850-opc.c: Close unterminated comment.
1360 Wed Aug 21 17:31:26 1996 J.T. Conklin <jtc@hippo.cygnus.com>
1362 * v850-opc.c (v850_operands): Add flags field.
1363 (v850_opcodes): add move opcodes.
1365 Tue Aug 20 14:41:03 1996 J.T. Conklin <jtc@hippo.cygnus.com>
1367 * Makefile.in (ALL_MACHINES): Add v850-opc.o.
1368 * configure: (bfd_v850v_arch) Add new case.
1369 * configure.in: (bfd_v850_arch) Add new case.
1370 * v850-opc.c: New file.
1373 Mon Aug 19 15:21:38 1996 Doug Evans <dje@canuck.cygnus.com>
1375 * sparc-dis.c (print_insn_sparc): Handle little endian sparcs.
1377 Thu Aug 15 13:14:43 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
1379 * d10v-opc.c: Add additional information to the opcode
1380 table to help determinine which instructions can be done
1383 Thu Aug 15 13:11:13 1996 Stan Shebs <shebs@andros.cygnus.com>
1385 * mpw-make.sed: Update editing of include pathnames to be
1388 Thu Aug 15 16:28:41 1996 James G. Smith <jsmith@cygnus.co.uk>
1390 * arm-opc.h: Added "bx" instruction definition.
1392 Wed Aug 14 17:00:04 1996 Richard Henderson <rth@tamu.edu>
1394 * alpha-opc.c (EV4EXTHWINDEX): Field width should be 8 not 5.
1396 Mon Aug 12 14:30:37 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
1398 * d10v-opc.c (d10v_opcodes): Minor fixes to addi and bl.l.
1400 Fri Aug 9 13:21:59 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
1402 * d10v-opc.c (d10v_opcodes): Correct 'mv' unit entry to EITHER.
1404 Thu Aug 8 12:43:52 1996 Klaus Kaempf <kkaempf@progis.de>
1406 * makefile.vms: Update for alpha-opc changes.
1408 Wed Aug 7 11:55:10 1996 Ian Lance Taylor <ian@cygnus.com>
1410 * i386-dis.c (print_insn_i386): Actually return the correct value.
1411 (ONE, OP_ONE): #ifdef out; not used.
1413 Fri Aug 2 17:47:03 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
1415 * d10v-opc.c (d10v_opcodes): Added 2 accumulator sub instructions.
1416 Changed subi operand type to treat 0 as 16.
1418 Wed Jul 31 16:21:41 1996 Ian Lance Taylor <ian@cygnus.com>
1420 * m68k-opc.c: Add cpushl for the mcf5200. From Ken Rose
1423 Wed Jul 31 14:39:27 1996 James G. Smith <jsmith@cygnus.co.uk>
1425 * arm-opc.h: (arm_opcodes): Added halfword and sign-extension
1426 memory transfer instructions. Add new format string entries %h and %s.
1427 * arm-dis.c: (print_insn_arm): Provide decoding of the new
1430 Fri Jul 26 11:45:04 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
1432 * d10v-opc.c (d10v_operands): Added UNUM4S; a 4-bit accumulator shift.
1433 (d10v_opcodes): Modified accumulator shift instructions to use UNUM4S.
1435 Fri Jul 26 14:01:43 1996 Ian Lance Taylor <ian@cygnus.com>
1437 * alpha-dis.c (print_insn_alpha_osf): Remove.
1438 (print_insn_alpha_vms): Remove.
1439 (print_insn_alpha): Make globally visible. Chose the register
1440 names based on info->flavour.
1441 * disassemble.c: Always return print_insn_alpha for the alpha.
1443 Thu Jul 25 15:24:17 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
1445 * d10v-dis.c (dis_long): Handle unknown opcodes.
1447 Thu Jul 25 12:08:09 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
1449 * d10v-opc.c: Changes to support signed and unsigned numbers.
1450 All instructions with the same name that have long and short forms
1451 now end in ".l" or ".s". Divs added.
1452 * d10v-dis.c: Changes to support signed and unsigned numbers.
1454 Tue Jul 23 11:02:53 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
1456 * d10v-dis.c: Change all functions to use info->print_address_func.
1458 Mon Jul 22 15:38:53 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1460 * m68k-opc.c (m68k_opcodes): Make opcode masks for the ColdFire
1461 move ccr/sr insns more strict so that the disassembler only
1462 selects them when the addressing mode is data register.
1464 Mon Jul 22 11:25:24 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
1465 * d10v-opc.c (pre_defined_registers): Declare.
1466 * d10v-dis.c (print_operand): Now uses pre_defined_registers
1467 to pick a better name for the registers.
1469 Mon Jul 22 13:47:23 1996 Ian Lance Taylor <ian@cygnus.com>
1471 * sparc-opc.c: Fix opcode values for fpack16, and fpackfix. Fix
1472 operands for fexpand and fpmerge. From Christian Kuehnke
1473 <Christian.Kuehnke@arbi.informatik.uni-oldenburg.de>.
1475 Mon Jul 22 13:17:06 1996 Richard Henderson <rth@tamu.edu>
1477 * alpha-dis.c (print_insn_alpha): No longer the user-visible
1478 print routine. Take new regnames and cpumask arguments.
1479 Kill the environment variable nonsense.
1480 (print_insn_alpha_osf): New function. Do OSF/1 style regnames.
1481 (print_insn_alpha_vms): New function. Do VMS style regnames.
1482 * disassemble.c (disassembler): Test bfd flavour to pick
1483 between OSF and VMS routines. Default to OSF.
1485 Thu Jul 18 17:19:34 1996 Ian Lance Taylor <ian@cygnus.com>
1487 * configure.in: Call AC_SUBST (INSTALL_SHLIB).
1488 * configure: Rebuild.
1489 * Makefile.in (install): Use @INSTALL_SHLIB@.
1491 Wed Jul 17 14:39:05 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
1493 * configure: (bfd_d10v_arch) Add new case.
1494 * configure.in: (bfd_d10v_arch) Add new case.
1495 * d10v-dis.c: New file.
1496 * d10v-opc.c: New file.
1497 * disassemble.c (disassembler) Add entry for d10v.
1499 Wed Jul 17 10:12:05 1996 J.T. Conklin <jtc@rtl.cygnus.com>
1501 * m68k-opc.c (m68k_opcodes): Fix bugs in coldfire insns relating
1502 to bcc, trapfl, subxl, and wddata discovered by Andreas Schwab.
1504 Mon Jul 15 16:59:55 1996 Stu Grossman (grossman@critters.cygnus.com)
1506 * i386-dis.c: Get rid of print_insn_i8086. Use info.mach to
1507 distinguish between variants of the instruction set.
1508 * sparc-dis.c: Get rid of print_insn_sparclite. Use info.mach to
1509 distinguish between variants of the instruction set.
1511 Fri Jul 12 10:12:01 1996 Stu Grossman (grossman@critters.cygnus.com)
1513 * i386-dis.c (print_insn_i8086): New routine to disassemble using
1514 the 8086 instruction set.
1515 * i386-dis.c: General cleanups. Make most things static. Add
1516 prototypes. Get rid of static variables aflags and dflags. Pass
1517 them as args (to almost everything).
1519 Thu Jul 11 11:58:44 1996 Jeffrey A Law (law@cygnus.com)
1521 * h8300-dis.c (bfd_h8_disassemble): Handle macregs in ldmac insns.
1523 * h8300-dis.c (bfd_h8_disassemble): Handle "ldm.l" and "stm.l".
1525 * h8300-dis.c (bfd_h8_disassemble): "abs" is implicitly two
1526 if the next arg is marked with SRC_IN_DST. Gross.
1528 * h8300-dis.c (bfd_h8_disassemble): Print "exr" when
1529 we're looking for and find EXR.
1531 * h8300-dis.c (bfd_h8_disassemble): We don't have a match
1532 if we're looking for KBIT and we don't find it.
1534 * h8300-dis.c (bfd_h8_disassemble): Mask off unwanted bits
1537 * h8300-dis.c (bfd_h8_disassemble): Don't set plen for
1538 3bit immediate operands.
1540 Tue Jul 9 10:55:20 1996 Ian Lance Taylor <ian@cygnus.com>
1542 * Released binutils 2.7.
1544 * alpha-opc.c: Add new case of "mov". From Klaus Kaempf
1545 <kkaempf@progis.ac-net.de>.
1547 Thu Jul 4 11:42:51 1996 Ian Lance Taylor <ian@cygnus.com>
1549 * alpha-opc.c: Correct second case of "mov" to use OPRL.
1551 Wed Jul 3 16:03:47 1996 Stu Grossman (grossman@critters.cygnus.com)
1553 * sparc-dis.c (print_insn_sparclite): New routine to print
1554 sparclite instructions.
1556 Wed Jul 3 14:21:18 1996 J.T. Conklin <jtc@rtl.cygnus.com>
1558 * m68k-opc.c (m68k_opcodes): Add coldfire support.
1560 Fri Jun 28 15:53:51 1996 Doug Evans <dje@canuck.cygnus.com>
1562 * sparc-opc.c (asi_table): Add #ASI_N, #ASI_N_L, #ASI_NUCLEUS,
1563 #ASI_NUCLEUS_LITTLE. Rename #ASI_AS_IF_USER_{PRIMARY,SECONDARY}_L
1564 to #ASI_AS_IF_USER_{PRIMARY,SECONDARY}_LITTLE.
1566 Tue Jun 25 22:58:31 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
1568 * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir):
1569 Use autoconf-set values.
1570 (docdir, oldincludedir): Removed.
1571 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
1573 Fri Jun 21 13:53:36 1996 Richard Henderson <rth@tamu.edu>
1575 * alpha-opc.c: New file.
1576 * alpha-opc.h: Remove.
1577 * alpha-dis.c: Complete rewrite to use new opcode table.
1578 * configure.in: For bfd_alpha_arch, use alpha-opc.o.
1579 * configure: Rebuild with autoconf 2.10.
1580 * Makefile.in (ALL_MACHINES): Add alpha-opc.o.
1581 (alpha-dis.o): Depend upon $(INCDIR)/opcode/alpha.h, not
1583 (alpha-opc.o): New target.
1585 Wed Jun 19 15:55:12 1996 Ian Lance Taylor <ian@cygnus.com>
1587 * sparc-dis.c (print_insn_sparc): Remove unused local variable i.
1588 Set imm_added_to_rs1 even if the source and destination register
1591 * sparc-opc.c: Add some two operand forms of the wr instruction.
1593 Tue Jun 18 15:58:27 1996 Jeffrey A. Law <law@rtl.cygnus.com>
1595 * h8300-dis.c (bfd_h8_disassemble): Rename "hmode" argument
1598 * disassemble.c (disassembler): Handle H8/S.
1599 * h8300-dis.c (print_insn_h8300s): New function for H8/S.
1601 Tue Jun 18 18:06:50 1996 Ian Lance Taylor <ian@cygnus.com>
1603 * sparc-opc.c: Add beq/teq as aliases for be/te.
1605 * ppc-opc.c: Fix fcmpo opcode. From Sergei Steshenko
1606 <sergei@msil.sps.mot.com>.
1608 Tue Jun 18 15:08:54 1996 Klaus Kaempf <kkaempf@progis.de>
1610 * makefile.vms: New file.
1612 * alpha-dis.c (print_insn_alpha): Print lda ra,lit(rz) as mov.
1614 Mon Jun 10 18:50:38 1996 Ian Lance Taylor <ian@cygnus.com>
1616 * h8300-dis.c (bfd_h8_disassemble): Always print ABS8MEM with :8,
1619 Tue Jun 4 09:15:53 1996 Doug Evans <dje@canuck.cygnus.com>
1621 * i386-dis.c (OP_OFF): Call append_prefix.
1623 Thu May 23 15:18:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
1625 * ppc-opc.c (instruction encoding macros): Add explicit casts to
1626 unsigned long to silence a warning from the Solaris PowerPC
1629 Thu Apr 25 19:33:32 1996 Doug Evans <dje@canuck.cygnus.com>
1631 * sparc-opc.c (sparc_opcodes): Add ultrasparc vis extensions.
1633 Mon Apr 22 17:12:35 1996 Doug Evans <dje@blues.cygnus.com>
1635 * sparc-dis.c (X_IMM,X_SIMM): New macros.
1637 (print_insn_sparc): Merge cases i,I,j together. New cases X,Y.
1638 * sparc-opc.c (sparc_opcodes): Use X for 5 bit shift constants,
1639 Y for 6 bit shift constants. Rewrite entries for crdcxt, cwrcxt,
1640 cpush, cpusha, cpull sparclet insns.
1642 Wed Apr 17 14:20:22 1996 Doug Evans <dje@canuck.cygnus.com>
1644 * sparc-dis.c (compute_arch_mask): Replace ANSI style def with K&R.
1646 Thu Apr 11 17:30:02 1996 Ian Lance Taylor <ian@cygnus.com>
1648 * sparc-opc.c: Set F_FBR on floating point branch instructions.
1649 Set F_FLOAT on other floating point instructions.
1651 Mon Apr 8 17:02:48 1996 Michael Meissner <meissner@tiktok.cygnus.com>
1653 * ppc-opc.c (PPC860): Macro for 860/821 specific instructions and
1655 (powerpc_opcodes): Add 860/821 specific SPRs.
1657 Mon Apr 8 14:00:44 1996 Ian Lance Taylor <ian@cygnus.com>
1659 * configure.in: Permit --enable-shared to specify a list of
1660 directories. Set and substitute BFD_PICLIST.
1661 * configure: Rebuild.
1662 * Makefile.in (BFD_PICLIST): Rename from BFD_LIST. Change all
1663 uses. Set to @BFD_PICLIST@.
1665 Fri Apr 5 17:12:27 1996 Jeffrey A Law (law@cygnus.com)
1667 * h8300-dis.c (bfd_h8_disassemble): Use "bit" for L_3 immediates,
1668 not "abs", which may be needed for the absolute in something
1669 like btst #0,@10:8. Print L_3 immediates separately from other
1670 immediates. Change ABSMOV reference to ABS8MEM.
1672 Wed Apr 3 10:40:45 1996 Doug Evans <dje@canuck.cygnus.com>
1674 * sparc-dis.c (opcodes_initialized): Move inside print_insn_sparc.
1675 (current_arch_mask): New static global.
1676 (compute_arch_mask): New static function.
1677 (print_insn_sparc): Delete sparc_v9_p. New static local
1678 current_mach. Resort opcode table if current_mach changes.
1679 Generalize "insn not supported" test.
1680 (compare_opcodes): Prefer supported opcodes to nonsupported ones.
1681 Delete test for v9/!v9.
1682 * sparc-opc.c (MASK_*): Use SPARC_OPCODE_ARCH_MASK.
1684 (brfc): Split into CBR and FBR for coprocessor/fp branches.
1685 (brfcx): Renamed to FBRX.
1686 (condfc): Renamed to CONDFC. Pass v6notlet to CBR (standard
1687 coprocessor mnemonics are not supported on the sparclet).
1688 (condf): Renamed to CONDF.
1689 (SLCBCC2): Delete F_ALIAS flag.
1691 Sat Mar 30 21:45:59 1996 Doug Evans <dje@canuck.cygnus.com>
1693 * sparc-opc.c (sparc_opcodes): rd must be 0 for
1694 mov foo,{%y,%psr,%wim,%tbr}. Support mov foo,%asrX.
1696 Fri Mar 29 13:02:40 1996 Ian Lance Taylor <ian@cygnus.com>
1698 * Makefile.in (config.status): Depend upon BFD VERSION file, so
1699 that the shared library version number is set correctly.
1701 Tue Mar 26 15:47:14 1996 Ian Lance Taylor <ian@cygnus.com>
1703 * configure.in: Use AC_CHECK_TOOL to find ar and ranlib. From
1704 Miles Bader <miles@gnu.ai.mit.edu>.
1705 * configure: Rebuild.
1707 Sat Mar 16 13:04:07 1996 Fred Fish <fnf@cygnus.com>
1709 * z8kgen.c (internal, gas): Call xmalloc rather than unchecked
1712 Tue Mar 12 12:14:10 1996 Ian Lance Taylor <ian@cygnus.com>
1714 * configure: Rebuild with autoconf 2.8.
1716 Thu Mar 7 15:11:10 1996 Doug Evans <dje@charmed.cygnus.com>
1718 * sparc-dis.c (print_insn_sparc): Handle 'O' operand char like 'r'.
1719 * sparc-opc.c (sparc_opcodes): Use 'O' operand char for `neg reg'.
1721 Tue Mar 5 15:51:57 1996 Ian Lance Taylor <ian@cygnus.com>
1723 * configure.in: Don't set SHLIB or SHLINK to an empty string,
1724 since they appear as targets in Makefile.in.
1725 * configure: Rebuild.
1727 Mon Feb 26 13:03:40 1996 Stan Shebs <shebs@andros.cygnus.com>
1729 * mpw-make.sed: Edit out shared library support bits.
1731 Tue Feb 20 20:48:28 1996 Doug Evans <dje@charmed.cygnus.com>
1733 * sparc-opc.c (v8,v6notv9): Add MASK_SPARCLET.
1734 (sparc_opcode_archs): Add MASK_V8 to sparclet entry.
1735 (sparc_opcodes): Add sparclet insns.
1736 (sparclet_cpreg_table): New static local.
1737 (sparc_{encode,decode}_sparclet_cpreg): New functions.
1738 * sparc-dis.c (print_insn_sparc): Handle sparclet cpregs.
1740 Tue Feb 20 11:02:44 1996 Alan Modra <alan@mullet.Levels.UniSA.Edu.Au>
1742 * i386-dis.c (index16): New static variable.
1743 (putop): Print jecxz for 32 bit case, jcxz for 16 bit, not the
1745 (OP_indirE): Return result of OP_E.
1746 (OP_E): Check for 16 bit addressing mode, and disassemble
1747 correctly. Optimised 32 bit case a little. Don't print
1748 "(base,index,scale)" when sib specifies only an offset.
1750 Mon Feb 19 12:32:17 1996 Ian Lance Taylor <ian@cygnus.com>
1752 * configure.in: Set and substitute SHLIB_DEP.
1753 * configure: Rebuild.
1754 * Makefile.in (SHLIB_DEP): New variable.
1755 (LIBIBERTY_LISTS, BFD_LIST): New variables.
1756 (stamp-piclist): Depend upon LIBIBERTY_LISTS and BFD_LIST. If
1757 COMMON_SHLIB, add them to piclist with appropriate modifications.
1758 ($(SHLIB)): Depend upon $(SHLIB_DEP). Don't check COMMON_SHLIB
1759 here: just use piclist.
1761 Mon Feb 19 02:03:50 1996 Doug Evans <dje@charmed.cygnus.com>
1763 * sparc-dis.c (MASK_V9,V9_ONLY_P,V9_P): Define.
1764 (print_insn_sparc): Rewrite v9/not-v9 tests.
1765 (compare_opcodes): Likewise.
1766 * sparc-opc.c (MASK_<ARCH>): Define.
1767 (v6,v7,v8,sparclite,v9,v9a): Redefine.
1768 (sparclet,v6notv9): Define.
1769 (sparc_opcode_archs): Delete member `conflicts'. Add `supported'.
1770 (sparc_opcodes): Delete F_NOTV9, use v6notv9 instead.
1772 Thu Feb 15 14:45:05 1996 Ian Lance Taylor <ian@cygnus.com>
1774 * configure.in: Call AC_PROG_CC before configure.host.
1775 * configure: Rebuild.
1777 * Makefile.in (SONAME): Remove leading ../bfd/ from $(SHLIB).
1779 Wed Feb 14 19:01:27 1996 Alan Modra <alan@spri.levels.unisa.edu.au>
1781 * i386-dis.c (onebyte_has_modrm): New static array.
1782 (twobyte_has_modrm): New static array.
1783 (print_insn_i386): Only fetch the mod/reg/rm byte if it is needed.
1785 Tue Feb 13 15:15:01 1996 Ian Lance Taylor <ian@cygnus.com>
1787 * Makefile.in ($(SHLINK)): Check ts against $(SHLIB), not
1790 Mon Feb 12 16:26:06 1996 Michael Meissner <meissner@tiktok.cygnus.com>
1792 * ppc-opc.c (PPC): Undef, so default defination on Windows NT
1795 Wed Feb 7 13:59:54 1996 Ian Lance Taylor <ian@cygnus.com>
1797 * m68k-opc.c (m68k_opcodes): The bkpt instruction is supported on
1798 m68010up, not just m68020up | cpu32.
1800 * Makefile.in (SONAME): New variable.
1801 ($(SHLINK)): Make a link to the transformed name, as well.
1802 (stamp-tshlink): New target.
1803 (install): Skip stamp-tshlink during install.
1805 Tue Feb 6 12:28:54 1996 Ian Lance Taylor <ian@cygnus.com>
1807 * configure.in: Call AC_ARG_PROGRAM.
1808 * configure: Rebuild.
1809 * Makefile.in (program_transform_name): New variable.
1810 (install): Transform library name before installing it.
1812 Mon Feb 5 16:14:42 1996 Ian Lance Taylor <ian@cygnus.com>
1814 * i960-dis.c (mem): Add HX dcinva instruction.
1816 Support for building as a shared library, based on patches from
1817 Alan Modra <alan@spri.levels.unisa.edu.au>:
1818 * configure.in: Add AC_ARG_ENABLE for shared and commonbfdlib.
1819 New substitutions: ALLLIBS, PICFLAG, SHLIB, SHLIB_CC,
1820 SHLIB_CFLAGS, COMMON_SHLIB, SHLINK.
1821 * configure: Rebuild.
1822 * Makefile.in (ALLLIBS): New variable.
1823 (PICFLAG, SHLIB, SHLIB_CC, SHLIB_CFLAGS): New variables.
1824 (COMMON_SHLIB, SHLINK): New variables.
1825 (.c.o): If PICFLAG is set, compile twice, once PIC, once normal.
1826 (STAGESTUFF): Remove variable.
1827 (all): Depend upon $(ALLLIBS) rather than $(TARGETLIB).
1828 (stamp-piclist, piclist): New targets.
1829 ($(SHLIB), $(SHLINK)): New targets.
1830 ($(OFILES)): Depend upon stamp-picdir.
1831 (disassemble.o): Build twice if PICFLAG is set.
1832 (MOSTLYCLEAN): Add pic/*.o.
1833 (clean): Remove $(SHLIB), $(SHLINK), piclist, and stamp-piclist.
1834 (distclean): Remove pic and stamp-picdir.
1835 (install): Install shared libraries.
1836 (stamp-picdir): New target.
1838 Fri Feb 2 17:15:25 1996 Doug Evans <dje@charmed.cygnus.com>
1840 * sparc-dis.c (print_insn_sparc): Delete DISASM_RAW_INSN support.
1841 Print unknown instruction as "unknown", rather than in hex.
1843 Tue Jan 30 14:06:08 1996 Ian Lance Taylor <ian@cygnus.com>
1845 * dis-buf.c: Include "sysdep.h" before "dis-asm.h".
1847 Thu Jan 25 20:24:07 1996 Doug Evans <dje@charmed.cygnus.com>
1849 * sparc-opc.c (sparc_opcode_archs): Mark v8/sparclite as conflicting.
1851 Thu Jan 25 11:56:49 1996 Ian Lance Taylor <ian@cygnus.com>
1853 * i386-dis.c (print_insn_i386): Only fetch the mod/reg/rm byte
1854 when necessary. From Ulrich Drepper
1855 <drepper@myware.rz.uni-karlsruhe.de>.
1857 Thu Jan 25 03:39:10 1996 Doug Evans <dje@charmed.cygnus.com>
1859 * sparc-dis.c (print_insn_sparc): NUMOPCODES replaced with
1860 sparc_num_opcodes. Update architecture enum values.
1861 * sparc-opc.c (sparc_opcode_archs): Replaces architecture_pname.
1862 (sparc_opcode_lookup_arch): New function.
1863 (sparc_num_opcodes): Renamed from bfd_sparc_num_opcodes.
1864 (sparc_opcodes): Add v9a shutdown insn.
1866 Mon Jan 22 08:29:59 1996 Doug Evans <dje@charmed.cygnus.com>
1868 * sparc-dis.c (print_insn_sparc): Renamed from print_insn.
1869 If DISASM_RAW_INSN, print insn in hex. Handle v9a as opcode
1871 (print_insn_sparc64): Deleted.
1872 * disassemble.c (disassembler, case bfd_arch_sparc): Always use
1875 * sparc-opc.c (architecture_pname): Add v9a.
1877 Fri Jan 12 14:35:58 1996 David Mosberger-Tang <davidm@AZStarNet.com>
1879 * alpha-opc.h (alpha_insn_set): VAX floating point opcode was
1880 incorrectly defined as 0x16 when it should be 0x15.
1881 (FLOAT_FORMAT_MASK): function code is 11 bits, not just 7 bits!
1882 (alpha_insn_set): added cvtst and cvttq float ops. Also added
1883 excb (exception barrier) which is defined in the Alpha
1884 Architecture Handbook version 2.
1885 * alpha-dis.c (print_insn_alpha): Fixed special-case decoding for
1886 OPERATE_FORMAT_CODE type instructions. The bug caused mulq to be
1887 disassembled as or, for example.
1889 Wed Jan 10 12:37:22 1996 Ian Lance Taylor <ian@cygnus.com>
1891 * mips-dis.c (print_insn_arg): Print cases 'i' and 'u' in hex.
1892 (_print_insn_mips): Change i from int to unsigned int.
1894 Thu Jan 4 17:21:10 1996 David Edelsohn <edelsohn@mhpcc.edu>
1896 * ppc-opc.c (powerpc_opcodes): tlbi POWER opcode form different
1897 from tlbie PowerPC opcode. Add PPC603 tlbld and tlbli.
1899 Thu Dec 28 13:29:19 1995 John Hassey <hassey@rtp.dg.com>
1901 * i386-dis.c: Added Pentium Pro instructions.
1903 Tue Dec 19 22:56:35 1995 Michael Meissner <meissner@tiktok.cygnus.com>
1905 * ppc-opc.c (fsqrt{,.}): Duplicate for PowerPC in addition to
1908 Fri Dec 15 14:14:15 1995 J.T. Conklin <jtc@rtl.cygnus.com>
1910 * sh-opc.h (sh_nibble_type): Added REG_B.
1911 (sh_arg_type): Added A_REG_B.
1912 (sh_table): Added pref and bank reg versions of ldc, ldc.l, stc
1914 * sh-dis.c (print_insn_shx): Added cases for REG_B and A_REG_B.
1916 Fri Dec 15 16:44:31 1995 Ian Lance Taylor <ian@cygnus.com>
1918 * disassemble.c (disassembler): Use new bfd_big_endian macro.
1920 Tue Dec 12 12:22:24 1995 Ian Lance Taylor <ian@cygnus.com>
1922 * Makefile.in (distclean): Remove stamp-h. From Ronald
1923 F. Guilmette <rfg@monkeys.com>.
1925 Tue Dec 5 13:42:44 1995 Stan Shebs <shebs@andros.cygnus.com>
1927 From David Mosberger-Tang <davidm@azstarnet.com>:
1928 * alpha-dis.c (print_insn_alpha): fixed decoding of cpys
1931 Mon Dec 4 12:29:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
1933 * sh-opc.h (sh_arg_type): Added A_SSR and A_SPC.
1934 (sh_table): Added many SH3 opcodes.
1935 * sh-dis.c (print_insn_shx): Added cases for A_SSR and A_SPC.
1937 Fri Dec 1 07:42:18 1995 Michael Meissner <meissner@tiktok.cygnus.com>
1939 * ppc-opc.c (subfc., subfco): Mark this PPCCOM, not PPC.
1940 (subco,subco.): Mark this PPC, not PPCCOM.
1942 Mon Nov 27 13:09:52 1995 Ian Lance Taylor <ian@cygnus.com>
1944 * configure: Rebuild with autoconf 2.7.
1946 Tue Nov 21 18:28:06 1995 Ian Lance Taylor <ian@cygnus.com>
1948 * configure: Rebuild with autoconf 2.6.
1950 Wed Nov 15 19:02:53 1995 Ken Raeburn <raeburn@cygnus.com>
1952 * configure.in: Sort list of architectures. Accept but do nothing
1953 for alliant, convex, pyramid, romp, and tahoe.
1955 Wed Nov 8 20:18:59 1995 Ian Lance Taylor <ian@cygnus.com>
1957 * a29k-dis.c (print_special): Change num to unsigned int.
1959 Wed Nov 8 20:10:35 1995 Eric Freudenthal <freudenthal@nyu.edu>
1961 * a29k-dis.c (print_insn): Cast insn24 to unsigned long when
1964 Tue Nov 7 15:21:06 1995 Ian Lance Taylor <ian@cygnus.com>
1966 * configure.in: Call AC_CHECK_PROG to find and cache AR.
1967 * configure: Rebuilt.
1969 Mon Nov 6 17:39:47 1995 Harry Dolan <dolan@ssd.intel.com>
1971 * configure.in: Add case for bfd_i860_arch.
1972 * configure: Rebuild.
1974 Fri Nov 3 12:45:31 1995 Ian Lance Taylor <ian@cygnus.com>
1976 * m68k-opc.c (m68k_opcodes): Correct fmoveml operands.
1977 * m68k-dis.c (NEXTSINGLE): Change i to unsigned int.
1978 (NEXTDOUBLE): Likewise.
1979 (print_insn_m68k): Don't match fmoveml if there is more than one
1980 register in the list.
1981 (print_insn_arg): Handle a place of '8' for a type of 'L'.
1983 Thu Nov 2 23:06:33 1995 Ian Lance Taylor <ian@cygnus.com>
1985 * m68k-opc.c: Use #W rather than #w.
1986 * m68k-dis.c (print_insn_arg): Handle new 'W' place.
1988 Wed Nov 1 13:30:24 1995 Ian Lance Taylor <ian@cygnus.com>
1990 * m68k-opc.c (m68k_opcode_aliases): Add dbfw as an alias for dbf,
1991 and likewise for all the dbxx opcodes.
1993 Mon Oct 30 20:50:40 1995 Fred Fish <fnf@cygnus.com>
1995 * arc-dis.c: Include elf-bfd.h rather than libelf.h.
1997 Mon Oct 23 11:11:34 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
1999 * mips-opc.c: Added shorthand (V1) for INSN_4100 manifest. Added
2000 the VR4100 specific instructions to the mips_opcodes structure.
2002 Thu Oct 19 11:05:23 1995 Stan Shebs <shebs@andros.cygnus.com>
2004 * mpw-config.in, mpw-make.sed: Remove ugly workaround for
2005 ugly Metrowerks bug in CW6, is fixed in CW7.
2007 Mon Oct 16 12:59:01 1995 Michael Meissner <meissner@tiktok.cygnus.com>
2009 * ppc-opc.c (whole file): Add flags for common/any support.
2011 Tue Oct 10 11:06:07 1995 Fred Fish <fnf@cygnus.com>
2013 * Makefile.in (BISON): Remove macro.
2014 (FLAGS_TO_PASS): Remove BISON.
2016 Fri Oct 6 16:26:45 1995 Ken Raeburn <raeburn@cygnus.com>
2018 Mon Sep 25 22:49:32 1995 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2020 * m68k-dis.c (print_insn_m68k): Recognize all two-word
2021 instructions that take no args by looking at the match mask.
2022 (print_insn_arg): Always print "%" before register names.
2023 [case 'c']: Use "nc" for the no-cache case, as recognized by gas.
2024 [case '_']: Don't print "@#" before address.
2025 [case 'J']: Use "%s" as format string, not register name.
2026 [case 'B']: Treat place == 'C' like 'l' and 'L'.
2028 Thu Oct 5 22:16:20 1995 Ken Raeburn <raeburn@cygnus.com>
2030 * i386-dis.c: Describe cmpxchg8b operand, and spell the opcode
2033 Tue Oct 3 08:30:20 1995 steve chamberlain <sac@slash.cygnus.com>
2035 From David Mosberger-Tang <davidm@azstarnet.com>
2037 * alpha-opc.h (MEMORY_FUNCTION_FORMAT_MASK): added.
2038 (alpha_insn_set): added definitions for VAX floating point
2039 instructions (Unix compilers don't generate these, but handcoded
2040 assembly might still use them).
2042 * alpha-dis.c (print_insn_alpha): added support for disassembling
2043 the miscellaneous instructions in the Alpha instruction set.
2045 Tue Sep 26 18:47:20 1995 Stan Shebs <shebs@andros.cygnus.com>
2047 * mpw-config.in: Add m68k-opc.c.o to BFD_MACHINES for m68k,
2048 no longer create sysdep.h, sed ppc-opc.c to work around a
2049 serious Metrowerks C bug.
2050 * mpw-make.in: Remove.
2051 * mpw-make.sed: New file, used by mpw-configure to edit
2052 Makefile.in into an MPW makefile.
2054 Wed Sep 20 12:55:28 1995 Ian Lance Taylor <ian@cygnus.com>
2056 * Makefile.in (maintainer-clean): New synonym for realclean.
2058 Tue Sep 19 15:28:36 1995 Ian Lance Taylor <ian@cygnus.com>
2060 * m68k-opc.c: Split pmove patterns which use 'P' into patterns
2061 which use '0', '1', and '2' instead. Specify the proper size for
2062 a pmove immediate operand. Correct the pmovefd patterns to be
2063 moves to a register, not from a register.
2064 * m68k-dis.c (print_insn_arg): Replace 'P' with '0', '1', '2'.
2066 Thu Sep 14 11:58:22 1995 Doug Evans <dje@canuck.cygnus.com>
2068 * sparc-opc.c (sparc_opcodes): Mark all insns that reference
2069 %psr, %wim, %tbr as F_NOTV9.
2071 Fri Sep 8 01:07:38 1995 Ian Lance Taylor <ian@cygnus.com>
2073 * Makefile.in (Makefile): Just rebuild Makefile when running
2075 (config.h, stamp-h): New targets.
2076 * configure.in: Call AC_CONFIG_HEADER and AC_CANONICAL_SYSTEM
2077 earlier. Don't bother to call AC_ARG_PROGRAM. Touch stamp-h when
2078 rebuilding config.h.
2079 * configure: Rebuild.
2081 * mips-opc.c: Change unaligned loads and stores with "t,A"
2082 operands to use "t,A(b)".
2084 Thu Sep 7 19:02:46 1995 Jim Wilson <wilson@chestnut.cygnus.com>
2086 * sh-dis.c (print_insn_shx): Add F_FR0 support.
2088 Thu Sep 7 19:02:46 1995 Jim Wilson <wilson@chestnut.cygnus.com>
2090 * sh-dis.c (print_insn_shx): Change loop over op->arg[n] to iterate
2091 until 3 instead of until 2.
2093 Wed Sep 6 21:21:33 1995 Ian Lance Taylor <ian@cygnus.com>
2095 * Makefile.in (ALL_CFLAGS): Define.
2096 (.c.o, disassemble.o): Use $(ALL_CFLAGS).
2097 (MOSTLYCLEAN): Add config.log.
2098 (distclean): Don't remove config.log.
2099 * configure.in: Substitute HDEFINES.
2100 * configure: Rebuild.
2102 Wed Sep 6 15:08:09 1995 Jim Wilson <wilson@chestnut.cygnus.com>
2104 * sh-opc.h (sh_arg_type): Add F_FR0.
2105 (sh_table, case fmac): Add F_FR0 as first argument.
2107 Wed Sep 6 15:08:09 1995 Jim Wilson <wilson@chestnut.cygnus.com>
2109 * sh-opc.h (sh_opcode_info): Increase arg array size to 4.
2111 Tue Sep 5 18:28:10 1995 Doug Evans <dje@canuck.cygnus.com>
2113 * sparc-dis.c: Remove all references to NO_V9.
2115 Tue Sep 5 20:03:26 1995 Ian Lance Taylor <ian@cygnus.com>
2117 * aclocal.m4: Just include ../bfd/aclocal.m4.
2118 * configure: Rebuild.
2120 Tue Sep 5 16:09:59 1995 Doug Evans <dje@canuck.cygnus.com>
2122 * sparc-dis.c (X_DISP19): Define.
2123 (print_insn, case 'G'): Use it.
2124 (print_insn, case 'L'): Sign extend displacement.
2126 Mon Sep 4 14:28:46 1995 Ian Lance Taylor <ian@cygnus.com>
2128 * configure.in: Run ../bfd/configure.host before AC_PROG_CC.
2129 Subsitute CFLAGS and AR. Call AC_PROG_INSTALL. Don't substitute
2130 host_makefile_frag or frags.
2131 * aclocal.m4: New file.
2132 * configure: Rebuild.
2133 * Makefile.in (INSTALL): Set to @INSTALL@.
2134 (INSTALL_PROGRAM): Set to @INSTALL_PROGRAM@.
2135 (INSTALL_DATA): Set to @INSTALL_DATA@.
2137 (AR_FLAGS): Set to rc rather than qc.
2138 (CC): Define as @CC@.
2139 (CFLAGS): Set to @CFLAGS@.
2140 (@host_makefile_frag@): Remove.
2141 (config.status): Remove dependency upon @frags@.
2143 * configure.in: ../bfd/config.bfd now just sets shell variables.
2144 Use them rather than looking through target Makefile fragments.
2145 * configure: Rebuild.
2147 Thu Aug 31 12:35:32 1995 Jim Wilson <wilson@chestnut.cygnus.com>
2149 * sh-opc.h (ftrc): Change FPUL_N to FPUL_M.
2151 Wed Aug 30 13:52:28 1995 Doug Evans <dje@canuck.cygnus.com>
2153 * sparc-opc.c (sparc_opcodes): Delete duplicate wr %y insn.
2154 Add clrx, iprefetch, signx, clruw, cas, casl, casx, casxl synthetic
2157 * sparc-opc.c (sparc_opcodes): Fix prefetcha insn.
2158 (lookup_{name,value}): New functions.
2159 (prefetch_table): New static local.
2160 (sparc_{encode,decode}_prefetch): New functions.
2161 * sparc-dis.c (print_insn): Handle '*' arg (prefetch function).
2163 Wed Aug 30 11:11:58 1995 Jim Wilson <wilson@chestnut.cygnus.com>
2165 * sh-opc.h: Add blank lines to improve readabililty of sh3e
2168 Wed Aug 30 11:09:38 1995 Jim Wilson <wilson@chestnut.cygnus.com>
2170 * sh-dis.c: Correct comment on first line of file.
2172 Tue Aug 29 15:37:18 1995 Doug Evans <dje@canuck.cygnus.com>
2174 * disassemble.c (disassembler): Handle bfd_mach_sparc64.
2176 * sparc-opc.c (asi, membar): New static locals.
2177 (sparc_{encode,decode}_{asi,membar}): New functions.
2178 (sparc_opcodes, membar insn): Fix.
2179 * sparc-dis.c (print_insn): Call sparc_decode_asi.
2180 Support decoding of membar masks.
2183 Sat Aug 26 21:22:48 1995 Ian Lance Taylor <ian@cygnus.com>
2185 * m68k-opc.c (m68k_opcode_aliases): Add br, brs, brb, brw, brl.
2187 Mon Aug 21 17:33:36 1995 Ian Lance Taylor <ian@cygnus.com>
2189 * m68k-opc.c (m68k_opcode_aliases): Add bhib as an alias for bhis,
2190 and likewise for the other branches. Add bhs as an alias for bcc,
2191 and likewise for the size variants. Add dbhs as an alias for
2194 Fri Aug 11 13:40:24 1995 Jeff Law (law@snake.cs.utah.edu)
2196 * sh-opc.h (FP sts instructions): Update to match reality.
2198 Mon Aug 7 16:12:58 1995 Ian Lance Taylor <ian@cygnus.com>
2200 * m68k-dis.c: (fpcr_names): Add % before all register names.
2201 (reg_names): Likewise.
2202 (print_insn_arg): Don't explicitly print % before register names.
2203 Add % before register names in static array names. In case 'r',
2204 print data registers as `@(Dn)', not `Dn@'. When printing a
2205 memory address, don't print @# before it.
2206 (print_indexed): Change base_disp and outer_disp from int to
2207 bfd_vma. Print using MIT syntax, not mutant invalid Motorola
2208 syntax. Sign extend 8 byte displacement correctly.
2209 (print_base): Print using MIT syntax. Print zpc when appropriate.
2210 Change parameter disp from int to bfd_vma.
2212 * m68k-opc.c (m68k_opcode_aliases): Add jsrl and jsrs as aliases
2215 Mon Aug 7 02:21:40 1995 Jeff Law (law@snake.cs.utah.edu)
2217 * sh-dis.c (print_insn_shx): Handle new operand types F_REG_N,
2218 F_REG_M, FPSCR_M, FPSCR_N, FPUL_M and FPUL_N.
2219 * sh-opc.h (sh_arg_type): Add new operand types.
2220 (sh_table): Add new opcodes from SH3E Floating Point ISA.
2222 Sat Aug 5 16:50:14 1995 Fred Fish <fnf@cygnus.com>
2224 * Makefile.in (distclean): Remove generated file config.h.
2226 Sat Aug 5 16:50:14 1995 Fred Fish <fnf@cygnus.com>
2228 * Makefile.in (distclean): Remove generated file config.h.
2230 Wed Aug 2 18:33:40 1995 Ian Lance Taylor <ian@cygnus.com>
2232 * m68k-opc.c: New file, holding tables from include/opcode/m68k.h.
2234 * m68k-dis.c: Remove BREAK_UP_BIG_DECL stuff.
2236 (print_insn_m68k): Change d to be const. Use m68k_numopcodes
2237 rather than numopcodes. Use m68k_opcodes rather than removed
2238 opcode function. Don't check F_ALIAS.
2239 (print_insn_arg): Change first parameter to be const char *.
2240 * Makefile.in (ALL_MACHINES): Add m68k-opc.o.
2241 (m68k-opc.o): New target.
2242 * configure.in: Build m68k-opc.o for bfd_m68k_arch.
2243 * configure: Rebuild.
2245 Wed Aug 2 08:23:38 1995 Doug Evans <dje@canuck.cygnus.com>
2247 * sparc-dis.c (HASH_SIZE, HASH_INSN): Define.
2248 (opcode_bits, opcode_hash_table): New variables.
2249 (opcodes_initialized): Renamed from opcodes_sorted.
2250 (build_hash_table): New function.
2251 (is_delayed_branch): Use hash table.
2252 (print_insn): Renamed from print_insn_sparc, made static.
2253 Build and use hash table. If !sparc64, ignore sparc64 insns,
2254 and vice-versa if sparc64.
2255 (print_insn_sparc, print_insn_sparc64): New functions.
2256 (compare_opcodes): Move sparc64 opcodes to end.
2257 Print commutative insns with constant second.
2258 * sparc-opc.c (all non-v9 insns): Use flag F_NOTV9 instead of F_ALIAS.
2260 Tue Aug 1 00:12:49 1995 Ian Lance Taylor <ian@cygnus.com>
2262 * sh-dis.c (print_insn_shx): Remove unused local dslot. Use
2263 print_address_func for A_BDISP12 and A_BDISP8. Correct test which
2264 avoids printing a delay slot in a delay slot.
2265 * sh-opc.h (sh_table): Fully bracket last entry.
2267 Mon Jul 31 12:04:47 1995 Doug Evans <dje@canuck.cygnus.com>
2269 * sparc-opc.c (sllx, srax, srlx): Fix disassembly.
2271 Wed Jul 12 00:59:34 1995 Ken Raeburn <raeburn@kr-pc.cygnus.com>
2273 * configure.in: Get host_makefile_frag from ${srcdir}.
2275 * configure.in: Autoconfiscated. Check for string[s].h. Create
2276 config.h from config.in. Don't set up sysdep.h link.
2277 * sysdep.h: New file.
2278 * configure, config.in: New files, generated from configure.in.
2279 * Makefile.in: Updated to be processed autoconf-style.
2280 (distclean): Keep sysdep.h. Remove config.log and config.cache.
2281 (Makefile): Depend on config.status.
2282 (config.status): New rule.
2283 * configure.bat: Update Makefile substitutions.
2285 Tue Jul 11 14:23:37 1995 Jeff Spiegel <jeffs@lsil.com>
2287 * mips-opc.c (L1): Define.
2288 (mips_opcodes): Add R4010 instructions: flushi, flushd, flushid,
2289 addciu, madd, maddu, ffc, ffs, msub, msubu, selsi, selsr, waiti,
2292 Tue Jul 11 11:49:49 1995 Ian Lance Taylor <ian@cygnus.com>
2294 * mips-opc.c (mips_opcodes): For the move pseudo-op, prefer daddu
2295 if ISA 3 and addu otherwise, replacing or, since some MIPS chips
2296 have multiple add units but only a single logical unit.
2298 * ppc-opc.c (powerpc_operands): Change CR to use a bitsize of 3,
2299 shifted by 18, without any insertion or extraction function.
2300 (insert_cr, extract_cr): Remove.
2303 Mon Jul 3 11:54:31 1995 Ian Lance Taylor <ian@cygnus.com>
2305 * Makefile.in (ALL_MACHINES): Add arc-dis.o and arc-opc.o.
2308 Wed Jun 21 20:05:39 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
2310 * m68k-dis.c (print_insn_arg, print_indexed): Print "%" before
2313 Thu Jun 15 17:23:31 1995 Stan Shebs <shebs@andros.cygnus.com>
2315 * mpw-config.in: Add sh and i386 configs, remove sparc config.
2316 * sh-opc.h: Add copyright.
2318 Mon Jun 5 03:30:43 1995 Ken Raeburn <raeburn@kr-laptop.cygnus.com>
2320 * Makefile.in (crunch-m68k): Delete extra target accidentally
2321 checked in a while ago.
2323 Wed May 24 16:22:13 1995 Jim Wilson <wilson@chestnut.cygnus.com>
2325 * sh-opc.h (sh_table): Add SH3 support.
2327 Wed May 24 14:16:08 1995 Steve Chamberlain <sac@slash.cygnus.com>
2329 * sh-opc.h: Added bsrf and braf.
2331 Wed May 10 14:28:16 1995 Richard Earnshaw (rearnsha@armltd.co.uk)
2333 * arm-opc.h (arm_opcodes): Add 64-bit multiply patterns. Delete
2334 bogus [ls]fm{ea,fd} patterns.
2336 * arm-opc.h (arm_opcodes): Correct typos in stm, ldm, std, and ldc.
2337 * arm-dis.c (print_insn_arm): Make GIVEN a parameter, don't try and
2338 initialize it from memory. Make function static.
2339 (print_insn_{big,little}_arm): New functions.
2340 * disassemble.c (disassembler, case bfd_arch_arm): Disassemble for
2341 the correct endianness.
2344 Sat Apr 29 23:20:05 1995 Doug Evans <dje@chestnut.cygnus.com>
2346 * arc-opc.c (arc_opcodes): Add ARC_OPCODE_CONDITIONAL_BRANCH flag.
2347 (arc_suffixes): Use ARC_DELAY_{NONE,NORMAL,JUMP}.
2350 Mon Apr 24 14:18:05 1995 Jason Molenda (crash@phydeaux.cygnus.com>
2352 * sh-opc.h (sh_nibble_type, sh_arg_type): remove trailing , from
2355 Wed Apr 19 14:07:03 1995 Michael Meissner <meissner@tiktok.cygnus.com>
2357 * m68k-dis.c (opcode): Finish change made by Kung Hsu on April
2358 17th, so that it builds again using GCC as the compiler.
2360 Tue Apr 18 12:14:51 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
2362 * mips-dis.c (print_insn_little_mips): Cast return value from
2363 bfd_getl32 from bfd_vma to unsigned long, because _print_insn_mips
2364 expects an unsigned long, and that might be fewer words of
2365 argument storage (e.g., if bfd_vma is long long on a 32-bit
2367 (print_insn_big_mips): Likewise with bfd_getb32 value.
2368 (_print_insn_mips): Now static.
2370 Mon Apr 17 12:23:28 1995 Kung Hsu <kung@rtl.cygnus.com>
2372 * m68k-dis.c: Take out #define BREAK_UP_BIG_DECL kludge, because
2373 gcc memory hog problem with initializer is fixed.
2376 Wed Apr 12 09:04:12 1995 Doug Evans <dje@canuck.cygnus.com>
2378 * arc-opc.c (NULL): Define.
2379 (arc_operands, insn fields u,s): Delete.
2380 (arc_operands, insn fields a,b,c): Mark as signed.
2381 (arc_opcodes): No longer const, links computed at run-time.
2382 (arc_opcodes, mac/mul insns): Breakout suffixes as we don't handle
2383 suffixes that affect the insn code.
2384 (arc_opcodes): Resort table to macros are first.
2385 (arc_opcodes, ld [b,c] entry): Add %Q to prevent shimms.
2386 (arc_opcodes, st [b] entry): Likewise.
2387 (arc_opcodes, st [b,d] entry): Fix mask, value.
2388 (arc_reg_names): Add entries for r29, r30, r31, r60.
2389 (opcode_map, icode_map): New static globals.
2390 (arc_opcode_init_tables): Initialize them.
2391 (arc_opcode_lookup_asm, arc_opcode_lookup_dis): New functions.
2392 (insert_shimmoffset): Signal error if register present.
2394 * arc-dis.c (print_insn): Call arc_opcode_lookup_dis.
2397 Mon Apr 10 15:55:01 1995 Stan Shebs <shebs@andros.cygnus.com>
2399 Merge in support for Mac MPW as a host.
2400 (Old change descriptions retained for informational value.)
2402 * mpw-config.in (archname): Compute from the config.
2403 (BFD_MACHINES, ARCHDEFS): Put into mk.tmp.
2405 * mpw-config.in (target_arch): Compute from canonical target.
2406 (m68k, mips, powerpc, sparc): Add architectures.
2407 * mpw-make.in (disassemble.c.o): Add.
2408 (ALL_CFLAGS): Remove special flags (-mc68020 -mc68881 -model far).
2410 * mpw-config.in (BFD_MACHINES): Set to a default value.
2411 * mpw-make.in (BFD_MACHINES): Remove wired-in value.
2413 * mpw-make.in (CSEARCH): Add extra-include to search path.
2415 * mpw-config.in (varargs.h): Don't create.
2416 (sysdep.h): Create using forward-include.
2417 * mpw-make.in (CSEARCH): Add include/mpw to search path.
2419 * mpw-config.in: New file, MPW version of configure.in.
2420 * mpw-make.in: New file, MPW version of Makefile.in.
2423 Thu Apr 6 20:36:08 1995 Doug Evans <dje@chestnut.cygnus.com>
2425 * arc-dis.c (print_insn): New parameter `big_p'. Callers updated.
2426 Call arc_get_opcode_mach to map bfd mach number to opcode value.
2427 (print_insn_*): Pass bfd mach number, not opcode version.
2428 * arc-opc.c (arc_get_opcode_mach): New function.
2431 Fri Mar 31 14:23:38 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
2433 * alpha-dis.c (print_insn_alpha): Put empty statement after
2436 Tue Mar 21 10:51:40 1995 Jeff Law (law@snake.cs.utah.edu)
2438 * hppa-dis.c (sign_extend): Delete, redundant with libhppa.h version.
2439 (low_sign_extend): Likewise.
2440 (get_field): Delete unused function.
2441 (set_field, deposit_14, deposit_21): Likewise.
2443 Fri Mar 17 15:55:53 1995 J.T. Conklin <jtc@rtl.cygnus.com>
2445 * i386-dis.c: Support for more pentium opcodes. From Guy Harris
2448 Tue Mar 14 00:52:57 1995 Ken Raeburn (raeburn@kr-pc.cygnus.com)
2450 Sat Feb 11 17:22:41 1995 Klaus Kaempf (kkaempf@didymus.rmi.de)
2452 * alpha-opc.h (OSF_ASMCODE): define
2453 print pal-code names as defined in App C of the
2454 Alpha Architecture Reference Manual
2456 * alpha-dis.c: cleaned up output
2457 print stylized code forms as defined in App A.4.3 of the
2458 Alpha Architecture Reference Manual
2460 Wed Mar 8 15:21:14 1995 Ian Lance Taylor <ian@cygnus.com>
2462 * mips-opc.c: Add new mips4 instructions. Don't set INSN_RFE for
2464 * mips-dis.c (print_insn_arg): Handle new argument types 'h', 'R',
2467 Wed Mar 8 02:54:05 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
2469 * m68k-dis.c (opcode): New function. Returns address of opcode
2470 table entry given index, even if the opcode table was split to
2471 work around gcc bugs.
2472 (print_insn_m68k): Call opcode instead of referencing m68k_opcodes
2474 (BREAK_UP_BIG_DECL): Make secondary array static and const.
2475 (reg_names): Now const.
2476 (print_insn_arg): Arrays cacheFieldName and names now const.
2477 (print_indexed): Array scales now const.
2480 Tue Mar 7 21:14:14 1995 Doug Evans <dje@chestnut.cygnus.com>
2482 * arc-dis.c (print_insn_arc_base): Split into big and little fns.
2483 (print_insn_arc_{host,graphics,audio}): Likewise.
2484 (print_insn): Add prototype.
2485 (arc_get_disassembler): New arg `big_p'. Return little or big
2486 print fn accordingly.
2487 * arc-opc.c (arc_opcode_init_tables): Init arc_operand_map once.
2488 (arc_opcode_supported): Use ARC_OPCODE_CPU to ignore byte order.
2489 (arc_opval_supported): Likewise.
2490 * disassemble.c (disassembler): Pass big endian flag to
2491 arc_get_disassembler.
2494 Tue Mar 7 16:41:21 1995 Ian Lance Taylor <ian@cygnus.com>
2496 * ppc-opc.c: Sort recently added instructions by minor opcode
2497 number within major opcode number.
2499 Mon Mar 6 10:04:36 1995 Jeff Law (law@snake.cs.utah.edu)
2501 * hppa-dis.c: Include libhppa.h.
2503 Fri Feb 24 19:15:36 1995 Ian Lance Taylor <ian@cygnus.com>
2505 * mips-opc.c: Change dli to use M_DLI, and add dla.
2507 Mon Feb 20 23:54:38 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2509 * Makefile.in (ALL_MACHINES): Add w65-dis.o.
2512 Fri Feb 17 12:42:25 1995 Doug Evans <dje@chestnut.cygnus.com>
2514 * arc-dis.c (arc_get_disassembler): Change argument to int,
2515 one of bfd_mach_arc_xxx. All callers updated.
2518 Thu Feb 16 17:34:41 1995 Ian Lance Taylor <ian@cygnus.com>
2520 * mips-opc.c: Add r4650 mul instruction.
2522 Wed Feb 15 15:45:20 1995 Ian Lance Taylor <ian@cygnus.com>
2524 * mips-opc.c: Add uld and usd macros for unaligned double load and
2527 Tue Feb 14 13:17:37 1995 Michael Meissner <meissner@tiktok.cygnus.com>
2529 * ppc-opc.c (powerpc_opcodes): Add 403GA opcodes rfci, dccci,
2530 mfdcr, mtdcr, icbt, iccci.
2533 Mon Feb 13 11:09:17 1995 Doug Evans <dje@canuck.cygnus.com>
2535 * arc-dis.c (print_insn): Handle ARC_OPERAND_ADDRESS.
2536 * arc-opc.c (arc_operands): New operand 'J' for jump addresses.
2537 ('L' operand): Mark as ARC_OPERAND_ADDRESS.
2538 (arc_opcodes, j insn): Use 'J' operand type, not 'L'.
2539 (arc_opcodes, ld/st insns): Fix address writeback operand letter.
2540 (insert_absaddr): New function.
2542 Thu Feb 9 19:19:23 1995 Doug Evans <dje@canuck.cygnus.com>
2544 * arc-dis.c (print_insn_arc): Rename to print_insn and make static.
2545 New argument `cpu', pass it to arc_opcode_init_tables.
2546 Document byte order dependencies. Ignore unsupported insns.
2547 (arc_get_disassembler): New function.
2548 (print_insn_arc_base, print_insn_arc_host, print_insn_arc_graphics,
2549 print_insn_arc_audio): New functions.
2550 * arc-opc.c (MULTSHIFT operand): Delete.
2551 (UNSIGNED, SATURATION): New operands.
2552 (mac, mul, mul64, mulu64): New insns.
2553 (ext. asl, asr, lsr, ror): Only available on host and graphics cpus.
2554 (padc, padd, pmov, pand, psbc, psub, swap): New insns.
2555 (host,graphics,audio extended and auxiliary regs): Define.
2556 (ss, sc, mh, ml): New suffixes.
2557 (arc_opcode_supported, arc_opval_supported): New functions.
2558 (insert_multshift, extract_multshift): Deleted.
2559 * disassemble.c (disassembler, case bfd_arch_arc): Call
2560 arc_get_disassembler to get disassembler routine.
2563 Thu Feb 9 12:28:13 1995 Stan Shebs <shebs@andros.cygnus.com>
2565 * i960-dis.c (struct tabent, struct sparse_tabent): Change the
2566 signed char fields to shorts, more portable.
2568 Wed Feb 8 17:29:29 1995 Stan Shebs <shebs@andros.cygnus.com>
2570 * i960-dis.c (struct tabent, struct sparse_tabent): Declare the
2571 char fields as signed chars, since they may have negative values.
2573 Mon Feb 6 10:52:06 1995 J.T. Conklin <jtc@rtl.cygnus.com>
2575 * i386-dis.c (dis386_twobyte): Add cpuid, From Charles Hannum
2576 (mycroft@netbsd.org).
2578 Mon Jan 30 12:38:00 1995 Ian Lance Taylor <ian@cygnus.com>
2580 From "Logg, Ed" <elogg@ea.com>:
2581 * ppc-opc.c (extract_bdm): Correct parenthezisation.
2582 * ppc-dis.c (print_insn_powerpc): Print .long before unrecognized
2585 Thu Jan 26 18:32:08 1995 Ian Lance Taylor <ian@cygnus.com>
2587 * ppc-opc.c: Changes based on patch from David Edelsohn
2588 <edelsohn@mhpcc.edu>.
2589 (powerpc_operands): Add operands SPRBAT and SPRG. Split TBR out of
2592 (insert_tbr): New static function.
2593 (extract_tbr): New static function.
2594 (XFXFXM_MASK, XFXM): Define.
2595 (XSPRBAT_MASK, XSPRG_MASK): Define.
2596 (powerpc_opcodes): Add instructions to access special registers by
2597 name. Add mtcr and mftbu.
2599 Tue Jan 17 10:56:43 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
2601 * mips-opc.c (P3): Define.
2602 (mips_opcodes): Add mad and madu.
2604 Sun Jan 15 16:32:59 1995 Steve Chamberlain <sac@splat>
2606 * configure.in: Add W65 support.
2607 * disassemble.c: Likewise.
2608 * w65-opc.h, w65-dis.c: New files.
2610 Wed Dec 28 22:15:33 1994 Steve Chamberlain (sac@jonny.cygnus.com)
2612 * h8300-dis.c (bfd_h8_disassemble): Add support for 2 bit
2616 Tue Dec 20 10:36:55 1994 Doug Evans <dje@canuck.cygnus.com>
2618 * arc-dis.c (print_insn_arc): Branch offsets are relative to delay
2620 * arc-opc.c (extract_reladdr): New function.
2621 (insert_reladdr): Store address right-shifted by 2.
2624 Tue Dec 20 11:25:12 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
2626 * mips-opc.c: Add dli as a synonym for li.
2629 Mon Dec 19 12:35:51 1994 Doug Evans <dje@canuck.cygnus.com>
2631 * arc-opc.c (insertion fns): Pass pointer to value's table entry.
2633 (extraction fns): Insn argument now array of two words. Return pointer
2634 to value's table entry. All uses changed.
2635 (arc_opcode_lookup_suffix): Exported for arc-dis.c.
2636 (insert_multshift, extract_multshift): New fns.
2637 (arc_operands): Add support for cache bypass suffix. Add support for
2638 predefined aux regs. Modifier bits moved to flags field.
2639 (arc_opcodes): Likewise.
2640 Add mul/mulu/shift insns. Syntax of zero/sign extension insns changed.
2641 New insn rlc. Update to syntax in programmer's manual.
2642 (arc_reg_names): Fix typo in lp_count. Add predefined aux regs.
2643 (arc_suffixes): New synonyms lo,hs for cs,cc. New suffix for cache
2645 (arc_opcode_init_tables): New argument to indicate cpu type.
2646 (insert_reg): Handle predefined aux regs.
2647 (extract_reg): Likewise.
2648 (lookup_register): New fn.
2649 * arc-dis.c (arc_condition_codes): Deleted.
2650 (print_insn_arc): Handle insns with 32 bit immediate constants better.
2651 Clean up modifier handling. Handle predefined aux regs.
2654 Thu Dec 8 18:23:31 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
2656 * alpha-dis.c (print_insn_alpha): Handle call_pal instruction, and
2657 print something for reserved opcode values, even if it won't
2660 * mips-dis.c (_print_insn_mips): When initializing, shift right
2661 and mask, to avoid sign extension problems on the Alpha.
2663 * m68k-dis.c (print_insn_arg, case 'J'): Handle buscr and pcr
2667 Tue Nov 29 18:02:43 1994 Doug Evans <dje@canuck.cygnus.com>
2669 * configure.in: Add ARC support.
2670 * disassemble.c: Likewise.
2671 * arc-dis.c, arc-opc.c: New files.
2674 Wed Nov 23 22:34:51 1994 Steve Chamberlain (sac@jonny.cygnus.com)
2676 * sh-opc.h (mov.l gbr): Get direction right.
2677 * sh-dis.c (print_insn_shx): New function.
2678 (print_insn_shl, print_insn_sh): Call print_insn_shx to
2679 print opcodes with right byte order.
2681 Thu Nov 3 19:32:22 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
2683 * ns32k-dis.c (struct ns32k_option): Renamed from struct option,
2684 to avoid conflicts with getopt.
2686 Mon Oct 31 18:48:10 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
2688 * hppa-dis.c (print_insn_hppa): Read the instruction using
2689 bfd_getb32, so that it works on a little endian or 64 bit host.
2690 Remove unused local variable op.
2692 Tue Oct 25 17:07:57 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
2694 * mips-opc.c: Use or instead of addu for pseudo-op move, since
2695 addu does not work correctly if -mips3.
2697 Wed Oct 19 13:40:16 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
2699 * a29k-dis.c (print_special): Add special register names defined
2700 on 29030, 29040 and 29050.
2701 (print_insn): Handle new operand type 'I'.
2703 Wed Oct 12 11:59:55 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
2705 * Makefile.in (INSTALL): Use top level install.sh script.
2707 Wed Oct 5 19:16:29 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
2709 * sparc-dis.c: Rewrite to use bitfields, rather than a union, so
2710 that it works on a little endian host.
2712 Tue Oct 4 12:14:21 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
2714 * configure.in: Use ${config_shell} when running config.bfd.
2716 Wed Sep 21 18:49:12 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
2718 * mips-opc.c (mips_opcodes): "dabs" is only available with -mips3.
2720 Thu Sep 15 16:30:22 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
2722 * a29k-dis.c (print_insn): Print the opcode.
2724 Wed Sep 14 17:52:14 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
2726 * mips-opc.c (mips_opcodes): Set WR_t for sc and scd.
2728 Sun Sep 11 22:32:17 1994 Jeff Law (law@snake.cs.utah.edu)
2730 * hppa-dis.c (reg_names): Use r26-r23 for arg0-arg3.
2732 Tue Sep 6 11:37:12 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
2734 * mips-opc.c: Set INSN_STORE_MEMORY flag for all instructions
2735 which store a value into memory.
2737 Sun Sep 04 17:58:10 1994 Richard Earnshaw (rwe@pegasus.esprit.ec.org)
2739 * configure.in, Makefile.in, disassemble.c: Add support for the ARM.
2740 * arm-dis.c, arm-opc.h: New files.
2742 Fri Aug 5 14:00:05 1994 Stan Shebs (shebs@andros.cygnus.com)
2744 * Makefile.in (ns32k-dis.o): Add dependency.
2745 * ns32k-dis.c (print_insn_arg): Declare initialized local as
2746 string, not as array of chars.
2748 Thu Jul 28 18:14:16 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
2750 * sparc-dis.c (print_insn_sparc): Handle new operand type 'x'.
2752 * sparc-opc.c: Added sparclite extended FP operations, and
2753 versions of v9 impdep* instructions permitting specification of
2756 Tue Jul 26 16:36:03 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
2758 * i960-dis.c (reg_names): Now const.
2759 (struct sparse_tabent): New type, copied from array type in mem
2761 (ctrl): Local static array ctrl_tab now const.
2762 (cobr): Local static array cobr_tab now const.
2763 (mem): Local variables reg1, reg2, reg3 now point to const. Local
2764 static variable mem_tab no longer explicitly initialized. Changed
2765 mem_init to const array of struct sparse_tabent.
2766 (reg): Local static variable reg_tab no longer explicitly
2767 initialized. Changed reg_init to const array of struct
2769 (ea): Local static array scale_tab now const.
2771 * i960-dis.c (reg): Added i960JX instructions to reg_init table.
2774 Tue Jul 19 21:00:00 1994 DJ Delorie (dj@ctron.com)
2776 * configure.bat: the disassember needs to be enabled for
2777 "objdump -d" to work in djgpp.
2779 Wed Jul 13 18:01:58 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
2781 * ns32k-dis.c: Deleted all code in "#ifdef GDB".
2782 (invalid_float): Enabled general version, doesn't require running
2783 on ns32k host. Changed to take char* argument, and test for
2784 explicitly specified sizes, instead of using sizeof() on host CPU
2786 (INVALID_FLOAT): Cast first argument.
2787 (opt_u, opt_U, opt_O, opt_C, opt_S, list_P532, list_M532,
2788 list_P032, list_M032): Now const.
2789 (optlist, list_search): Made appropriate arguments now point to
2791 (print_insn_arg): Changed static array of one-character-string
2792 pointers into a static const array of characters; fixed sprintf
2793 statement accordingly.
2795 Sun Jul 10 00:27:47 1994 Ian Dall (dall@hfrd.dsto.gov.au)
2797 * opcodes/ns32k-dis.c: Semi-new file. Had apparently been dropped
2798 from distribution. A ns32k-dis.c from a previous distribution has
2799 been brought up to date and supports the new interface.
2801 * disassemble.c: define ARCH_ns32k and add case bfd_arch_ns32k.
2803 * configure.in: add bfd_ns32k_arch target support.
2805 * Makefile.in: add ns32k-dis.o to ALL_MACHINES.
2806 Add ns32k-dis.c to CFILES. Add dependencies for ns32k-dis.o.
2808 Wed Jun 29 22:10:37 1994 Steve Chamberlain (sac@cygnus.com)
2810 * h8300-dis.c (bfd_h8_disassemble): Get 16bit branch
2813 Tue Jun 28 13:22:06 1994 Stan Shebs (shebs@andros.cygnus.com)
2815 * h8300-dis.c, mips-dis.c: Don't use true and false.
2817 Thu Jun 23 12:53:19 1994 David J. Mackenzie (djm@rtl.cygnus.com)
2819 * configure.in: Change --with-targets to --enable-targets.
2821 Wed Jun 22 13:38:32 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
2823 * mips-dis.c (_print_insn_mips): Build a static hash table mapping
2824 opcodes to the first instruction with that opcode, to speed
2825 disassembly of large files. From ralphc@pyramid.com (Ralph
2828 Tue Jun 7 12:49:44 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2830 * Makefile.in (mostlyclean): Fix typo (was mostyclean).
2832 Wed May 11 22:32:00 1994 DJ Delorie (dj@ctron.com)
2834 * configure.bat: update to latest makefile.in
2836 Sat May 7 17:13:21 1994 Steve Chamberlain (sac@cygnus.com)
2838 * a29k-dis.c (print_insn): Print 'x' type operand in hex.
2839 * h8300-dis.c (bfd_h8_disassemble): Print 16bit rels correctly.
2840 * sh-dis.c (print_insn_sh): Don't recur endlessly if delay
2841 slot insn is in a delay slot.
2842 * z8k-opc.h: (resflg): Fix patterns.
2843 * h8500-opc.h Fix CR insn patterns.
2845 Fri May 6 14:34:46 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2847 * ppc-opc.c (powerpc_opcodes): Put PowerPC versions of "cmp" and
2848 "cmpl" before POWER versions, so that gas -many uses them.
2850 Thu Apr 28 18:32:36 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
2852 * disassemble.c: New file.
2853 * Makefile.in (OFILES): Add disassemble.o.
2854 (disassemble.o): Provide dependencies; compile with $(ARCHDEFS).
2855 * configure.in: Define ARCHDEFS in Makefile. Code taken from
2856 binutils/configure.in.
2858 * m68k-dis.c (print_insn_m68k): If F_ALIAS flag is set, skip the
2859 opcode being examined.
2861 Thu Apr 21 17:08:40 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2863 * ppc-opc.c (powerpc_operands): Added RAL, RAM and RAS.
2864 (insert_ral, insert_ram, insert_ras): New functions.
2865 (powerpc_opcodes): Use RAL for load with update, RAM for lmw, and
2866 RAS for store with update.
2868 Sat Apr 16 23:41:44 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2870 * ppc-opc.c (powerpc_opcodes): Correct fcir. From David Edelsohn
2871 (edelsohn@npac.syr.edu).
2873 Wed Apr 6 17:11:45 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2875 * mips-opc.c (mips_opcodes): Correct operands of "nor" with an
2878 Mon Apr 4 16:30:46 1994 Doug Evans (dje@canuck.cygnus.com)
2880 * sparc-opc.c (sparc_opcodes): Fix "rd %fprs,%l0".
2882 Mon Apr 4 13:22:00 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2884 * ppc-opc.c (powerpc_operands): The signedp field has been
2885 removed, so don't initialize it. Set the PPC_OPERAND_SIGNED flag
2886 instead. Add new operand SISIGNOPT.
2887 (powerpc_opcodes): For lis, liu, addis, and cau use SISIGNOPT.
2888 Based on patch from David Edelsohn (edelsohn@npac.syr.edu).
2889 * ppc-dis.c (print_insn_powerpc): Check PPC_OPERAND_SIGNED rather
2892 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2894 * i386-dis.c (struct private): Renamed to dis_private. `private'
2895 is a reserved word for dynix cc.
2897 Mon Mar 28 13:00:15 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2899 * configure.in: Change error message to refer to bfd/config.bfd
2900 rather than bfd/configure.in.
2902 Mon Mar 28 12:28:30 1994 David Edelsohn (edelsohn@npac.syr.edu)
2904 * ppc-opc.c: Define POWER2 as short alias flag.
2905 (powerpc_opcodes): Add POWER/2 opcodes lfq*, stfq*, fcir[z], and
2908 Wed Mar 23 12:23:05 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2910 * i960-dis.c (print_insn_i960): Don't read a second word for
2911 opcodes 0, 1, 2 and 3.
2913 Wed Mar 16 15:37:58 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2915 * configure.in: Don't build m68881-ext.o for bfd_m68k_arch.
2917 Mon Mar 14 14:53:50 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2919 * m68881-ext.c: Removed; no longer used.
2920 * Makefile.in: Changed accordingly.
2922 * m68k-dis.c (ext_format_68881): Don't declare.
2923 (print_insn_m68k): If an instruction uses place 'i', it uses at
2924 least four fixed bytes.
2925 (print_insn_arg): Don't bump p by 2 for case 'I', place 'i'. For
2926 extended float, convert to double using floatformat_to_double, not
2927 ieee_extended_to_double, and fetch the data before converting it.
2929 Tue Mar 8 18:12:25 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2931 * mips-opc.c: It's sqrt.s, not sqrt.w. From
2932 davidj@ICSI.Berkeley.EDU (David Johnson).
2934 Tue Feb 8 16:55:27 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2936 * ppc-opc.c (powerpc_opcodes): The POWER uses bdn[l][a] where the
2937 PowerPC uses bdnz[l][a].
2939 Tue Feb 8 00:32:28 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2941 * dis-buf.c, i386-dis.c: Include sysdep.h.
2943 Mon Feb 7 19:22:23 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2945 * configure.in (bfd_powerpc_arch): Use ppc-dis.o and ppc-opc.o.
2947 * ppc-opc.c (powerpc_opcodes): Mark POWER instructions supported
2948 by Motorola PowerPC 601 with PPC_OPCODE_601.
2949 * ppc-dis.c (print_insn_big_powerpc, print_insn_little_powerpc):
2950 Disassemble Motorola PowerPC 601 instructions as well as normal
2951 PowerPC instructions.
2953 Sun Feb 6 07:45:17 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2955 * i960-dis.c (reg, mem): Just use a static array instead of
2958 Sat Feb 5 00:04:02 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
2960 * hppa-dis.c (print_insn_hppa): For '?' and '@' only adjust the
2961 condition name index if this is for a negated condition.
2963 * hppa-dis.c (print_insn_hppa): No space before 'H' operand.
2964 Floating point format for 'H' operand is backwards from normal
2965 case (0 == double, 1 == single). For '4', '6', '7', '9', and '8'
2966 operands (fmpyadd and fmpysub), handle bizarre register
2967 translation correctly for single precision format.
2969 * hppa-dis.c (print_insn_hppa): Do not emit a space after 'F'
2970 or 'I' operands if the next format specifier is 'M' (fcmp
2971 condition completer).
2973 Feb 4 23:38:03 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2975 * ppc-opc.c (powerpc_operands): New operand type MBE to handle a
2976 single number giving a bitmask for the MB and ME fields of an M
2977 form instruction. Change NB to accept 32, and turn it into 0;
2978 also turn 0 into 32 when disassembling. Seperated SH from NB.
2979 (insert_mbe, extract_mbe): New functions.
2980 (insert_nb, extract_nb): New functions.
2981 (SC_MASK): Mask out SA and LK bits.
2982 (powerpc_opcodes): Change "cal" to use RT, D, RA rather than RT,
2983 RA, SI. Change "liu" and "cau" to use UI rather than SI. Mark
2984 "bctr" and "bctrl" as accepted by POWER. Change "rlwimi",
2985 "rlimi", "rlwimi.", "rlimi.", "rlwinm", "rlinm", "rlwinm.",
2986 "rlinm.", "rlmi", "rlmi.", "rlwnm", "rlnm", "rlwnm.", "rlnm." to
2987 use MBE rather than MB. Add "mfmq" and "mtmq" POWER instructions.
2988 (powerpc_macros): Define table of macro definitions.
2989 (powerpc_num_macros): Define.
2991 * ppc-dis.c (print_insn_powerpc): Don't skip optional operands
2992 if PPC_OPERAND_NEXT is set.
2994 Sat Jan 22 23:10:07 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2996 * i960-dis.c (print_insn_i960): Make buffer bfd_byte instead of
2997 char. Retrieve contents using bfd_getl32 instead of shifting.
2999 Fri Jan 21 19:01:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
3001 * ppc-opc.c: New file. Opcode table for PowerPC, including
3002 opcodes for POWER (RS/6000).
3003 * ppc-dis.c: New file. PowerPC and Power (RS/6000) disassembler.
3004 * Makefile.in (ALL_MACHINES): Add ppc-dis.o and ppc-opc.o.
3005 (CFILES): Add ppc-dis.c.
3006 (ppc-dis.o, ppc-opc.o): New targets.
3007 * configure.in: Build ppc-dis.o and ppc-opc.o for bfd_rs6000_arch.
3009 Mon Jan 17 20:05:49 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3011 * hppa-dis.c (print_insn_hppa): Handle 'N' in assembler template.
3012 No space before 'u', 'f', or 'N'.
3014 Sun Jan 16 14:20:16 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
3016 * i386-dis.c (print_insn_i386): Add FIXME comment regarding reading
3017 farther than we should.
3019 * i386-dis.c (dis386): Use Yb and Yv for scasb and scasS.
3021 Thu Jan 6 12:38:05 1994 David J. Mackenzie (djm@thepub.cygnus.com)
3023 * sparc-dis.c m68k-dis.c alpha-dis.c a29k-dis.c: Fix comments.
3025 Wed Jan 5 11:56:21 1994 David J. Mackenzie (djm@thepub.cygnus.com)
3027 * i960-dis.c (print_insn_i960): Only read word2 if the instruction
3028 needs it, to prevent reading past the end of a section.
3030 Wed Nov 17 17:20:12 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
3032 * mips-opc.h: Use macro for j instruction, to support SVR4 PIC.
3033 Removed t,A case for la; always use t,A(b) case.
3035 Mon Nov 8 12:37:36 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
3037 From Ted Lemen <mellon@pepper.ncd.com>
3038 * mips-dis.c (print_insn_arg): Handle 'k'.
3039 * mips-opc.c: Make cache use k, not t.
3041 Sun Nov 7 23:52:34 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3043 * alpha-opc.h, alpha-dis.c (print_insn_alpha): Add
3044 FLOAT_MEMORY_FORMAT_CODE, FLOAT_BRANCH_FORMAT_CODE, correct
3045 FLOAT_FORMAT_CODE to put out floating point register names.
3047 Mon Nov 1 18:17:51 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
3049 * mips-opc.c: Use macros for jal variants, to support SVR4 PIC.
3051 Thu Oct 28 17:42:23 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
3053 * a29k-dis.c (print_insn): Use 0x%08x, not 0x%8x.
3055 Wed Oct 27 11:48:01 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
3057 * mips-opc.c (dsll, dsra, dsrl): Added '>' cases for shift counts
3058 larger than 32. Moved dsxx32 variants first for disassembler.
3060 Mon Oct 25 11:33:14 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
3062 * z8kgen.c, z8k-opc.h: Add full lda information.
3064 Tue Oct 19 12:39:25 1993 Jeffrey A Law (law@cs.utah.edu)
3066 * hppa-dis.c (print_insn_hppa): Do not emit a space after
3067 movb instructions. Any necessary space will be emitted by
3068 the code to handle nullification completers.
3070 Wed Oct 13 16:19:07 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
3072 * mips-opc.c: Moved l.d down so that it disassembles as ldc1.
3074 Fri Oct 8 02:34:21 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3076 * alpha-opc.h: Add ldl_l, fix typo for ldq_u.
3077 * alpha-dis.c (print_insn_alpha): Add code for PAL_FORMAT_CODE.
3079 Tue Oct 5 17:47:53 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
3081 * mips-opc.c: Correct lwu opcode value (book had it wrong).
3083 Thu Sep 30 11:26:18 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
3085 * z8k-dis.c (FETCH_DATA): get just the right amount of data.
3086 (unpack_instr): Cope with ARG_IMM4M1 type instructions.
3088 Wed Sep 29 16:24:49 1993 K. Richard Pixley (rich@sendai.cygnus.com)
3090 * m88k-dis.c (m88kdis): comment change. Remove space after
3092 (printop): handle new arg types DEC and XREG for m88110.
3094 Tue Sep 28 19:20:16 1993 Jeffrey A Law (law@snake.cs.utah.edu)
3096 * hppa-dis.c (print_insn_hppa): Handle 'z' operand
3097 type for absolute branch addresses. Delete special
3098 "ble" and "be" code in 'W' operand code.
3100 Fri Sep 24 14:08:33 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
3102 * mips-opc.c: Set hazard information correctly for branch
3103 likely instructions.
3105 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3107 * alpha-dis.c (print_insn_alpha), alpha-opc.h: Fix bugs, use
3108 info->fprintf_func for printing and info->print_address_func for
3111 Wed Sep 15 12:12:07 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
3113 * mips-opc.c: Set INSN_TRAP for tXX instructions.
3115 Thu Sep 9 10:11:27 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
3117 * mips-opc.c: From davidj@ICSI.Berkeley.EDU (David Johnson):
3118 Corrected second case of "b" for disassembler.
3120 Tue Sep 7 14:25:15 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
3122 * mips-dis.c, m88k-dis.c: Don't include libbfd.h. Changed calls
3123 to BFD swapping routines to correspond to BFD name changes.
3125 Thu Sep 2 10:35:25 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
3127 * mips-opc.c: Change div machine instruction to be z,s,t rather
3128 than s,t. Change div macro to be d,v,t rather than d,s,t.
3129 Likewise for divu, ddiv, ddivu. Added z,s,t case for drem, dremu,
3130 rem and remu which generates only the corresponding div
3131 instruction. This is for compatibility with the MIPS assembler,
3132 which only generates the simple machine instruction when an
3133 explicit destination of $0 is used.
3134 * mips-dis.c (print_insn_arg): Handle 'z' (always register zero).
3136 Thu Aug 26 17:41:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
3138 * mips-opc.c: From davidj@ICSI.Berkeley.EDU (David Johnson): Set
3139 WR_31 hazard for bal, bgezal, bltzal.
3141 Thu Aug 26 17:20:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3143 * hppa-dis.c (print_insn_hppa): Use print function
3144 from within the disassemble_info, not fprintf_filtered.
3146 Wed Aug 25 13:51:40 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
3148 * hppa-dis.c (print_insn_hppa): Handle '|' like '>'. (From Jeff
3149 Law, law@cs.utah.edu.)
3151 Mon Aug 23 12:44:05 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
3153 * mips-opc.c ("absu"): Removed.
3156 Fri Aug 20 10:52:52 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
3158 * mips-opc.c: Added r6000 and r4000 instructions and macros.
3159 Changed hazard information to distinguish between memory load
3160 delays and coprocessor load delays.
3162 Wed Aug 18 15:39:23 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
3164 * mips-opc.c: li.d uses "T,L", not "S,F". Added li.s.
3166 Tue Aug 17 09:44:42 1993 David J. Mackenzie (djm@thepub.cygnus.com)
3168 * configure.in: Don't pass cpu to config.bfd.
3170 Tue Aug 17 12:23:52 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
3172 * m88k-dis.c (m88kdis): Make class unsigned.
3174 Thu Aug 12 15:08:18 1993 Ian Lance Taylor (ian@cygnus.com)
3176 * alpha-dis.c (print_insn_alpha): One branch format case was
3177 missing the instruction name.
3179 Wed Aug 11 19:29:39 1993 David J. Mackenzie (djm@thepub.cygnus.com)
3181 * Makefile.in (ALL_MACHINES): Renamed from DIS_LIBS.
3182 Add the arch-specific auxiliary files.
3183 (OFILES): Remove the arch-specific auxiliary files
3184 and use BFD_MACHINES instead of DIS_LIBS.
3185 * configure.in: Set BFD_MACHINES based on --with-targets option.
3187 Thu Aug 12 12:04:53 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
3189 * mips-opc.c: Added lwc1 E,A(b) to go with lwc1 T,A(b). Similarly
3192 Sun Aug 8 15:09:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3194 * sparc-opc.c: Change CONST to const to deal with gcc
3195 -Dconst=__const -traditional.
3197 Fri Aug 6 10:58:55 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
3199 * mips-opc.c: From davidj@ICSI.Berkeley.EDU (David Johnson): Took
3200 coprocessor instructions out of #if 0, and made them use new
3203 Thu Aug 5 17:11:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3205 * sparc-dis.c: Include ansidecl.h before opcodes/sparc.h.
3207 Fri Jul 30 18:48:15 1993 John Gilmore (gnu@cygnus.com)
3209 * sparc-opc.c: Add F_JSR, F_UNBR, or F_CONDBR flags to each branch
3210 instruction, for use by the disassembler.
3212 * sparc-dis.c (SEX): Add sign extension macro. Replace many
3213 hand-coded sign extensions that depended on 32-bit host ints.
3214 FIXME, we still depend on big-endian host bitfield ordering.
3215 (sparc_print_insn): Set the insn_info_valid field, and the
3216 other fields that describe the instruction being printed.
3218 Tue Jul 27 17:04:58 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
3220 * sparc-opc.c (call): Accept all 6 addressing modes valid for
3221 `jmp' instead of just one of them.
3223 Wed Jul 21 11:43:32 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
3225 * hppa-dis.c: Move floating registers from reg_names to fp_reg_names.
3226 (fput_fp_reg_r): Renamed from fput_reg_r.
3227 (fput_fp_reg): New function.
3228 (print_insn_hppa): Use fput_fp_reg{,_r} where appropriate.
3230 * hppa-dis.c (print_insn_hppa, cases 'a', 'd'): Print space afterwards.
3232 * hppa-dis.c (print_insn_hppa, case 'd'): Use GET_COND not GET_FIELD.
3234 Mon Jul 19 13:52:21 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
3236 * hppa-dis.c (print_insn_hppa): Use extract_5r_store for 'r'.
3238 * hppa-dis.c (print_insn_hppa, case '>'): If next character is 'n',
3239 don't output a space.
3241 * hppa-dis.c (float_format_names): 10 is undefined, and 11 is quad.
3243 Sun Jul 18 16:30:02 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
3245 * mips-opc.c: New file, containing opcode table from
3246 ../include/opcode/mips.h.
3247 * Makefile.in: Add it.
3249 Thu Jul 15 12:37:05 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
3251 * m88k-dis.c: New file, moved in from gdb and changed to use the
3252 new dis-asm.h disassembler interface.
3253 * Makefile.in (DIS_LIBS): Added m88k-dis.o.
3254 (m88k-dis.o): New target.
3256 Tue Jul 13 10:04:16 1993 Ian Lance Taylor (ian@cygnus.com)
3258 * mips-dis.c (print_insn_arg, _print_insn_mips): Made pointer to
3259 argument string const char * to correspond to opcode/mips.h.
3261 Tue Jul 6 15:18:37 1993 Ian Lance Taylor (ian@cygnus.com)
3263 * mips-dis.c: Updated to account for name changes in new version
3265 * Makefile.in: Added header file dependencies.
3267 Sat Jul 3 23:47:56 1993 Doug Evans (dje@canuck.cygnus.com)
3269 * h8300-dis.c (bfd_h8_disassemble): Correct fetching of instruction.
3271 Thu Jul 1 12:23:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3273 * m68k-dis.c (NEXTWORD, NEXTLONG): Use ((x) ^ 0x8000) - 0x8000 to sign
3274 extend, rather than shifts.
3276 Sun Jun 20 20:56:56 1993 Ken Raeburn (raeburn@poseidon.cygnus.com)
3278 * Makefile.in: Undo 15 June change.
3280 Fri Jun 18 14:15:15 1993 Per Bothner (bothner@deneb.cygnus.com)
3282 * m68k-dis.c (print_insn_arg): Change return value to byte count
3284 * m68k-dis.c: Re-write to detect invalid operands before
3285 printing anything, so we can handle this the same way we
3286 handle invalid opcodes.
3288 Thu Jun 17 15:01:36 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
3290 * sh-dis.c, sh-opc.h: Understand some more opcodes.
3292 Wed Jun 16 13:48:05 1993 Ian Lance Taylor (ian@cygnus.com)
3294 * hppa-dis.c: Include <ansidecl.h> and sysdep.h before other
3297 Tue Jun 15 21:45:26 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
3299 * sparc-dis.c: Don't declare qsort, since sysdep.h might.
3301 * configure.in: Do make sysdep.h link.
3302 * Makefile.in: Search ../include. Don't search ../bfd.
3304 Tue Jun 15 13:36:10 1993 Stu Grossman (grossman@cygnus.com)
3306 Changes from Jeff Law, law@cs.utah.edu:
3307 * hppa-dis.c: Fix typo. 'a' and 'd' were reversed.
3308 Do not print a space before the completers specified by
3311 Fri Jun 11 18:40:21 1993 Ken Raeburn (raeburn@cygnus.com)
3313 * mips-dis.c: No longer need to bomb out if HOST_64_BIT is
3314 defined, since gdb has been fixed.
3316 Changes from Jeff Law, law@cs.utah.edu:
3317 * hppa-dis.c (print_insn_hppa): Last argument to fput_reg,
3318 fput_reg_r, fput_creg, fput_const, and fputs_filtered should
3319 be a *disassemble_info, not a *FILE.
3320 * hppa-dis.c: Support 'd', '!', and 'a'.
3321 * hppa-dis.c: Support 's' to extract a 2 bit space register.
3322 * hppa-dis.c: Delete cases which are no longer needed.
3324 Fri Jun 11 07:53:48 1993 Jim Kingdon (kingdon@cygnus.com)
3326 * m68k-dis.c (print_insn_{m68k,arg}): Add MMU codes.
3328 Tue Jun 8 12:25:01 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
3330 * h8300-dis.c: New file, removed from bfd/cpu-h8300.c, with
3333 Mon Jun 7 12:58:49 1993 Per Bothner (bothner@rtl.cygnus.com)
3335 * Makefile.in (CSEARCH): Add -I../bfd for sysdep.h and bfd.h.
3336 * configure.in: No longer need to configure to get sysdep.h.
3338 Thu Jun 3 15:56:49 1993 Stu Grossman (grossman@cygnus.com)
3340 * Patches from Jeffrey Law <law@cs.utah.edu>.
3341 * hppa-dis.c: Support 'I', 'J', and 'K' in output
3342 templates for 1.1 FP computational instructions.
3344 Tue May 25 13:05:48 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
3346 * h8500-dis.c (print_insn_h8500): Address argument is type
3348 * z8k-dis.c (print_insn_z8k, print_insn_z8001, print_insn_z8002):
3351 * h8500-opc.h (addr_class_type): No comma at end of enumerator.
3352 * sh-opc.h (sh_nibble_type, sh_arg_type): Ditto.
3354 * sparc-dis.c (compare_opcodes): Move static declaration to
3357 Fri May 21 14:17:37 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3359 * sparc-dis.c (print_insn_sparc): Implement 'n' argument for unimp
3360 instruction, remove unimp hack from 'l' argument.
3362 Wed May 19 15:35:54 1993 Stu Grossman (grossman@cygnus.com)
3364 * z8k-dis.c (fetch_data): Use unsigned char to make ancient gcc's
3367 Fri May 14 15:22:46 1993 Ian Lance Taylor (ian@cygnus.com)
3369 * Based on patches from davidj@ICSI.Berkeley.EDU (David Johnson):
3370 * mips-dis.c (print_insn_arg): Handle 'C' for general coprocessor
3373 Fri May 14 00:09:14 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
3375 * hppa-dis.c: Include dis-asm.h before sysdep.h. Changed some
3376 arrays of string pointers to 2-d arrays of chars, to save
3379 Thu May 6 20:51:17 1993 Fred Fish (fnf@cygnus.com)
3381 * a29k-dis.c, alpha-dis.c, i960-dis.c, sparc-dis.c, z8k-dis.c:
3382 Cast second arg to read_memory_func to "bfd_byte *", as necessary.
3384 Tue May 4 20:31:10 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
3386 * hppa-dis.c: New file from Utah, adapted to new disassembler
3388 * Makefile.in: Include it.
3390 Mon Apr 26 18:17:42 1993 Steve Chamberlain (sac@thepub.cygnus.com)
3392 * sh-dis.c, sh-opc.h: New files.
3394 Fri Apr 23 18:51:22 1993 Steve Chamberlain (sac@thepub.cygnus.com)
3396 * alpha-dis.c, alpha-opc.h: New files.
3398 Tue Apr 6 12:54:08 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3400 * mips-dis.c: Sign extend 'j' and 'b' arguments, delta is a signed
3403 Mon Apr 5 17:37:37 1993 John Gilmore (gnu@cygnus.com)
3405 * sparc-dis.c: Make "ta" the default trap instruction, "t" the alias.
3407 Fri Apr 2 07:24:27 1993 Ian Lance Taylor (ian@cygnus.com)
3409 * a29k-dis.c, sparc-dis.c, sparc-opc.c: Use CONST rather than
3412 Thu Apr 1 11:20:43 1993 Jim Kingdon (kingdon@cygnus.com)
3414 * sparc-dis.c: Use fprintf_func a few places where I forgot,
3415 and double percent signs a few places.
3417 * a29k-dis.c, i960-dis.c: New, merged from gdb and binutils.
3419 * i386-dis.c, m68k-dis.c, mips-dis.c, sparc-dis.c:
3420 Use info->print_address_func not print_address.
3422 * dis-buf.c (generic_print_address): New function.
3424 Wed Mar 31 10:07:04 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3426 * Makefile.in: Add sparc-dis.c.
3427 sparc-dis.c: New file, merges binutils and gdb versions as follows:
3429 Add `add' instruction to the set that get checked
3430 for a preceding `sethi' in order to print an absolute address.
3431 * (print_insn): Disassembly prefers real instructions.
3432 (is_delayed_branch): Speed up.
3433 * sparc-opcode.h: Add ALIAS bit to aliases. Fix up opcode tables.
3434 Still missing some float ops, and needs testing.
3435 * sparc-pinsn.c (print_insn): Eliminate 'set' test, subsumed by
3436 F_ALIAS. Use printf, not fprintf, when not passing a file
3438 (compare_opcodes): Check that identical instructions have
3439 identical opcodes, complain otherwise.
3442 * Include reg_names.
3444 Use dis-asm.h/read_memory_func interface.
3446 Wed Mar 31 20:49:06 1993 K. Richard Pixley (rich@rtl.cygnus.com)
3448 * h8500-dis.c, i386-dis.c, m68k-dis.c, z8k-dis.c (fetch_data):
3449 deliberately return non-zero to setjmp from longjmp. Otherwise
3450 this code fails to compile.
3452 Wed Mar 31 17:04:31 1993 Stu Grossman (grossman@cygnus.com)
3454 * m68k-dis.c: Fix prototype for fetch_arg().
3456 Wed Mar 31 10:07:04 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3458 * dis-buf.c: New file, for new read_memory_func interface.
3459 Makefile.in (OFILES): Include it.
3460 m68k-dis.c, i386-dis.c, h8500-dis.c, mips-dis.c, z8k-dis.c:
3461 Use new read_memory_func interface.
3463 Mon Mar 29 14:02:17 1993 Steve Chamberlain (sac@thepub.cygnus.com)
3465 * h8500-dis.c (print_insn_h8500): Get sign of fp offsets right.
3466 * h8500-opc.h: Fix couple of opcodes.
3468 Wed Mar 24 02:03:36 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
3470 * Makefile.in: add dvi & installcheck targets
3472 Mon Mar 22 18:55:04 1993 John Gilmore (gnu@cygnus.com)
3474 * Makefile.in: Update for h8500-dis.c.
3476 Fri Mar 19 14:27:17 1993 Steve Chamberlain (sac@thepub.cygnus.com)
3478 * h8500-dis.c, h8500-opc.h: New files
3480 Thu Mar 18 14:12:37 1993 Per Bothner (bothner@rtl.cygnus.com)
3482 * mips-dis.c, z8k-dis.c: Converted to use interface defined in
3483 ../include/dis-asm.h.
3484 * m68k-dis.c: New file (merge of ../binutils/m68k-pinsn.c
3485 and ../gdb/m68k-pinsn.c).
3486 * i386-dis.c: New file (merge of ../binutils/i386-pinsn.c
3487 and ../gdb/i386-pinsn.c).
3488 * m68881-ext.c: New file. Moved definition of
3489 ext_format ext_format_68881 from ../gdb/m68k-tdep.c.
3490 * Makefile.in: Adjust for new files.
3491 * i386-dis.c: Patches from John Hassey (hassey@dg-rtp.dg.com).
3492 * m68k-dis.c: Recognize '9' placement code, so (say) pflush
3493 can be dis-assembled.
3495 Wed Feb 17 09:19:47 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
3497 * mips-dis.c (print_insn_arg): Now returns void.
3499 Mon Jan 11 16:09:16 1993 Fred Fish (fnf@cygnus.com)
3501 * mips-dis.c (ansidecl.h): Include for benefit of sysdep.h
3502 files that use the macros.
3504 Thu Jan 7 13:15:17 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
3506 * mips-dis.c: New file, from gdb/mips-pinsn.c.
3507 * Makefile.in (DIS_LIBS): Added mips-dis.o.
3508 (CFILES): Added mips-dis.c.
3510 Thu Jan 7 07:36:33 1993 Steve Chamberlain (sac@thepub.cygnus.com)
3512 * z8k-dis.c (print_insn_z8001, print_insn_z8002): new routines
3513 * z8kgen.c, z8k-opc.h: fix sizes of some shifts.
3515 Tue Dec 22 15:42:44 1992 Per Bothner (bothner@rtl.cygnus.com)
3517 * Makefile.in: Improve *clean rules.
3518 * configure.in: Allow a default host.
3520 Tue Nov 17 19:53:54 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
3522 * Makefile.in: also use -I$(srcdir)/../bfd, since some sysdep
3523 files include other sysdep files
3525 Thu Nov 12 16:10:37 1992 Steve Chamberlain (sac@thepub.cygnus.com)
3527 * z8k-dis.c z8k-opc.h z8kgen.c: checkpoint
3529 Fri Oct 9 04:56:05 1992 John Gilmore (gnu@cygnus.com)
3531 * configure.in: For host support, use ../bfd/configure.host
3532 so it stays in sync with the ../bfd/hosts database.
3534 Thu Oct 1 23:38:54 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
3536 * configure.in: use cpu-vendor-os triple instead of nested cases
3538 Wed Sep 30 16:09:20 1992 Michael Werner (mtw@cygnus.com)
3540 * z8k-dis.c (unparse_instr): fix bug where opcode returned was
3541 *always* the wrong one.
3543 Wed Sep 30 07:42:17 1992 Steve Chamberlain (sac@thepub.cygnus.com)
3545 * z8kgen.c: added copyright info
3547 Tue Sep 29 12:20:21 1992 Steve Chamberlain (sac@thepub.cygnus.com)
3549 * z8k-dis.c (unparse_instr): prettier tabs
3550 * z8kgen.c -> z8k-opc.h: bug fixes in tables
3552 Fri Sep 25 12:50:32 1992 Stu Grossman (grossman at cygnus.com)
3554 * configure.in: Add ncr* configuration.
3555 * z8k-dis.c (struct instr_data_s): Make instr_asmsrc char to make
3556 picayune ANSI compilers happy.
3558 Sep 20 08:50:55 1992 Fred Fish (fnf@cygnus.com)
3560 * configure.in (i386): Make i386 and i486 synonymous for now.
3561 * configure.in (i[34]86-*-sysv4): Add my_host definition.
3563 Fri Sep 18 17:01:23 1992 Ken Raeburn (raeburn@cambridge.cygnus.com)
3565 * Makefile.in (install): Fix typo.
3567 Fri Sep 18 02:04:24 1992 John Gilmore (gnu@cygnus.com)
3569 * Makefile.in (make): Remove obsolete crud.
3570 (sparc-opc.o): Avoid Sun Make VPATH bug.
3572 Tue Sep 8 17:29:27 1992 K. Richard Pixley (rich@sendai.cygnus.com)
3574 * Makefile.in: since there are no SUBDIRS, remove rule and
3575 references of subdir_do.
3577 Tue Sep 8 17:02:58 1992 Ken Raeburn (raeburn@cambridge.cygnus.com)
3579 * Makefile.in (install): Get the library name right here too.
3580 Don't install bfd.h, since it's unrelated to this library. No
3581 subdirs to recurse into, either.
3582 (CFILES): The source file has a .c suffix, not .o.
3584 * sparc-opc.c: New file, moved from BFD.
3585 * Makefile.in (OFILES): Build it.
3587 Thu Sep 3 16:59:20 1992 Michael Werner (mtw@cygnus.com)
3589 * z8k-dis.c: fixed forward refferences of some declarations.
3591 Mon Aug 31 16:09:45 1992 Michael Werner (mtw@cygnus.com)
3593 * Makefile.in: get the name of the library right
3595 Mon Aug 31 13:47:35 1992 Steve Chamberlain (sac@thepub.cygnus.com)
3597 * z8k-dis.c: knows how to disassemble z8k stuff
3598 * z8k-opc.h: new file full of z8000 opcodes
3602 version-control: never