1 Fri Sep 4 19:42:59 1998 Nick Clifton <nickc@cygnus.com>
3 * arm-dis.c (print_insn_big_arm): Detect Thumb symbols in elf
5 (print_insn_little_arm): Detect Thumb symbols in elf object
8 Sat Aug 29 22:24:09 1998 Richard Henderson <rth@cygnus.com>
10 * alpha-dis.c (print_insn_alpha): Use the machine type to
11 decide which PALcode set to include.
13 Sun Aug 23 02:16:18 1998 Richard Henderson <rth@cygnus.com>
15 * sparc-opc.c (FBRX): Fix typo in ",a,pn %fcc3" case.
17 Fri Aug 21 16:07:52 1998 Nick Clifton <nickc@cygnus.com>
19 * d30v-opc.c (d30v_opcode_table): Add FLAG_MUL32 to MAC, MACS,
20 MSUB and MSUBS instructions.
23 Tue Aug 18 16:48:52 1998 Ian Lance Taylor <ian@cygnus.com>
25 * mips-opc.c: Insert contents of vu0.h, rather than including it.
27 * Makefile.am: Rebuild dependencies.
31 Thu Aug 13 16:23:04 1998 Ian Lance Taylor <ian@cygnus.com>
33 * ppc-opc.c (powerpc_operands): Omit parens around additions in
36 Wed Aug 12 14:00:38 1998 Ian Lance Taylor <ian@cygnus.com>
38 start-sanitize-coldfire
39 * m68k-opc.c: Correct divsl, divul, remsl, and remul for
40 ColdFire, as below for mulsl and mulul.
43 From Peter Jeremy <peter.jeremy@auss2.alcatel.com.au>:
44 * m68k-opc.c: Correct mulsl and mulul to use q rather than D, a,
45 +, -, and d for ColdFire.
47 From Peter Thiemann <thiemann@informatik.uni-tuebingen.de>:
48 * ppc-opc.c (insert_mbe): Handle wrapping bitmasks.
49 (extract_mbe): Likewise.
51 Wed Aug 12 11:11:34 1998 Jeffrey A Law (law@cygnus.com)
53 * m10300-opc.c: Fix typo in udf20 .. udf25 instruction opcodes.
55 * m10300-opc.c: First cut at UDF instructions.
57 Mon Aug 10 14:08:22 1998 Doug Evans <devans@canuck.cygnus.com>
59 * m32r-opc.c: Regenerate (remove semantic descriptions).
61 Mon Aug 10 12:51:12 1998 Catherine Moore <clm@cygnus.com>
63 * arm-dis.c (print_insn_big_arm): Fix indentation.
64 (print_insn_little_arm): Likewise.
66 Sun Aug 9 20:17:28 1998 Catherine Moore <clm@cygnus.com>
68 * arm-dis.c (print_insn_big_arm): Check for thumb symbol
70 (print_insn_little_arm): Likewise.
72 Mon Aug 3 12:43:16 1998 Doug Evans <devans@seba.cygnus.com>
74 Move all global state data into opcode table struct, and treat
75 opcode table as something that is "opened/closed".
76 * cgen-asm.c (all fns): New first arg of opcode table descriptor.
77 (cgen_asm_init): Delete.
78 (cgen_set_parse_operand_fn): New function.
79 * cgen-dis.c (all fns): New first arg of opcode table descriptor.
80 (cgen_dis_init): Delete.
81 * cgen-opc.c (all fns): New first arg of opcode table descriptor.
82 (cgen_current_{opcode_table_mach,endian}): Delete.
84 * cgen-asm.in (all fns): New first arg of opcode table descriptor.
85 * cgen-dis.in (all fns): Ditto.
86 * cgen-opc.in (all fns): Ditto.
88 * m32r-asm.c,m32r-dis.c,m32r-opc.c,m32r-opc.h: Regenerate.
91 * cgen-asm.in (parse_insn_normal): Ignore case in mnemonics.
93 * cgen-dis.in (print_normal): Split into two.
94 (print_address): New function.
95 (extract_insn_normal): Clarify insn_value arg.
96 (print_int_insn): Renamed from print_insn.
97 (print_insn): New arg.
98 (print_insn_@arch@): Open opcode table if not already done so.
99 Move reading of insn into print_insn.
102 Thu Jul 30 21:41:10 1998 Frank Ch. Eigler <fche@cygnus.com>
104 * d30v-opc.c (d30v_opcode_table): Add new "LKR" flag to some
108 Tue Jul 28 13:15:39 1998 Doug Evans <devans@canuck.cygnus.com>
110 Add support for new versions of mulwhi,mulwlo,macwhi,macwlo that
111 accept an accumulator choice.
112 * m32r-opc.c,m32r-opc.h: Regenerate.
115 Tue Jul 28 11:00:09 1998 Jeffrey A Law (law@cygnus.com)
117 * m10300-opc.c: Add entries for "no_match_operands" field in
121 Fri Jul 24 15:22:40 1998 Jeffrey A Law (law@cygnus.com)
123 * m10300-dis.c: Do not emit a comma before a PLUS (autoincrement)
127 Fri Jul 24 11:41:37 1998 Doug Evans <devans@canuck.cygnus.com>
129 * m32r-asm.c,m32r-opc.c: Regenerate (-Wall cleanups).
132 Thu Jul 23 09:21:03 1998 Jeffrey A Law (law@cygnus.com)
134 * m10300-opc.c: Add DSP autoincrement memory loads/stores.
136 * m10300-opc.c: Add autoincrement memory loads/stores.
140 Wed Jul 22 17:05:40 1998 Jeffrey A Law (law@cygnus.com)
142 * mips-opc.c: Make phmadh and phmsbh synonyms for phmaddh and
143 phmsubh respectively.
146 Tue Jul 21 13:41:07 1998 Doug Evans <devans@seba.cygnus.com>
148 start-sanitize-cygnus
149 * cgen-opc.in (@arch@_cgen_lookup_insn): Update call to
151 (@arch@_cgen_get_insn_operands): @arch@_cgen_get_operand renamed to
152 @arch_cgen_get_int_operand.
153 * cgen-asm.in (insert_insn_normal): New arg `pc', callers updated.
154 Update call to @arch@_cgen_insert_operand.
155 (@arch@_cgen_assemble_insn): Update call to CGEN_INSERT_FN.
156 * cgen-dis.in (print_normal): Delete use of CGEN_PCREL_OFFSET.
157 (extract_insn_normal): New arg `pc', callers updated.
158 Update call to @arch@_cgen_extract_operand.
159 (print_insn): Update call to CGEN_EXTRACT_FN.
161 * m32r-opc.h,m32r-opc.c,m32r-asm.c,m32r-dis.c: Regenerate.
164 Mon Jul 20 12:10:37 1998 Jeffrey A Law (law@cygnus.com)
166 * m10300-opc.c: Fix load to sp and store from sp for the am33.
167 Add more multimedia instructions.
169 Thu Jul 16 18:04:46 1998 Jeffrey A Law (law@cygnus.com)
171 * m10300-opc.c (mn10300_opcodes): Fix opcode for 4 operand "mul" and
176 Mon Jul 13 18:14:24 1998 Jeffrey A Law (law@cygnus.com)
178 * mips-opc.c (pref): Enabled for the r5900.
181 Mon Jul 13 14:53:59 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
183 * i386-dis.c (ckprefix): Handle fwait specially only when it isn't
185 (dofloat): Correct test for fnstsw. Print `fnstsw %ax' rather
187 (OP_J): Remove unnecessary subtraction when 16-bit displacement
188 will be masked later.
191 Fri Jul 10 23:09:56 1998 Jeffrey A Law (law@cygnus.com)
193 * m10300-opc.c (mn10300_opcodes): Fix destination operand for 3 operand
196 Wed Jul 8 11:32:44 1998 Jeffrey A Law (law@cygnus.com)
198 * m10300-dis.c (disassemble): When printing RREGs and XRREGs, map
199 from raw register #s to symbolic names to make debugging easier.
202 Thu Jul 2 17:11:27 1998 Doug Evans <devans@seba.cygnus.com>
204 * m32r-opc.h (CGEN_MIN_INSN_SIZE): New #define.
206 Wed Jul 1 16:11:16 1998 Doug Evans <devans@seba.cygnus.com>
208 * m32r-asm.c,m32r-dis.c,m32r-opc.c,m32r-opc.h: Regenerate.
209 start-sanitize-cygnus
210 * Makefile.am (CGENDIR): Set via configure.
211 (CGEN): New variable.
212 (CGENFILES): object.scm renamed to cos.scm.
213 (run-cgen): Renamed from cgen. stamp file renamed to stamp-$prefix.
214 (stamp-m32r): Pass prefix to run-cgen.
215 * Makefile.in: Regenerate.
216 * cgen-asm.in: @arch@-opc.h renamed to @prefix@-opc.h.
217 * cgen-dis.in: Ditto.
218 * cgen-opc.in: Ditto.
219 * cgen.sh: New args cgen,prefix. Delete args scheme,schemeflags.
220 * configure.in: AC_SUBST cgen,cgendir. No longer look for guile.
221 * configure: Regenerate.
225 Tue Jun 30 09:59:37 1998 Jeffrey A Law (law@cygnus.com)
227 * m10300-opc.c: Reorder "movbu" and "movhu" instructions too.
229 Mon Jun 29 14:54:32 1998 Jeffrey A Law (law@cygnus.com)
231 * m10300-opc.c: Reorder more instructions so that we do not
232 accidentally match a mn10300 instruction when we really
233 wanted an am33 instruction.
236 Fri Jun 26 11:08:55 1998 Jeffrey A Law (law@cygnus.com)
238 * m10300-dis.c: Only recognize instructions from the currently
240 * m10300-opc.c: Add field indicating the particular variant of
241 the mn10300 each instruction is available on.
243 Fri Jun 26 12:04:21 1998 Ian Lance Taylor <ian@cygnus.com>
245 * configure.in: For bfd_vax_arch, build vax-dis.lo.
246 * Makefile.am: Rebuild dependencies.
247 (CFILES): Add vax-dis.c.
248 (ALL_MACHINES): Add vax-dis.lo.
249 * aclocal.m4: Rebuild with current libtool.
250 * configure, Makefile.in: Rebuild.
252 Fri Jun 26 12:03:20 1998 Klaus Kaempf <kkaempf@progis.de>
254 * vax-dis.c: New file, from work by Pauline Middelink
255 <middelin@polyware.iaf.nl>.
256 * disassemble.c (ARCH_vax): Define if ARCH_all.
257 (disassembler): Add case for ARCH_vax.
258 * makefile.vms: Support compilation on vms/vax.
261 Wed Jun 24 17:14:01 1998 Ian Carmichael <iancarm@cygnus.com>
263 * dvp-opc.c (DVP_OPERAND_RELOC_11_S4): Temporarily back out
264 the DVP_OPERAND_RELOC_11_S4 relocation.
268 Wed Jun 24 09:53:06 1998 Jeffrey A Law (law@cygnus.com)
270 * m10300-dis.c (print_insn_mn10300): 0xf7 opcode prefix specifies
272 (disassemble): Correctly handle FMT_D10 instructions.
274 * m10300-opc.c (mn10300_opcodes): Fix typo in IMM24 versions of the
275 am33 shift instructions.
277 * m10300-dis.c (print_insn_mn10300): 0xf9 opcode prefix specifies
279 (disassemble): Handle new instruction formats FMT_D6, FMT_D7, FMT_D8
280 FMT_D9 and FMT_D10. Handle various new opcode flags for the am33.
282 * m10300-opc.c (IMM32_HIGH8_MEM): New operand type.
283 (mn10300_opcodes): Reorder so as to try and select opcodes from
284 the core chip when multiple alternatives exist. Change several
285 am33 instructions to use IMM32_HIGH8_MEM. Fix typos in "mac" and
286 "macbu" instructions. Fix typos in a couple DSP instructions too.
289 Tue Jun 23 19:42:18 1998 Mark Alexander <marka@cygnus.com>
291 * m10200-dis.c (print_insn_mn10200): Fix various non-portabilities
292 related to sign extension and the size of ints.
294 Tue Jun 23 10:59:26 1998 Jeffrey A Law (law@cygnus.com)
296 * m10300-opc.c: Support one operand "asr", "lsr" and "asl"
297 instructions. Support (sp) addressing mode by expanding it into
301 Mon Jun 22 15:48:29 1998 Ian Carmichael <iancarm@cygnus.com>
303 * dvp-opc.c (LIMM11, LUIMM15): New symbol types
304 DVP_OPERAND_RELOC_U15_S3 and DVP_OPERAND_RELOC_11_S4 to allow labels to
305 be used as immediate values.
309 Mon Jun 22 13:36:27 1998 Jeffrey A Law (law@cygnus.com)
311 * m10300-opc.c: Support 4 byte DSP instructions.
314 Sat Jun 20 14:46:20 1998 Frank Ch. Eigler <fche@cygnus.com>
316 * mips-dis.c (_print_insn_mips): Fix argument interchange typo.
319 Fri Jun 19 16:47:06 1998 Jeffrey A Law (law@cygnus.com)
321 * m10300-opc.c: Support 6 and 7 byte am33 instructions.
324 Fri Jun 19 09:16:42 1998 Mark Alexander <marka@cygnus.com>
326 * m10200-dis.c (print_insn_mn10200): Recognize 'break' pseudo-op.
329 Fri Jun 19 09:42:51 1998 Jeffrey A Law (law@cygnus.com)
331 * m10300-opc.c: Support for 3 byte and 4 byte extended instructions
332 found on the mn10300.
335 1998-06-18 Ulrich Drepper <drepper@cygnus.com>
337 * i386-dis.c: Add support for fxsave, fxrstor, sysenter and
340 Thu Jun 18 10:22:24 1998 John Metzler <jmetzler@cygnus.com>
342 * mips-dis.c (print_insn_little_mips): Previously, instruction
343 printing references the symbol table to determine whether the
344 instruction resides in a block regular instructions or mips16
345 instructions. However, when the disassembler gets used in other
346 environments where the symbol table is not present, we no longer
347 rely in the symbol table, rather, use the low bit of the
348 instructions address to guess. There should be no change for usage
349 of the disassembler in host based programse, gdb ,objdump.
350 (print_insn_big_mips): ditto.
351 (print_insn_mips): ditto
353 Wed Jun 17 21:19:01 1998 Mark Alexander <marka@cygnus.com>
355 * m10200-dis.c (print_insn_mn10200): Don't bomb on unknown opcodes.
357 Wed Jun 17 17:49:23 1998 Jeffrey A Law (law@cygnus.com)
360 * m10300-opc.c (USP, SSP, MSP, PC, IMM4, EPSW, RN0, RM1): New
361 operands for the am33.
362 (mn10300_opcodes): Add new instructions from the am33.
364 * m10300-opc.c (mn10300_opcodes): Change opcode for "syscall".
366 Tue Jun 16 13:10:51 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
368 * i386-dis.c (index16): Add '%' to register names. Use ','
371 Sat Jun 13 11:33:55 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
373 * i386-dis.c: Don't print opcode suffix when we can figure out the
374 size (and gas can!) by register operands, or from the default
376 (putop): Handle 'A', 'B', 'L', 'P', 'Q', 'R' macros. Rename 'C'
378 (dis386, dis386_twobyte, grps): Use new suffix macros.
379 (dis386): Correct imul Ib to imul sIb. Change jnl to jge to be
380 consistent. Add suffix for call, jmp, lcall, ljmp, iret. Reverse
381 order of cmps operands to agree with Intel docs. Correct operand
382 of aad and aam (Ib -> sIb). Change ud2b from 0fb8 to 0fb9 to
383 agree with Intel docs.
384 (print_insn_x86): Print orphan fwait before other prefixes.
385 Return correct byte count for orphan fwait with prefixes. Don't
386 print `bound' operands in reverse order.
387 (ckprefix): Stop accumulating prefixes if we get fwait.
388 (OP_DIR): Print `$' before Ap operands of ljmp, lcall.
390 Fri Jun 12 13:40:38 1998 Tom Tromey <tromey@cygnus.com>
392 * po/Make-in (all-yes): If maintainer mode, depend on .pot file.
393 ($(PACKAGE).pot): Unconditionally depend on POTFILES.
395 Fri Jun 12 11:04:06 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
397 Fix problems when bfd_vma is wider than long.
398 * i386-dis.c: Make op_address and start_pc unsigned.
399 (set_op): Make parameter unsigned.
400 (print_insn_x86): Cast to bfd_vma when passing a value to
402 * ns32k-dis.c (CORE_ADDR): Don't define.
403 (print_insn_ns32k): Change type of addr to bfd_vma. Use
404 bfd_scan_vma to read back address.
405 (print_insn_arg): Change type of addr to bfd_vma. Use sprintf_vma
407 * m68k-dis.c (COERCE32): Cast to bfd_signed_vma to avoid overflow.
408 (NEXTULONG): New definition.
409 (print_insn_m68k): Avoid overflow when computing third argument of
411 (print_insn_arg): Use NEXTULONG to fetch 32 bit address values.
412 Use disp instead of val to store offset values.
413 (print_indexed): Use base_disp instead of word to store base
414 displacement, to avoid overflow.
415 * m10300-dis.c (disassemble): Cast value to long when computing
416 pc-relative address, to get correct sign extension.
418 Wed Jun 10 15:58:37 1998 Doug Evans <devans@canuck.cygnus.com>
420 * m32r-opc.c: Regenerate.
422 Tue Jun 9 14:27:57 1998 Nick Clifton <nickc@cygnus.com>
424 * arm-opc.h (thumb_opcodes): Display 'add rx, rY, #0' insns as
425 'mov rX, rY'. Patch courtesy of Tony Thompson <Tony.Thompson@arm.com>
427 Mon Jun 8 18:17:21 1998 Nick Clifton <nickc@cygnus.com>
429 * d30v-opc.c: Remove FALG_MUL32 attribyte from MULX2H insn.
431 Fri Jun 5 23:47:55 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
433 * i386-dis.c: Combine aflag and dflag into sizeflag. Change OP_*
435 (OP_DSreg): Rename from OP_DSSI.
436 (OP_ESreg): Rename from OP_ESDI.
437 (Xb, Xv, Yb, Yv): Use index reg code, not b_mode or v_mode.
439 (append_seg): Rename from append_prefix.
440 (ptr_reg): New function.
441 (dis386): Add S suffix to pushf, popf, ret, lret, enter, leave.
443 (PREFIX_ADDR): Rename from PREFIX_ADR.
444 (float_reg): Add non-broken opcodes for people who don't want
447 Fri Jun 5 19:15:04 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
449 * m68k-opc.c (tstb, tstw, tstl): Don't allow pcrel on
452 Wed Jun 3 18:56:22 1998 H.J. Lu <hjl@gnu.org>
454 * i386-dis.c (dis386): Change 0x60 to "pushaS", 0x61 to "popaS".
456 Tue Jun 2 15:06:46 1998 Geoff Keating <geoffk@ozemail.com.au>
458 * ppc-opc.c (powerpc_macros): Support shifts and rotates of size
459 0; produce error message for shifts of size 32 (or 64 for 64-bit
460 shifts), because the hardware doesn't support them.
463 Mon Jun 1 10:27:26 1998 Jeffrey A Law (law@cygnus.com)
465 * mips-opc.c (c.lt.s): Remove r5900 specific variant.
468 * vu0.h (sqc2): Fix opcode.
470 * mips-opc.c (rsqrt.s): Update based on r5900 ISA manual version 2.1
474 start-sanitize-cygnus
475 Thu May 28 08:46:09 1998 Catherine Moore <clm@cygnus.com>
477 * mips-opc.c (macc, maccu, macchi, macchiu, msac, msacu, msachi, msachiu):
478 Change pinfo to use WR_HILO.
481 Wed May 27 15:29:13 1998 Nick Clifton <nickc@cygnus.com>
483 * d30v-opc.c: Add new operand: Ra3. Change SHORT_B3, SHORT_B3b,
484 LONG_2, LONG_2b formats to use this new operand.
486 Tue May 26 20:47:48 1998 Stan Cox <scox@cygnus.com>
488 * sparc-dis.c (compute_arch_mask): Added bfd_mach_sparc_sparclite_le.
490 Tue May 26 20:45:33 1998 Mark Alexander <marka@cygnus.com>
492 * sparc-dis.c (print_insn_sparc): big endian instruction / little
495 Tue May 26 16:14:39 1998 Nick Clifton <nickc@cygnus.com>
497 * d30v-opc.c (d30v_format_table): Change definition of SHORT_B3
498 and SHORT_B3b formats to use Rb instead of Ra.
500 Add FLAG_MUL16 to MUL2XH opcode.
502 Add FLAG_ADDSUBppp to SRC and SATHp opcodes to implement extension
503 to existing 1.1.1 parallelisation prohibition procedure.
505 Fri May 22 16:00:00 1998 Doug Evans <devans@canuck.cygnus.com>
507 * cgen-asm.in (insert_normal): Handle empty fields and 64 bit hosts.
508 * cgen-dis.in (extract_normal): Likewise.
509 * m32r-asm.c,m32r-dis.c: Regenerate.
512 Fri May 22 11:44:10 1998 Doug Evans <devans@canuck.cygnus.com>
514 * dvp-opc.c (parse_dotdest): Missing dest -> xyzw.
518 Wed May 20 00:22:27 1998 Jeffrey A Law (law@cygnus.com)
520 * mips-opc.c (multu1): Add two operand variant for the r5900.
523 Tue May 19 17:36:08 1998 Ian Lance Taylor <ian@cygnus.com>
525 * mips-dis.c (print_mips16_insn_arg): Handle type ']' correctly
526 with a shift count of 0.
529 Mon May 18 14:27:06 1998 Frank Ch. Eigler <fche@cygnus.com>
531 * mips-opc.c (mult1): Add two-operand variety of mult1 for R5900.
533 Mon May 18 11:44:00 1998 Jeffrey A Law (law@cygnus.com)
535 * mips-dis.c (print_insn_arg): Handle ';' opcode completer.
536 (_print_insn_mips): Likewise.
537 * vu0.h (vopmula, vopmsub): Correctly handle opcode/operand
541 Fri May 15 14:58:31 1998 Doug Evans <devans@seba.cygnus.com>
543 * cgen-opc.c (cgen_hw_lookup_by_name): Renamed from cgen_hw_lookup.
544 (cgen_hw_lookup_by_num): New function.
547 * m32r-opc.c, m32r-opc.h: Regenerate, delete h-abort.
550 Wed May 13 17:03:59 1998 Doug Evans <devans@canuck.cygnus.com>
552 * m32r-asm.c: Regenerate (handle uppercase HIGH/SHIGH/LOW/SDA).
554 Wed May 13 14:34:31 1998 Mark Alexander <marka@cygnus.com>
556 * sparc-dis.c (print_insn_sparc): Always fetch instructions
557 as big-endian on SPARClite.
560 Tue May 12 13:39:51 1998 Nick Clifton <nickc@cygnus.com>
562 * m32r-opc.c: Regenerated - SPECIAL attribute added to some
564 * m32r-opc.h: Regenerated - SPECIAL attribute added to some
568 Tue May 12 11:46:31 1998 Richard Henderson <rth@cygnus.com>
570 * d30v-opc.c (pre_defined_register): Remove alias for r0.
573 Mon May 11 13:12:15 1998 Frank Ch. Eigler <fche@cygnus.com>
575 * mips-opc.c (break): Added 20-bit single-operand break
576 instruction for R5900 only.
579 Sun May 10 22:37:22 1998 Jeffrey A Law (law@cygnus.com)
581 * po/Make-in (install-info): New target.
583 Thu May 7 17:15:59 1998 Ian Lance Taylor <ian@cygnus.com>
585 * configure.in (WIN32LIBADD): Add -lintl on cygwin32.
586 * configure: Rebuild.
588 Thu May 7 12:49:46 1998 Frank Ch. Eigler <fche@cygnus.com>
590 * mips-opc.c (teq,tge,tgeu,tlt,tltu,tne): Added three-operand
591 variety of ISA2 instructions to set bottom ten bits of trap code.
593 Thu May 7 11:54:25 1998 Ian Lance Taylor <ian@cygnus.com>
595 * Makefile.am (config.status): Add explicit target so that
596 config.status depends upon bfd/configure.in.
597 * Makefile.in: Rebuild.
599 Thu May 7 09:33:02 1998 Frank Ch. Eigler <fche@cygnus.com>
601 * mips-opc.c (break, sdbbp): Added two-operand variety of ISA1
602 instructions to set bottom ten bits of break code.
603 * mips-dis.c (print_insn_arg): Implement 'q' operand format used
604 for above optional argument.
606 start-sanitize-cygnus
607 Wed May 6 14:47:17 1998 Doug Evans <devans@seba.cygnus.com>
609 * cgen.sh: s/@ARCH@/${ARCH}/ in opc.h generation.
610 * m32r-opc.h: Regenerate.
613 Wed May 6 15:30:06 1998 Klaus Kaempf <kkaempf@progis.de>
615 * makefile.vms: Run dec c with /nodebug.
617 Mon May 4 10:19:57 1998 Tom Tromey <tromey@cygnus.com>
619 * Makefile.in: Rebuilt.
620 * Makefile.am: Regenerated dependencies with mkdep.
622 * opintl.h (_): Define as dgettext.
624 start-sanitize-cygnus
625 Fri May 1 13:47:42 1998 Doug Evans <devans@canuck.cygnus.com>
627 * configure.in: Add support for --enable-cgen-maint.
628 * Makefile.am (M32R_DEPS): New variable.
629 (m32r-opc.h,m32r-opc.c,m32r-asm.c,m32r-dis.c): Update dependencies.
630 * aclocal.m4: Regenerate.
631 * Makefile.in: Regenerate.
632 * configure: Regenerate.
634 * Makefile.am (CGENFILES): Add minsn.scm.
637 Tue Apr 28 14:12:12 1998 Nick Clifton <nickc@cygnus.com>
639 * cgen-asm.c: Internationalised.
640 start-sanitize-cygnus
641 * cgen-asm.in: Internationalised.
642 * cgen-opc.in: Internationalised.
644 * m32r-asm.c: Internationalised.
645 * m32r-dis.c: Internationalised.
646 * m32r-opc.c: Internationalised.
648 * aclocal.m4: Regenerated.
649 * configure: Regenerated.
650 * Makefile.am (POTFILES): Remove inclusion of BFD_H.
651 * Makefile.in: Rebuild.
652 * po/POTFILES.in: Rebuilt using rule in Makefile.in.
653 * po/opcodes.pot: Rebuilt after changing POTFILES.in.
655 Tue Apr 28 13:13:13 1998 Ian Lance Taylor <ian@cygnus.com>
657 * configure.in: Call AC_ISC_POSIX near start. Move CY_GNU_GETTEXT
659 * aclocal.m4, configure: Rebuild with current tools.
661 Mon Apr 27 14:31:00 1998 Nick Clifton <nickc@cygnus.com>
663 * opintl.h: New file - contains internationalisation macros used
664 by source files in this directory.
665 * po/: New subdirectory - contains internationalisation files.
666 * po/Make-in: New file - Makefile constructor.
667 * po/POTFILES.in: New file - list of files in opcodes directory
668 that should be scan for internationalisation macros.
669 * po/opcodes.pot: New file - list of internationisation strings
670 found in files mentioned in po/POTFILES.in.
671 * Makefile.am: Add rule to build po/POTFILES.in. Add SUBDIRS
672 entry. Add intl directory to include paths.
673 * acconfig.h: Add ENABLE_NLS, HAVE_CATGETS, HAVE_GETEXT,
674 HAVE_STRCPY, HAVE_LC_MESSAGES
675 * configure.in: Add rule to build Makefile in po subdirectory.
676 * Makefile.in: Rebuilt.
677 * aclocal.m4: Rebuilt.
678 * config.in: Rebuilt.
679 * configure: Rebuilt.
680 * alpha-opc.c: Internationalised.
681 * arc-dis.c: Internationalised.
682 * arc-opc.c: Internationalised.
683 * arm-dis.c: Internationalised.
684 * cgen-asm.c: Internationalised.
685 * d30v-dis.c: Internationalised.
686 * dis-buf.c: Internationalised.
688 * dvp-dis.c: Internationalised.
689 * dvp-opc.c: Internationalised.
691 * h8300-dis.c: Internationalised.
692 * h8500-dis.c: Internationalised.
693 * i386-dis.c: Internationalised.
694 * m10200-dis.c: Internationalised.
695 * m10300-dis.c: Internationalised.
696 * m68k-dis.c: Internationalised.
697 * m88k-dis.c: Internationalised.
698 * mips-dis.c: Internationalised.
699 * ns32k-dis.c: Internationalised.
700 * opintl.h: Internationalised.
701 * ppc-opc.c: Internationalised.
702 * sparc-dis.c: Internationalised.
703 * v850-dis.c: Internationalised.
704 * v850-opc.c: Internationalised.
706 Mon Apr 27 10:33:56 1998 Doug Evans <devans@seba.cygnus.com>
708 * cgen-asm.c (cgen_current_opcode_table): Renamed from ..._data.
709 (asm_hash_table_entries): New variable.
710 (cgen_asm_init): Free asm_hash_table_entries.
711 (hash_insn_array,hash_insn_list): New functions.
712 (build_asm_hash_table): Use them. Hash macro insns as well.
713 (cgen_asm_lookup_insn): Update.
714 * cgen_dis.c (cgen_current_opcode_table): Renamed from ..._data.
715 (dis_hash_table_entries): New variable.
716 (cgen_dis_init): Free dis_hash_table_entries.
717 (hash_insn_array,hash_insn_list): New functions.
718 (build_dis_hash_table): Use them. Hash macro insns as well.
719 (cgen_dis_lookup_insn): Update.
720 * cgen-opc.c (cgen_current_opcode_table): Renamed from ..._data.
721 (cgen_set_cpu,cgen_hw_lookup,cgen_insn_count): Update.
722 (cgen_macro_insn_count): New function.
723 * cgen-opc.in (@arch@_cgen_lookup_insn): New arg alias_p.
724 All callers updated. Sanity check result of extract fn.
725 (@arch@_cgen_get_insn_operands): Change result type to void.
726 Delete args insn_value, length. New arg fields. All callers updated.
727 (@arch@_cgen_lookup_get_insn_operands): New function.
728 * m32r-opc.h,m32r-opc.c,m32r-asm.c,m32r-dis.c: Regenerate.
730 Fri Apr 24 16:07:57 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
732 * i386-dis.c (OP_DSSI): Print segment override.
735 Thu Apr 23 12:32:07 1998 Frank Ch. Eigler <fche@cygnus.com>
737 * mips-opc.c (msub.s): Correct mask pattern for disassembly.
741 Mon Apr 20 19:11:55 1998 Frank Ch. Eigler <fche@cygnus.com>
743 * mips-opc.c (madd.s): Correct mask pattern for disassembly.
747 Sat Apr 18 00:29:18 1998 Jeffrey A Law (law@cygnus.com)
749 * vu0.h (vlqd, vlqi): Update per revised specs.
753 Thu Apr 16 11:44:59 1998 Doug Evans <devans@canuck.cygnus.com>
755 * dvp-opc.c (parse_vif_unpackloc,insert_vif_unpackloc): Delete.
756 (vif_operands): Update.
757 (vif_get_unpackloc): Delete.
758 (state_vif_unpackloc{,_star_p}): Delete.
759 (dvp_opcode_init_parse): Update.
760 (vif_unpack_len_value): Avoid divide by zero.
764 Wed Apr 15 10:30:07 1998 Frank Ch. Eigler <fche@cygnus.com>
766 * vu0.h: Specs changed for VCALLMSR bit pattern.
767 * mips-dis.c: (print_insn_arg) Matching change.
770 Mon Apr 13 16:59:39 1998 Nick Clifton <nickc@cygnus.com>
772 * arm-dis.c (print_insn_arm): Add "_all" extension to 'C'
775 Mon Apr 13 16:50:27 1998 Ian Lance Taylor <ian@cygnus.com>
777 * Makefile.am (libopcodes_la_LIBADD): Add @WIN32LIBADD@.
778 (libopcodes_la_LDFLAGS): Add @WIN32LDFLAGS@.
779 * configure.in: Define and substitute WIN32LDFLAGS and
781 * aclocal.m4: Rebuild with new libtool.
782 * configure, Makefile.in: Rebuild.
785 Mon Apr 13 16:02:02 1998 Frank Ch. Eigler <fche@cygnus.com>
787 * vu0.h: Corrected bit pattern for VMAXI opcode.
790 Fri Apr 10 18:14:31 1998 Doug Evans <devans@canuck.cygnus.com>
792 * m32r-opc.c: Regenerate.
795 Mon Apr 6 17:16:48 1998 Doug Evans <devans@canuck.cygnus.com>
797 * dvp-opc.c (vif_macros): Tweak unpackloc operand.
798 (dvp_expand_macro): Implement.
799 (insert_vif_datalen): Record value with max+1 -> 0 conversion.
800 (vif_unpack_len): Perform 0 -> max+1 conversion on `wl' value.
803 Sun Apr 5 16:04:39 1998 H.J. Lu <hjl@gnu.org>
805 * Makefile.am (stamp-lib): Check that .libs/libopcodes.a exists
806 before trying to copy it.
807 * Makefile.in: Rebuild.
809 Thu Apr 2 17:25:49 1998 Nick Clifton <nickc@cygnus.com>
811 * m32r-opc.c: Use signed immediate values for CMPUI instruction.
814 Thu Apr 2 16:44:23 1998 Nick Clifton <nickc@cygnus.com>
816 * m32r-opc.c: Fix bit patterns for SAT and SATB.
819 Wed Apr 1 16:20:27 1998 Ian Dall <Ian.Dall@dsto.defence.gov.au>
821 * ns32k-dis.c (bit_extract_simple): New function to extract bits
822 from an arbitrary valid buffer instead of fetching them on demand
824 (invalid_float): use bit_extract_simple() instead of bit_extract().
827 Wed Apr 1 14:57:54 1998 Nick Clifton <nickc@cygnus.com>
829 * m32r-opc.c: Fix SATB bit pattern. Add extra control registers.
830 * m32r-opc.h: Add extra control registers.
833 Tue Mar 31 11:09:08 1998 Ian Lance Taylor <ian@cygnus.com>
835 From H.J. Lu <hjl@gnu.org>:
836 * i386-dis.c (dis386): Change 0x8c and 0x8e to movS, and change Ew
839 Mon Mar 30 17:32:03 1998 Ian Lance Taylor <ian@cygnus.com>
841 * Branched binutils 2.9.
843 Mon Mar 30 15:18:00 1998 Ken Raeburn <raeburn@cygnus.com>
845 * d30v-dis.c (print_insn_d30v): Don't use uninitialized "num" when
846 disassembling last 4 bytes of a section.
848 Fri Mar 27 18:08:13 1998 Ian Lance Taylor <ian@cygnus.com>
850 Fix some gcc -Wall warnings:
851 * arc-dis.c (print_insn): Add casts to avoid warnings.
852 * cgen-opc.c (cgen_keyword_lookup_name): Likewise.
853 * d10v-dis.c (dis_long, dis_2_short): Likewise.
855 * dvp-opc.c (issymchar, SKIP_BLANKS): Likewise.
856 (parse_dotdest, parse_dotdest1, u_parse_sdest): Likewise.
857 (parse_bc, parse_vfreg, parse_accdest): Likewise.
858 (parse_ffstreg, parse_vif_mode): Likewise.
860 * m10200-dis.c (disassemble): Likewise.
861 * m10300-dis.c (disassemble): Likewise.
862 * ns32k-dis.c (print_insn_ns32k): Likewise.
863 * ppc-opc.c (insert_ral, insert_ram): Likewise.
864 * cgen-dis.c (build_dis_hash_table): Remove used local variables.
865 * cgen-opc.c (cgen_keyword_search_next): Likewise.
866 * d10v-dis.c (dis_long, dis_2_short): Likewise.
867 * d30v-dis.c (print_insn_d30v, lookup_opcode): Likewise.
869 * dvp-dis.c (print_dma, print_vif, print_gif): Likewise.
870 * dvp-opc.c (parse_dest1, print_uflags): Likewise.
871 (parse_gif_nloop, dvp_opcode_init_tables): Likewise.
873 * ns32k-dis.c (bit_extract, print_insn_ns32k): Likewise.
875 * tic80-dis.c (print_one_instruction): Likewise.
877 * w65-dis.c (print_operand): Likewise.
878 * z8k-dis.c (fetch_data): Likewise.
879 * a29k-dis.c: Add return type for find_byte_func_type.
880 * arc-opc.c: Include <stdio.h>. Remove declarations of
881 insert_multshift and extract_multshift.
882 * d30v-dis.c (lookup_opcode): Parenthesize assignments in
884 (extract_value): Fully parenthesize expression.
886 * dvp-opc.c: Include <ctype.h>.
887 (print_sdest): Add default case to switch.
889 * h8500-dis.c (print_insn_h8500): Initialize local variables.
890 * h8500-opc.h (h8500_table): Fully bracket initializer.
891 * w65-opc.h (optable): Likewise.
892 * i386-dis.c (print_insn_x86): Declare aflag and flag parameters.
893 * i386-dis.c (OP_E): Initialize local variables.
894 * m10200-dis.c (print_insn_mn10200): Likewise.
895 * mips-dis.c (print_insn_mips16): Likewise.
896 * sh-dis.c (print_insn_shx): Likewise.
897 * v850-dis.c (print_insn_v850): Likewise.
898 * ns32k-dis.c (print_insn_arg): Declare.
899 (get_displacement, invalid_float): Declare.
900 (list_search, sign_extend, flip_bytes): Declare return type.
901 (get_displacement): Likewise.
902 (print_insn_arg): Likewise. Make d int. Fix sprintf format
904 (print_insn_ns32k): Make i unsigned.
905 (invalid_float): Make static. Declare type of val.
906 * tic30-dis.c (print_par_insn): Make i size_t. Don't check strlen
907 on each for iteration.
908 * tic30-dis.c (get_indirect_operand): Likewise.
909 * z8k-dis.c (print_insn_z8001): Declare return type.
910 (print_insn_z8002): Likewise.
911 (unparse_instr): Fix sprintf format strings.
913 Fri Mar 27 00:05:23 1998 Jeffrey A Law (law@cygnus.com)
915 * mips-opc.c: Add "sync.l" and "sync.p".
918 Thu Mar 26 13:27:37 1998 Doug Evans <devans@canuck.cygnus.com>
920 * dvp-opc.c (extract_vif_datalen): Rewrite.
921 (vif_insn_len): Perform 0->max+1 conversion for direct length.
923 Wed Mar 25 13:32:36 1998 Doug Evans <devans@canuck.cygnus.com>
925 * dvp-dis.c (print_insn): Print unpack address in hex.
926 * dvp-opc.c (parse_vif_mpgloc): Renamed from parse_vif_mpgloc_star.
927 Don't skip over '*', just record it.
928 (insert_vif_mpgloc): Don't update state_vif_mpgloc if '*' value.
929 (parse_vif_unpackloc): Renamed from parse_vif_unpackloc_star.
930 Don't skip over '*', just record it.
931 (insert_vif_unpackloc): Don't update state_vif_unpackloc if '*' value.
932 (vif_operands): Delete VIF_MPGLOC_STAR,VIF_UNPACKLOC_STAR entries.
933 (vif_opcodes): Likewise.
934 (state_vif_{mpg,unpack}loc_star_p): New static locals.
935 (vif_macros,vif_macro_count): New globals.
936 (vif_unpack_len_value): New arguments wl,cl. All callers updated.
937 (vif_set_{mpg,unpack}loc): Delete. All callers updated.
938 (vif_get_wl_cl): New function.
939 (dvp_opcode_init_parse): Init mpgloc,unpackloc state.
942 Wed Mar 25 14:32:48 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
944 * m68k-dis.c (print_insn_m68k): Use info->mach to select the
945 default m68k variant to recognize.
947 * i960-dis.c (pinsn): Change type of first argument to bfd_vma.
948 (ctrl, cobr, mem, ea): Likewise.
949 (print_addr): Likewise. Remove cast.
950 (ea): Cast argument of print_addr to bfd_vma.
952 * cgen-asm.c (cgen_parse_signed_integer): Fix type of local
954 (cgen_parse_unsigned_integer): Likewise.
955 (cgen_parse_address): Likewise.
957 Wed Mar 25 14:31:31 1998 Ian Lance Taylor <ian@cygnus.com>
959 * i960-dis.c (ctrl): Add full braces to structure initialization.
960 (cobr, mem, reg): Likewise.
961 (ea): Correct parenthesization in expression.
963 * cgen-asm.c: Include <ctype.h>.
964 (build_asm_hash_table): Remove unused local variable i.
965 (cgen_parse_keyword): Add casts to avoid warnings.
967 * arm-dis.c (print_insn_big_arm): Only call coffsymbol for a COFF
968 symbol. Fix indentation.
969 (print_insn_little_arm): Likewise.
972 Tue Mar 24 18:11:13 1998 Jeffrey A Law (law@cygnus.com)
974 * vu0.h (cfc2, ctc2): Add variants with ".i" and ".ni"
979 Mon Mar 23 11:32:11 1998 Nick Clifton <nickc@cygnus.com>
981 * m32r-opc.c (m32r_cgen_insn_table_entries): Fix SATH bit pattern
986 Mon Mar 23 09:45:04 1998 Doug Evans <devans@canuck.cygnus.com>
988 * dvp-opc.c (vif_operand_datalen_special): New global.
992 Sun Mar 22 13:00:14 1998 Jeffrey A Law (law@cygnus.com)
994 * vu0.h (vcallms): Use 'O' for call target operand.
995 * mips-dis.c (print_insn_arg): Handle 'O'.
998 Fri Mar 20 18:55:18 1998 Ian Lance Taylor <ian@cygnus.com>
1000 * configure.in: Use AM_DISABLE_SHARED.
1001 * aclocal.m4, configure: Rebuild with libtool 1.2.
1003 start-sanitize-r5900
1004 Fri Mar 20 09:01:31 1998 Jeffrey A Law (law@cygnus.com)
1006 * mips-dis.c: Change '%' to '#' in r5900 support.
1010 Thu Mar 19 15:46:53 1998 Nick Clifton <nickc@cygnus.com>
1012 These patches are courtesy of Jonathan Walton and Tony Thompson
1013 (athompso@cambridge.arm.com).
1015 * arm-dis.c (print_insn_thumb): Ignore bottom two bits of PC
1018 * arm-opc.h (thumb_opcodes): Annotate PC relative addresses with
1019 both the offset and the label closest to the destination.
1021 start-sanitize-r5900
1022 Thu Mar 19 13:53:25 1998 Jeffrey A Law (law@cygnus.com)
1024 * vu0.h: New file with cop2/vu0 instructions.
1025 * mips-opc.c: Include vu0.h.
1026 * mips-dis.c (print_insn_arg): Handle new args 0-9, +, -, %, K, &,
1028 (print_insn_mips): Do not emit a tab after an instruction if the
1029 first arg is an instruction completer (&). If the next arg is an
1030 escape character (%), then print the next arg verbatim.
1031 * Makefile.am (mips-opc.lo): Depend on vu0.h
1035 Thu Mar 19 10:42:51 1998 Doug Evans <devans@canuck.cygnus.com>
1037 * dvp-opc.c (vif_opcodes): Add stcycl.
1039 Tue Mar 17 10:53:58 1998 Doug Evans <devans@canuck.cygnus.com>
1041 * dvp-dis.c (print_dma): Change length from 16 to 8.
1044 Sat Mar 14 23:47:14 1998 Doug Evans <devans@seba.cygnus.com>
1046 * m32r-opc.h: Regenerate.
1049 Thu Mar 12 09:18:54 1998 Doug Evans <devans@canuck.cygnus.com>
1051 * dvp-opc.c (print_dest1): Print dest spec again.
1052 (print_vfreg,print_accdest): Likewise.
1053 (vif_unpack_len): Round result up to word boundary.
1056 start-sanitize-vr4320
1057 Tue Mar 10 15:57:23 1998 Gavin Koch <gavin@cygnus.com>
1059 * mips-opc.c ("clz","dclz"): Added the 4320 versions.
1061 Mon Mar 9 15:22:06 1998 Gavin Koch <gavin@cygnus.com>
1063 * mips-opc.c ("macc*","mul*"): Added the 4320 versions
1068 Fri Mar 6 11:27:53 1998 Doug Evans <devans@canuck.cygnus.com>
1070 * dvp-dis.c (print_gif): Fix length calcs for gifimage.
1071 (print_insn): Do mask comparison on proper opcode word.
1072 Print unsigned values in hex.
1073 * dvp-opc.c (u_parse_sdest): Return -1 if dest missing.
1074 (parse_bc): Catch missing dest.
1075 (parse_vfreg): Replace atoi call with strtol.
1076 (parse_{bcftreg,ffstreg,freg,ireg,vi01,gif_prim,gif_nloop}): Likewise.
1077 (parse_bcftreg,parse_ffstreg): Handle missing dest.
1078 (extract_gif_eop): New function.
1079 (gif_operands): Update eop entry.
1080 (VGIFOP,VGIFNREGS): Fix calcs.
1081 (extract_gif_prim): Set *pinvalid to 1 if prim not used.
1082 (gif_regs): Add entry for unused 11 case.
1083 (print_gif_regs): Print empty list instead of nothing.
1084 (extract_gif_nloop): Fix value calc.
1085 (print_gif_nloop): Always print value, even if 0.
1086 (insert_vif_wlcl,extract_vif_wlcl): New functions.
1087 (vif_operands): Use them for wl,cl fields.
1088 (state_vif_wl,state_vif_cl): New static locals.
1089 (parse_vif_mode): Handle numeric args.
1090 (vif_unpack_len_value,vif_unpack_len): New functions.
1091 (vif_insn_len): Call vif_unpack_len.
1094 Wed Mar 4 12:08:14 1998 Doug Evans <devans@canuck.cygnus.com>
1096 * m32r-opc.h,m32r-opc.c,m32r-asm.c,m32r-dis.c: Regenerate.
1098 Tue Mar 3 18:51:22 1998 Doug Evans <devans@seba.cygnus.com>
1100 * cgen-asm.in: Move insertion of generated routines to top of file.
1101 (insert_normal): Add prototype. Delete `shift' arg.
1102 * cgen-dis.in: Move insertion of generated routines to top of file.
1103 (extract_normal): Add prototype. Delete `shift' arg.
1104 (print_normal): Add prototype. Call CGEN_PRINT_NORMAL if defined.
1105 (print_keyword): Add prototype. Fix type of `attrs' arg.
1107 start-sanitize-vr4320
1108 Tue Mar 3 11:47:58 1998 Gavin Koch <gavin@cygnus.com>
1110 * mips-dis.c (_print_insn_mips) : Handle bfd_mach_mips4320.
1111 * mips-opc.c ("mac","dmac") : Added 4320 insns.
1114 Sat Feb 28 16:02:34 1998 Nick Clifton <nickc@cygnus.com>
1116 * arm-dis.c (print_insn_big_arm, print_insn_little_arm): Do not
1117 assume that info->symbols is non-empty.
1119 Sat Feb 28 12:19:05 1998 Richard Henderson <rth@cygnus.com>
1121 * alpha-opc.c (cvtqs) There is no such thing.
1122 (cvttq): Missing most of the /*d variants.
1124 start-sanitize-r5900
1125 Fri Feb 27 13:16:42 1998 Andrew Cagney <cagney@b1.cygnus.com>
1127 * mips-opc.c (r5900/madd.s): Takes three operands, not four. Fix
1129 (r5900/min.s): Incorrect opcode ....,101001 not ...110000.
1130 (r5900/msub.s): Takes three operands, not four. Fix opcode.
1133 Thu Feb 26 15:53:09 1998 Michael Meissner <meissner@cygnus.com>
1135 * d30v-opc.c (d30v_opcode_table): Indicate which instructions are
1136 delayed branches or jumps.
1139 Fri Feb 27 10:04:19 1998 Doug Evans <devans@canuck.cygnus.com>
1141 * dvp-opc.c (vif_operands): Add unpack[u] support.
1142 (vif_opcodes): Ditto.
1143 (*_vif_imrubits): Renamed from *_vif_imrbits.
1145 Wed Feb 25 00:27:44 1998 Doug Evans <devans@canuck.cygnus.com>
1147 * dvp-dis.c (print_insn): Handle word number.
1148 Handle mips address vs vu address.
1149 * dvp-opc.c (vif_operands): Use DVP_OPERAND_VU_ADDRESS.
1150 (dma_operands): Use DVP_OPERAND_MIPS_ADDRESS.
1151 ({insert,extract}_dma_addr): Fix word ofset.
1152 ({insert,print}_gif_regs): Fix encode/decode.
1155 Tue Feb 24 10:46:44 1998 Doug Evans <devans@canuck.cygnus.com>
1157 * arm-dis.c (print_insn_{big,little}_arm): info->symbol changed
1159 * mips-dis.c (print_insn_{big,little}_mips): Likewise.
1160 * tic30-dis.c (print_branch): Likewise.
1162 * mips-dis.c (print_insn_little_mips): Call dvp_info_mach_type.
1163 * dvp-dis.c (dvp_info_mach_type): New function.
1164 (print_insn_dvp): Call it.
1165 (print_vif): Return length of 4 if mpg or direct insn so following
1166 insns get properly disabled.
1167 (print_gif): Fix word order.
1168 * dvp-opc.c (vif_insn_len): New argument `pcpu'. All callers updated.
1169 (gif_operands): Fix word order.
1170 (gif_opcodes): Likewise.
1171 ({insert,extract,print}_gif_regs): Likewise.
1172 (gif_regs): Add new register number/name changes.
1173 (dma_opcodes): Add dmarefe insn.
1176 Tue Feb 24 11:06:18 1998 Nick Clifton <nickc@cygnus.com>
1178 * arm-dis.c (print_insn_big_arm, print_insn_little_arm): Remove
1179 saved_symbol code as it is no longer needed.
1181 Mon Feb 23 13:16:17 1998 Doug Evans <devans@seba.cygnus.com>
1183 * cgen-asm.c: Include symcat.h.
1184 * cgen-dis.c,cgen-opc.c,cgen-asm.in,cgen-dis.in: Ditto.
1186 * m32r-asm.c,m32r-dis.c,m32r-opc.h,m32r-opc.c: Regenerate.
1189 Mon Feb 23 09:51:39 1998 Doug Evans <devans@canuck.cygnus.com>
1191 * dvp-opc.c (extra_dma_flags): Fix typos.
1192 (dma_operands): Fix word numbers.
1193 (dma_opcodes): Likewise.
1194 ({insert,extract}_dma_flags): Likewise.
1197 Mon Feb 23 10:34:58 1998 Jeffrey A Law (law@cygnus.com)
1199 * mips-dis.c (print_insn_arg): Do not prefix 'P' arguments with '$'.
1202 Fri Feb 20 18:02:20 1998 Doug Evans <devans@canuck.cygnus.com>
1204 * dvp-dis.c (print_gif): Complete.
1205 * dvp-opc.c (gif_operands,gif_opcodes): Complete.
1206 (state_gif_{nregs,regs,nloop}): New static locals.
1207 (*_gif_*): Complete.
1208 (dvp_opcode_init_{parse,print}): Init gif state locals.
1209 (extract_vif_datalen,{insert,extract}_vif_imrbits): New functions.
1210 (vif_insn_len): Handle `unpack'.
1211 ({insert,extract}_dma_flags): Complete.
1214 start-sanitize-r5900
1215 Fri Feb 20 01:23:16 1998 Jeffrey A Law (law@cygnus.com)
1217 * mips-opc.c (mula.s): Renamed from multa.s.
1220 Thu Feb 19 16:51:13 1998 Doug Evans <devans@canuck.cygnus.com>
1222 * m32r-opc.[ch]: Regenerate.
1225 Thu Feb 19 02:11:39 1998 Doug Evans <devans@charmed.cygnus.com>
1227 * dvp-opc.c (dma_operands): Rewrite.
1228 (dma_operand_{count,addr}): New globals.
1229 (dma_opcodes): Rewrite. Add "dmaend" with no operands.
1230 (insert_dma_addr): Insert value into insn.
1231 (extract_dma_addr): Extract value from insn.
1233 Wed Feb 18 15:46:46 1998 Doug Evans <devans@canuck.cygnus.com>
1235 * dvp-dis.c (print_vu): Handle loi insns.
1236 (print_insn): Likewise.
1237 * dvp-opc.c (vu_lower_opcodes): Add "loi".
1238 (vu_operands): Make LDEST1 a FAKE operand.
1239 (parse_dest1): Allow elided argument.
1240 (print_dest1): Don't print the argument.
1242 Tue Feb 17 18:48:25 1998 Doug Evans <devans@canuck.cygnus.com>
1244 * dvp-opc.c (parse_vfreg): Dest spec is optional.
1245 (print_vfreg): Don't print dest spec.
1246 (parse_accdest): Dest spec is optional.
1247 (print_accdest): Don't print dest spec.
1250 Tue Feb 17 17:14:50 1998 Doug Evans <devans@seba.cygnus.com>
1252 * Makefile.am (CGENFILES): Update.
1253 * Makefile.in: Regenerate.
1254 * cgen-asm.in (insert_normal): Result is error message now.
1255 Validate value to be inserted.
1256 (insert_insn_normal): Result is error message now.
1257 (@arch@_cgen_assemble_insn): Update.
1258 * cgen-asm.c (cgen_parse_{signed,unsigned}_integer): Delete min,max
1259 arguments. Don't perform validation here.
1260 * m32r-asm.c,m32r-dis.c,m32r-opc.c: Regenerate.
1262 Fri Feb 13 14:26:06 1998 Doug Evans <devans@canuck.cygnus.com>
1264 * cgen-opc.in (@arch@_cgen_get_insn_operands): Handle empty
1265 operand instance list.
1266 * m32r-opc.c: Regenerate.
1268 Fri Feb 13 14:53:02 1998 Ian Lance Taylor <ian@cygnus.com>
1270 * Makefile.am (AUTOMAKE_OPTIONS): Define.
1271 * configure, Makefile.in, aclocal.m4: Rebuild with automake 1.2e.
1273 Fri Feb 13 10:21:09 1998 Mark Alexander <marka@cygnus.com>
1275 * m10300-dis.c (print_insn_mn10300): Recognize break instruction.
1277 Fri Feb 13 13:12:14 1998 Ian Lance Taylor <ian@cygnus.com>
1279 * configure.in: Get the version number from BFD.
1280 * configure: Rebuild.
1282 From H.J. Lu <hjl@gnu.org>:
1283 * Makefile.am (libopcodes_la_LDFLAGS): Define.
1284 * Makefile.in: Rebuild.
1286 Fri Feb 13 09:50:32 1998 Nick Clifton <nickc@cygnus.com>
1288 * m32r-opc.c: Regenerate.
1289 * m32r-opc.h: Regenerate.
1291 Thu Feb 12 11:01:40 1998 Doug Evans <devans@canuck.cygnus.com>
1293 * cgen-opc.in (@arch@_cgen_lookup_insn): New argument alias_p.
1294 Ignore ALIAS insns if asked to.
1295 (@arch@_cgen_get_insn_operands): Pass 0 for alias_p, NULL for insn.
1296 * m32r-opc.c: Regenerate.
1299 * dvp.opc.c: Nicely format opcode tables.
1300 (vu_operands): New element UFLAGS.
1301 (parse_uflags,print_uflags): New functions.
1302 (vu_upper_opcodes): Add UFLAGS to all insns.
1305 Thu Feb 12 03:41:00 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1307 Fix rac to accept only a0:
1308 * d10v-opc.c (d10v_predefined_registers, d10v_operands, d10v_opcodes):
1309 Split OPERAND_ACC into OPERAND_ACC0 and OPERAND_ACC1.
1310 Introduce OPERAND_GPR.
1311 * d10v-dis.c (print_operand): Likewise.
1313 Wed Feb 11 18:58:34 1998 Doug Evans <devans@seba.cygnus.com>
1315 * cgen-opc.in: New file.
1316 * cgen.sh: Translate @ARCH@. Cat cgen-opc.in into @arch@-opc.c.
1317 * Makefile.am (CGENFILES): Add cgen-opc.in.
1318 * Makefile.in: Regenerate.
1320 * cgen-opc.c (cgen_set_cpu): Delete init of hw list `next' chain.
1321 (cgen_hw_lookup): Make result const.
1323 * cgen-dis.in (*): Use PTR instead of void *.
1324 (print_insn): Delete unused vars `i', `syntax'.
1326 * m32r-opc.h, m32r-opc.c, m32r-asm.c, m32r-dis.c: Regenerate.
1329 Tue Feb 10 14:56:24 1998 Doug Evans <devans@canuck.cygnus.com>
1331 * dvp-opc.c (*): pke,gpuif renamed to vif,gif.
1332 (vif_opcodes): Update renamed insns.
1333 * dvp-dis.c (*): Likewise.
1336 Sat Feb 7 15:30:27 1998 Ian Lance Taylor <ian@cygnus.com>
1338 * configure, aclocal.m4: Rebuild with new libtool.
1340 Thu Feb 5 17:56:10 1998 Michael Meissner <meissner@cygnus.com>
1342 * d30v-opc.c (repeat{,i} instructions): Repeat/repeati
1343 instructions use a PC relative branch, not absolute.
1345 Wed Feb 4 19:17:37 1998 Ian Lance Taylor <ian@cygnus.com>
1347 * configure.in: Set libtool_enable_shared rather than
1348 libtool_shared. Remove diversion hack.
1349 * configure, Makefile.in, aclocal.m4: Rebuild with new libtool.
1351 Tue Feb 3 17:19:40 1998 Doug Evans <devans@seba.cygnus.com>
1353 * cgen-opc.c (cgen_set_cpu): Initialize hardware table.
1354 * m32r-opc.h, m32r-opc.c, m32r-asm.c, m32r-dis.c: Regenerate.
1356 Mon Feb 2 19:22:15 1998 Steve Haworth <steve@pm.cse.rmit.EDU.AU>
1358 * tic30-dis.c: New file.
1359 * disassemble.c (disassembler): Add bfd_arch_tic30 case.
1360 * configure.in: Handle bfd_tic30_arch.
1361 * Makefile.am: Rebuild dependencies.
1362 (CFILES): Add tic30-dis.c
1363 (ALL_MACHINES): Add tic30-dis.lo.
1364 * configure, Makefile.in: Rebuild.
1366 start-sanitize-m32rx
1367 Mon Feb 2 11:04:08 1998 Nick Clifton <nickc@cygnus.com>
1369 * m32r-opc.c, m32r-opc.h, m32r-asm.c m32r-dis.c: Newly generated
1370 versions after updates to m32r.cpu to remove mulwhi-a, mulwlo-a,
1371 macwhi-a and macwlo-a instructions.
1375 Fri Jan 30 17:39:21 1998 Ian Carmichael <iancarm@cygnus.com>
1377 * dvp-opc.c, fixed encoding of a bunch of instructions to
1378 be consistent with the asmvu assembler (and inconsistent
1379 with the specification).
1381 Thu Jan 29 18:14:56 1998 Ian Carmichael <iancarm@cygnus.com>
1383 * dvp-opc.c, fixed order of pkemscal/pkemscalf instructions
1384 in the opcode table. The pkemscalf instruction must come first.
1386 Thu Jan 29 16:47:24 1998 Ian Carmichael <iancarm@cygnus.com>
1388 * dvp-opc.c, MAXIi should be VUOP6(0x1d) instead of 0x2d.
1391 Thu Jan 29 13:02:56 1998 Doug Evans <devans@canuck.cygnus.com>
1393 * m32r-opc.h (HAVE_CPU_M32R): Define.
1396 Wed Jan 28 13:46:19 1998 Doug Evans <devans@canuck.cygnus.com>
1398 * dvp-dis.c, dvp-opc.c: New files.
1399 * configure.in: Compile them if bfd_dvp_arch, as well as mips.
1400 * configure: Regenerate.
1401 * Makefile.am (ALL_MACHINES): Add dvp-{dis,opc}.lo.
1402 (dvp-dis.lo,dvp-opc.lo): Add rules for.
1403 (mips-dis.lo): Compile with @archdefs@.
1404 * Makefile.in: Regenerate.
1405 * disassemble.c: Define ARCH_mips ifdef ARCH_dvp.
1406 * mips-dis.c (print_insn_little_mips): Check for DVP insns.
1409 Wed Jan 28 09:55:03 1998 Nick Clifton <nickc@cygnus.com>
1411 * v850-opc.c (insertion routines): If both alignment and size is
1412 wrong then report this.
1414 Tue Jan 27 21:52:59 1998 Jeffrey A Law (law@cygnus.com)
1416 * mips-dis.c (_print_insn_mips): Set target_processor as appropriate.
1417 Only recognize instructions for the current target_processor.
1419 Thu Jan 22 16:20:17 1998 Fred Fish <fnf@cygnus.com>
1421 * d10v-dis.c (PC_MASK): Correct value.
1422 (print_operand): If there's a reloc, don't calculate the
1423 address because they could be in different sections.
1425 start-sanitize-cygnus
1426 Thu Jan 22 16:10:32 1998 Doug Evans <devans@seba.cygnus.com>
1428 * cgen.sh: Rewrite to be like simulator's version.
1429 * Makefile.am (cgen): Update call to cgen.sh.
1430 * Makefile.in: Regenerate
1433 Fri Jan 16 15:29:11 1998 Jim Blandy <jimb@zwingli.cygnus.com>
1435 * mips-opc.c (mips_builtin_opcodes): Move 4010's "addciu"
1436 instruction after the 4650's "mul" instruction; nobody's using the
1437 4010 these days. If object files someday indicate which processor
1438 variant they're intended for, we can do a better job at this.
1440 start-sanitize-r5900
1441 Tue Jan 13 09:21:56 1998 Jeffrey A Law (law@cygnus.com)
1443 * mips-opc.c (c.lt.s): Add r5900 variant.
1447 Mon Jan 12 14:43:54 1998 Doug Evans <devans@seba.cygnus.com>
1449 * cgen-asm.c (build_asm_hash_table): Traverse compiled in table using
1450 table provided entry size. Use CGEN_INSN_MNEMONIC.
1451 (cgen_parse_keyword): Rewrite.
1452 * cgen-dis.c (build_dis_hash_table): Traverse compiled in table using
1453 table provided entry size. Use CGEN_INSN_MASK_BITSIZE.
1454 * cgen-opc.c: Clean up pass over `struct foo' usage.
1455 (cgen_keyword_lookup_value): Handle "" entry.
1456 (cgen_keyword_add): Likewise.
1457 start-sanitize-cygnus
1458 * Makefile.am: Add cgen support.
1459 * Makefile.in: Regenerate.
1460 * configure.in: Add cgen support.
1461 * configure: Regenerate.
1462 * aclocal.m4: Regenerate.
1463 * cgen.sh, cgen-asm.in, cgen-dis.in: New files.
1466 Mon Dec 22 12:37:06 1997 Ian Lance Taylor <ian@cygnus.com>
1468 * mips-opc.c: Add FP_D to s.d instruction flags.
1470 Wed Dec 17 11:38:29 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1472 * m68k-opc.c (halt, pulse): Enable them on the 68060.
1474 start-sanitize-tic80
1475 Tue Dec 16 15:22:53 1997 Fred Fish <fnf@cygnus.com>
1477 * tic80-opc.c (tic80_opcodes): Revert change that put the 32 bit
1478 PC relative offset forms before the 15 bit forms. An assembler command
1479 line option now chooses the default.
1482 start-sanitize-r5900
1483 Tue Dec 16 13:24:22 1997 Jeffrey A Law (law@cygnus.com)
1485 * mips-opc.c: Add many missing r5900 instructions.
1488 Tue Dec 16 15:22:51 1997 Michael Meissner <meissner@cygnus.com>
1490 * d30v-opc.c (d30v_opcode_table): Set new flags bits
1491 FLAG_{2WORD,MUL{16,32},ADDSUBppp}, in appropriate instructions.
1493 1997-12-15 Brendan Kehoe <brendan@lisa.cygnus.com>
1495 * configure: Only build libopcodes shared if --enable-shared's value
1496 was `yes', or was set to `*opcodes*'.
1497 * aclocal.m4: Likewise.
1498 * NOTE: this really needs to be fixed in libtool/libtool.m4, the
1499 original source of this bit of code. It's not clear what the best fix
1502 start-sanitize-r5900
1503 Mon Dec 15 12:43:36 1997 Jeffrey A Law (law@cygnus.com)
1505 * mips-opc.c (mtpc, mfpc, mtps, mfps): Add r5900 variants.
1507 start-sanitize-tic80
1508 Fri Dec 12 11:57:04 1997 Fred Fish <fnf@cygnus.com>
1510 * tic80-opc.c (OFF_SL_PC, OFF_SL_BR): Minor formatting change.
1511 (tic80_opcodes): Reorder table entries to put the 32 bit PC relative
1512 offset forms before the 15 bit forms, to default to the long forms.
1515 Fri Dec 12 01:32:30 1997 Richard Henderson <rth@cygnus.com>
1517 * alpha-opc.c (cvttq/*u*): Remove, as that suffix is invalid.
1519 Wed Dec 10 17:42:35 1997 Nick Clifton <nickc@cygnus.com>
1521 * arm-dis.c (print_insn_little_arm): Prevent examination of stored
1522 symbol if none is present.
1523 (print_insn_big_arm): Prevent examination of stored symbol if
1526 Thu Oct 23 21:13:37 1997 Fred Fish <fnf@cygnus.com>
1528 * d10v-opc.c (d10v_opcodes): Correct entry for RTE.
1530 Mon Dec 8 11:21:07 1997 Nick Clifton <nickc@cygnus.com>
1532 * disassemble.c: Remove disasm_symaddr() function.
1534 * arm-dis.c: Use info->symbol instead of info->flags to determine
1535 if disassmbly should be in Thumb or Arm mode.
1537 Tue Dec 2 09:54:27 1997 Nick Clifton <nickc@cygnus.com>
1539 * arm-dis.c: Add support for disassembling Thumb opcodes.
1540 (print_insn_thumb): New function.
1542 * disassemble.c (disasm_symaddr): New function.
1544 * arm-opc.h: Display nop pseudo ops alongside equivalent disassembly.
1545 (thumb_opcodes): Table of Thumb opcodes.
1547 Mon Dec 1 12:25:57 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1549 * m68k-opc.c (btst): Change Dd@s to Dd;b.
1551 * m68k-dis.c (print_insn_arg): Recognize 'm', 'n', 'o', 'p', 'q',
1552 and 'v' as operand types.
1554 Mon Dec 1 11:56:50 1997 Ian Lance Taylor <ian@cygnus.com>
1556 * m68k-opc.c: Add argument for lpstop. From Olivier Carmona
1557 <olivier.carmona@di.epfl.ch>.
1558 * m68k-dis.c (print_insn_m68k): Handle special case of lpstop,
1559 which has a two word opcode with a one word argument.
1561 Sun Nov 23 22:25:21 1997 Michael Meissner <meissner@cygnus.com>
1563 * d30v-opc.c (d30v_opcode_table, case cmpu): Immediate field is
1564 unsigned, not signed.
1565 (d30v_format_table): Add SHORT_CMPU cases for cmpu.
1567 Wed Nov 19 17:42:35 1997 Richard Henderson <rth@cygnus.com>
1569 * sh-dis.c (print_insn_shx): Recognize all sh4 additions.
1570 * sh-opc.h (fmov): Add @<REG_M>+,<DX_REG_N> variant for sh4.
1571 (ftrv): Slay the cut-and-paste monster.
1573 Tue Nov 18 23:10:03 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
1575 * d10v-dis.c (print_operand):
1576 Split OPERAND_FLAG into OPERAND_FFLAG and OPERAND_CFLAG.
1578 Tue Nov 18 18:45:14 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
1580 * d10v-opc.c (OPERAND_FLAG): Split into:
1581 (OPERAND_FFLAG, OPERAND_CFLAG) .
1585 Thu Nov 13 11:05:33 1997 Gavin Koch <gavin@cygnus.com>
1587 * mips-opc.c: Move the INSN_MACRO ISA value to the membership
1588 field for all INSN_MACRO's.
1589 * mips16-opc.c: same
1591 Wed Nov 12 10:16:57 1997 Gavin Koch <gavin@cygnus.com>
1593 * mips-opc.c (sync,cache): These are 3900 insns.
1595 Tue Nov 11 23:53:41 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
1597 sh-opc.h (sh_table): Remove ftst/nan.
1599 start-sanitize-cygnus
1600 Mon Nov 3 13:23:15 1997 Ken Raeburn <raeburn@cygnus.com>
1602 * mips-opc.c (dror32, dror, rzu.ob): Fix bugs in encoding.
1603 (c.*.ob, mula.ob, mull.ob, muls.ob, mulsl.ob): Put 'k' version
1605 * mips-dis.c (print_insn_arg): Handle VR5400 operand types.
1609 Wed Oct 29 15:10:56 1997 Gavin Koch <gavin@cygnus.com>
1611 * mips-opc.c (deret,dmult,dmultu,madd,maddu,pref,sdbbp):
1612 Add tx49 insns and configury.
1615 Tue Oct 28 17:59:32 1997 Ken Raeburn <raeburn@cygnus.com>
1617 * mips-opc.c (ffc, ffs): Fix mask.
1619 Tue Oct 28 16:34:54 1997 Michael Meissner <meissner@cygnus.com>
1621 * d30v-opc.c (pre_defined_registers): Add eit_vb, int_s, and int_m
1624 Mon Oct 27 22:34:03 1997 Ken Raeburn <raeburn@cygnus.com>
1626 * mips-opc.c: Fix bug in mask for "not" pseudo-instruction.
1627 start-sanitize-cygnus
1628 Added VR5400 instructions.
1629 (N5): New cpu-id macro.
1631 (WR_HILO, RD_HILO, MOD_HILO): New macros.
1633 Mon Oct 27 22:34:03 1997 Ken Raeburn <raeburn@cygnus.com>
1635 * mips-opc.c: Fix bug in mask for "not" pseudo-instruction.
1636 (WR_HILO, RD_HILO, MOD_HILO): New macros.
1638 Thu Oct 23 14:57:58 1997 Nick Clifton <nickc@cygnus.com>
1640 * v850-dis.c (disassemble): Replace // with /* ... */
1642 Wed Oct 22 17:33:21 1997 Richard Henderson <rth@cygnus.com>
1644 * sparc-opc.c: Add wr & rd for v9a asr's.
1645 * sparc-dis.c (print_insn_sparc): Recognize '_' and '/' for v9a asr's.
1646 (v9a_asr_reg_names): New variable.
1647 Patch from David Miller <davem@vger.rutgers.edu>.
1649 Wed Oct 22 17:18:02 1997 Richard Henderson <rth@cygnus.com>
1651 * sparc-opc.c (v9notv9a): New insn type.
1652 (IMPDEP): Move to the end to not conflict with edge8 et al.
1653 Patch from David Miller <davem@vger.rutgers.edu>.
1655 Fri Oct 17 13:18:53 1997 Gavin Koch <gavin@cygnus.com>
1657 * mips-opc.c (bnezl,beqzl): Mark these as also tx39.
1659 Thu Oct 16 11:55:20 1997 Gavin Koch <gavin@cygnus.com>
1661 * mips-opc.c: Note that 'jalx' is (probably incorrectly) marked I1.
1663 Tue Oct 14 16:10:31 1997 Nick Clifton <nickc@cygnus.com>
1665 * v850-dis.c (disassemble): Use new symbol_at_address_func() field
1666 of disassemble_info structure to determine if an overlay address
1667 has a matching symbol in low memory.
1669 * dis-buf.c (generic_symbol_at_address): New (dummy) function for
1670 new symbol_at_address_func field in disassemble_info structure.
1672 Fri Oct 10 16:44:52 1997 Nick Clifton <nickc@cygnus.com>
1674 * v850-opc.c (extract_d22): Use signed arithmatic.
1676 Tue Oct 7 23:40:43 1997 Gavin Koch <gavin@cygnus.com>
1678 * mips-opc.c: Three op mult is not an ISA insn.
1680 Tue Oct 7 23:37:21 1997 Gavin Koch <gavin@cygnus.com>
1682 * mips-opc.c: Fix formatting.
1684 Fri Oct 3 17:26:54 1997 Ian Lance Taylor <ian@cygnus.com>
1686 * i386-dis.c (OP_E): Explicitly sign extend 8 bit values, rather
1687 than assuming that char is signed. Explicitly sign extend 16 bit
1688 values, rather than assuming that short is 16 bits.
1689 (OP_sI, OP_J, OP_DIR): Likewise.
1691 start-sanitize-v850e
1692 Thu Oct 2 13:36:45 1997 Nick Clifton <nickc@cygnus.com>
1694 * v850-dis.c (v850_sreg_names): Use symbolic names for higher
1698 Wed Oct 1 16:58:54 1997 Nick Clifton <nickc@cygnus.com>
1700 * v850-opc.c: Fix typo in comment.
1702 * v850-dis.c (disassemble): Add test of processor type when
1703 determining opcodes.
1705 Wed Oct 1 14:10:20 1997 Ian Lance Taylor <ian@cygnus.com>
1707 * configure.in: Use a diversion to set enable_shared before the
1708 arguments are parsed.
1709 * configure: Rebuild.
1711 Thu Sep 25 13:04:59 1997 Ian Lance Taylor <ian@cygnus.com>
1713 * m68k-opc.c (TBL1): Use ! rather than `.
1714 * m68k-dis.c (print_insn_arg): Remove ` operand specifier.
1716 Wed Sep 24 11:29:35 1997 Ian Lance Taylor <ian@cygnus.com>
1718 * m68k-opc.c: Correct bchg, bclr, bset, and btst on ColdFire.
1720 * m68k-opc.c: Accept tst{b,w,l} with immediate operands on cpu32.
1722 * m68k-opc.c: Correct movew of an immediate operand to %sr or %ccr
1725 * configure.in: Call AC_CHECK_TOOL before AM_PROG_LIBTOOL.
1726 * aclocal.m4: Rebuild with new libtool.
1727 * configure: Rebuild.
1729 start-sanitize-v850e
1730 Fri Sep 19 11:45:49 1997 Andrew Cagney <cagney@b1.cygnus.com>
1732 * v850-opc.c ("cmov"): Order reg param r1, r2 not r2, r2.
1735 Thu Sep 18 11:21:43 1997 Doug Evans <dje@canuck.cygnus.com>
1737 * sparc-opc.c (sparclet_cpreg_table): Add %ccsr2, %cccrr, %ccrstr.
1739 Tue Sep 16 15:18:20 1997 Nick Clifton <nickc@cygnus.com>
1741 * v850-opc.c (v850_opcodes): Further rearrangements.
1743 Tue Sep 16 16:12:11 1997 Ken Raeburn <raeburn@cygnus.com>
1745 * d30v-opc.c (rot2h, sra2h, srl2h insns): Revert last change.
1747 Tue Sep 16 09:48:50 1997 Nick Clifton <nickc@cygnus.com>
1749 * v850-opc.c (v850_opcodes): Fields reordered to allow assembler
1752 Tue Sep 16 10:01:00 1997 Gavin Koch <gavin@cygnus.com>
1754 * mips-opc.c: Added tx39 insns sdbbp, rfe, and deret.
1756 * mips16-opc.c: Added mips16 sdbbp.
1759 Mon Sep 15 18:31:52 1997 Nick Clifton <nickc@cygnus.com>
1761 * v850-opc.c: Initialise processors field of v850_opcode structure.
1763 Wed Aug 27 21:42:39 1997 Ken Raeburn <raeburn@cygnus.com>
1765 Merge changes from Martin Hunt:
1767 * d30v-opc.c: Change mvfacc to accept 6-bit unsigned values.
1769 * d30v-opc.c (pre_defined_registers): Add control registers from 0-63.
1770 (d30v_opcode_tabel): Add dbt, rtd, srah, and srlh instructions. Fix
1771 rot2h, sra2h, and srl2h to use new SHORT_A5S format.
1773 * d30v-dis.c (print_insn): Fix disassembly of SHORT_D2 opcodes.
1775 * d30v-dis.c (print_insn): First operand of d*i (delayed
1776 branch) instructions is relative.
1778 * d30v-opc.c (d30v_opcode_table): Change form for repeati.
1779 (d30v_operand_table): Add IMM6S3 type.
1780 (d30v_format_table): Change SHORT_D2. Add LONG_Db.
1782 * d30v-dis.c: Fix bug with ".s" and ".l" extensions
1783 and cmp instructions.
1785 * d30v-opc.c: Correct entries for repeat*, and sat*.
1786 Make IMM5 unsigned. Create IMM6U and IMM12S3U operand
1787 types. Correct several formats.
1789 * d30v-opc.c: (pre_defined_registers): Add dpsw and dpc.
1791 * d30v-opc.c (pre_defined_registers): Change control registers.
1793 * d30v-opc.c (d30v_format_table): Correct SHORT_C1 and
1794 SHORT_C2. Manual was incorrect.
1796 * d30v-dis.c (lookup_opcode): Return value now indicates
1797 if an opcode has a short and a long form. Used for deciding
1798 to append a ".s" or ".l".
1799 (print_insn): Append a ".s" to an instruction if it is
1800 the short form and ".l" if it is a long form. Do not append
1801 anything if the instruction has only one possible size.
1803 * d30v-opc.c: Change mulx2h to require an even register.
1804 New form: SHORT_A2; a SHORT_A form that needs an even
1805 register as the first operand.
1807 * d30v-dis.c (print_insn_d30v): Fix problem where the last
1808 instruction was not being disassembled if there were an odd
1809 number of instructions.
1811 * d30v-opc.c (SHORT_M2, LONG_M2): Two new forms.
1813 start-sanitize-v850e
1814 Fri Sep 12 11:43:54 1997 Nick Clifton <nickc@cygnus.com>
1816 * v850-dis.c (disassemble): Improved display of register lists.
1819 Thu Sep 11 17:35:10 1997 Doug Evans <dje@canuck.cygnus.com>
1821 * sparc-opc.c (sparc_opcodes): Fix assembler args to
1822 fzeros, fones, fsrc1, fsrc1s, fsrc2s, fnot1, fnot1s, fnot2s,
1823 fors, fnors, fands, fnands, fxors, fxnors, fornot1s, fornot2s,
1824 fandnot1s, fandnot2s.
1826 Tue Sep 9 10:03:49 1997 Doug Evans <dje@canuck.cygnus.com>
1828 * sparc-opc.c (sparc_opcodes): Fix op3 field for fcmpq/fcmpeq.
1830 Mon Sep 8 14:06:59 1997 Doug Evans <dje@canuck.cygnus.com>
1832 * cgen-asm.c (cgen_parse_address): New argument resultp.
1833 All callers updated.
1834 * m32r-asm.c (parse_h_hi16): Right shift numbers by 16.
1836 Tue Sep 2 18:39:08 1997 Jeffrey A Law (law@cygnus.com)
1838 * mn10200-dis.c (disassemble): PC relative instructions are
1839 relative to the next instruction, not the current instruction.
1841 Tue Sep 2 15:41:55 1997 Nick Clifton <nickc@cygnus.com>
1843 * v850-dis.c (disassemble): Only signed extend values that are not
1844 returned by extract functions.
1845 Remove use of V850_OPERAND_ADJUST_SHORT_MEMORY flag.
1847 Tue Sep 2 15:39:40 1997 Nick Clifton <nickc@cygnus.com>
1849 * v850-opc.c: Update comments. Remove use of
1850 V850_OPERAND_ADJUST_SHORT_MEMORY. Fix several operand patterns.
1852 Tue Aug 26 09:42:28 1997 Nick Clifton <nickc@cygnus.com>
1854 * v850-opc.c (MOVHI): Immediate parameter is unsigned.
1856 Mon Aug 25 15:58:07 1997 Christopher Provenzano <proven@cygnus.com>
1858 * configure: Rebuilt with latest devo autoconf for NT support.
1860 Fri Aug 22 10:35:15 1997 Nick Clifton <nickc@cygnus.com>
1862 * v850-dis.c (disassemble): Use curly brace syntax for register
1865 * v850-opc.c (v850_opcodes[]): Add NOT_R0 flag to decect cases
1866 where r0 is being used as a destination register.
1868 start-sanitize-v850e
1869 Thu Aug 21 11:09:09 1997 Nick Clifton <nickc@cygnus.com>
1871 * v850-opc.c (v850_opcodes[]): Move divh opcodes next to each other.
1874 Wed Aug 20 00:43:11 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
1876 * sh-opc.h (sh_arg_type): Add A_SGR and A_DBR.
1877 (sh_nibble_type, sh_arg_type): Add SH4 floating point extensions.
1878 (sh_table): Likewise. Add movca.l, ocbi, ocbp, ocbwb.
1879 Add insns to access SGR and DBR.
1880 * sh-dis.c (print_insn_shx): Add SH4 floating point extensions.
1882 Tue Aug 19 10:59:59 1997 Richard Henderson <rth@cygnus.com>
1884 * alpha-opc.c (alpha_opcodes): Fix hw_rei_stall mungage.
1886 start-sanitize-v850e
1887 Mon Aug 18 11:10:03 1997 Nick Clifton <nickc@cygnus.com>
1889 * v850-opc.c (v850_opcodes[]): Remove use of flag field.
1890 * v850-opc.c (v850_opcodes[]): Add support for reversed short load
1893 Mon Aug 18 11:08:25 1997 Nick Clifton <nickc@cygnus.com>
1895 * configure (cgen_files): Add support for v850e target.
1896 * configure.in (cgen_files): Add support for v850e target.
1898 Mon Aug 18 11:08:25 1997 Nick Clifton <nickc@cygnus.com>
1900 * configure (cgen_files): Add support for v850ea target.
1901 * configure.in (cgen_files): Add support for v850ea target.
1904 Fri Aug 15 05:17:48 1997 Doug Evans <dje@canuck.cygnus.com>
1906 * configure.in (bfd_arc_arch): Add.
1907 * configure: Rebuild.
1908 * Makefile.am (ALL_MACHINES): Add arc-dis.lo, arc-opc.lo.
1909 * Makefile.in: Rebuild.
1910 * arc-dis.c, arc-opc.c: New files.
1911 * disassemble.c (ARCH_all): Define ARCH_arc.
1912 (disassembler): Add ARC support.
1914 Wed Aug 13 18:52:11 1997 Nick Clifton <nickc@cygnus.com>
1916 start-sanitize-v850e
1917 * v850-dis.c (disassemble): Add support for v850EA instructions.
1919 * v850-opc.c (insert_i5div, extract_i5div): New Functions.
1920 (v850_opcodes): Add v850EA instructions.
1922 * v850-dis.c (disassemble): Add support for v850E instructions.
1924 * v850-opc.c (insert_d5_4, extract_d5_4, insert_d16_16,
1925 extract_d16_16, insert_i9, extract_i9, insert_u9, extract_u9,
1926 insert_spe, extract_spe): New Functions.
1927 (v850_opcodes): Add v850E instructions.
1930 * v850-opc.c: Reorganised and re-layed out to improve readability
1933 Tue Aug 5 23:09:31 1997 Ian Lance Taylor <ian@cygnus.com>
1935 * configure: Rebuild with autoconf 2.12.1.
1937 Mon Aug 4 12:02:16 1997 Ian Lance Taylor <ian@cygnus.com>
1939 * aclocal.m4, configure: Rebuild with new automake patches.
1941 Fri Aug 1 13:02:04 1997 Ian Lance Taylor <ian@cygnus.com>
1943 * configure.in: Set enable_shared before AM_PROG_LIBTOOL.
1944 * acinclude.m4: Just include acinclude.m4 from BFD.
1945 * aclocal.m4, configure: Rebuild.
1947 Thu Jul 31 21:44:42 1997 Ian Lance Taylor <ian@cygnus.com>
1949 * Makefile.am: New file, based on old Makefile.in.
1950 * acconfig.h: New file.
1951 * acinclude.m4: New file.
1952 * stamp-h.in: New file.
1953 * configure.in: Call AM_INIT_AUTOMAKE and AM_PROG_LIBTOOL.
1954 Removed shared library handling; now handled by libtool. Replace
1955 AC_CONFIG_HEADER with AM_CONFIG_HEADER. Call AM_MAINTAINER_MODE,
1956 AM_CYGWIN32, and AM_EXEEXT. Replace AC_PROG_INSTALL with
1957 AM_PROG_INSTALL. Change all .o files to .lo. Remove stamp-h
1958 handling in AC_OUTPUT.
1959 * dep-in.sed: Change .o to .lo.
1960 * Makefile.in: Now built with automake.
1961 * aclocal.m4: Now built with aclocal.
1962 * config.in, configure: Rebuild.
1964 Mon Jul 28 21:52:24 1997 Jeffrey A Law (law@cygnus.com)
1966 * mips-opc.c: Fix typo/thinko in "eret" instruction.
1968 start-sanitize-r5900
1969 Mon Jul 28 22:07:14 1997 Andrew Cagney <cagney@b1.cygnus.com>
1971 * mips-opc.c: Fix coding of mtsa.
1974 Thu Jul 24 13:03:26 1997 Doug Evans <dje@canuck.cygnus.com>
1976 * sparc-opc.c (sparc_opcodes): Fix spelling on fpaddX, fpsubX insns.
1978 * sparc-dis.c (sorted_opcodes): New static local.
1979 (struct opcode_hash): `opcode' is pointer to const element.
1980 (build_hash): First arg is now table of sorted pointers.
1981 (print_insn_sparc): Sort opcodes by sorting table of pointers.
1982 (compare_opcodes): Update.
1984 Tue Jul 15 12:05:23 1997 Doug Evans <dje@canuck.cygnus.com>
1986 * cgen-opc.c: #include <ctype.h>.
1987 (hash_keyword_name): New arg `case_sensitive_p'. Callers updated.
1988 Handle case insensitive hashing.
1989 (hash_keyword_value): Change type of `value' to unsigned int.
1991 Thu Jul 10 12:56:10 1997 Jeffrey A Law (law@cygnus.com)
1993 * mips-opc.c (mips_builtin_opcodes): If an insn uses single
1994 precision FP, mark it as such. Likewise for double precision
1995 FP. Mark ISA1 insns. Consolidate duplicate opcodes where
1997 start-sanitize-r5900
1998 (mips_builtin_opcodes): Remove non-existant r5900 instructions
2001 start-sanitize-r5900
2002 Thu Jun 26 16:20:27 1997 Jeffrey A Law (law@cygnus.com)
2004 * mips-opc.c (mips_builtin_opcodes): Add "pinteh", "pexeh" and
2005 "pexew" as synonyms for "pintoh", "pexoh", "pexow".
2008 Wed Jun 25 15:25:57 1997 Felix Lee <flee@cirdan.cygnus.com>
2010 * ppc-opc.c (extract_nsi): make unsigned expression signed before
2012 (UNUSED): remove one level of parens, so MSVC doesn't choke on
2013 nesting depth when all the macros are expanded.
2015 Tue Jun 17 17:02:17 1997 Ian Lance Taylor <ian@cygnus.com>
2017 * sparc-opc.c: The fcmp v9a instructions take an integer register
2018 as a destination, not a floating point register. From Christian
2019 Kuehnke <Christian.Kuehnke@arbi.Informatik.Uni-Oldenburg.DE>.
2021 Mon Jun 16 14:13:18 1997 Ian Lance Taylor <ian@cygnus.com>
2023 * m68k-dis.c (print_insn_arg): Print case 7.2 using %pc@()
2024 syntax. From Roman Hodek
2025 <rnhodek@faui22c.informatik.uni-erlangen.de>.
2027 * i386-dis.c (twobyte_has_modrm): Fix pand.
2029 Mon Jun 16 14:08:38 1997 Michael Taylor <mbt@mit.edu>
2031 * i386-dis.c (dis386_twobyte): Fix pand and pandn.
2033 Tue Jun 10 11:26:47 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
2035 * arm-dis.c: Add prototypes for arm_decode_shift and
2038 Mon Jun 2 11:39:04 1997 Gavin Koch <gavin@cygnus.com>
2040 * mips-opc.c: Add r3900 insns.
2042 Tue May 27 15:55:44 1997 Ian Lance Taylor <ian@cygnus.com>
2044 * sh-dis.c (print_insn_shx): Change relmask to bfd_vma. Don't
2045 print delay slot instructions on the same line. When using a PC
2046 relative load, add a comment with the value being loaded if it can
2049 Tue May 27 11:02:08 1997 Alan Modra <alan@spri.levels.unisa.edu.au>
2051 * i386-dis.c (dis386[], dis386_twobyte[]): change pushl/popl
2052 to pushS/popS for segment regs and byte constant so that
2053 pushw/popw printed when in 16 bit data mode.
2055 * i386-dis.c (dis386[]): change cwtl, cltd to cWtS, cStd to
2056 print cbtw, cwtd in 16 bit data mode.
2057 * i386-dis.c (putop): extra case W to support above.
2059 * i386-dis.c (print_insn_x86): print addr32 prefix when given
2060 address size prefix in 16 bit address mode.
2062 Fri May 23 16:47:23 1997 Ian Lance Taylor <ian@cygnus.com>
2064 * sh-dis.c: Reindent. Rename local variable fprintf to
2067 Thu May 22 14:06:02 1997 Doug Evans <dje@canuck.cygnus.com>
2069 * m32r-opc.c (m32r_cgen_insn_table, cmpui): Undo patch of May 2.
2071 Tue May 20 11:26:27 1997 Gavin Koch <gavin@cygnus.com>
2073 * mips-opc.c (mips_builtin_opcodes): Moved INSN_ISA field into new
2075 * mips16-opc.c (mip16_opcodes): same.
2077 Mon May 12 15:10:53 1997 Jim Wilson <wilson@cygnus.com>
2079 * m68k-opc.c (moveb): Change $d to %d.
2081 Mon May 5 14:28:41 1997 Ian Lance Taylor <ian@cygnus.com>
2083 * i386-dis.c: (dis386_twobyte): Add MMX instructions.
2084 (twobyte_has_modrm): Likewise.
2086 (OP_MMX, OP_EM, OP_MS): New static functions.
2088 * i386-dis.c: Revert patch of April 4. The output now matches
2091 Fri May 2 12:48:37 1997 Doug Evans <dje@canuck.cygnus.com>
2093 * m32r-opc.c (m32r_cgen_insn_table, cmpui): Use $uimm16 instead
2096 Thu May 1 15:34:15 1997 Doug Evans <dje@canuck.cygnus.com>
2098 * m32r-opc.h (CGEN_ARCH): Renamed from CGEN_CPU.
2100 Tue Apr 15 12:40:08 1997 Ian Lance Taylor <ian@cygnus.com>
2102 * Makefile.in (install): Depend upon installdirs.
2103 (installdirs): New target.
2105 Mon Apr 14 12:13:51 1997 Ian Lance Taylor <ian@cygnus.com>
2107 From Thomas Graichen <graichen@rzpd.de>:
2108 * configure.in: Use ${CONFIG_SHELL} when running $ac_config_sub.
2109 * configure: Rebuild.
2111 Sun Apr 13 17:50:41 1997 Doug Evans <dje@canuck.cygnus.com>
2113 * cgen-*.c, m32r-*.c: #include sysdep.h instead of config.h.
2114 Delete string{,s}.h support.
2116 Thu Apr 10 14:44:56 1997 Doug Evans <dje@canuck.cygnus.com>
2118 * cgen-asm.c (cgen_parse_operand_fn): New global.
2119 (cgen_parse_{{,un}signed_integer,address}): Update call to
2120 cgen_parse_operand_fn.
2121 (cgen_init_parse_operand): New function.
2122 * m32r-asm.c (parse_insn_normal): cgen_init_parse_operand renamed
2123 from cgen_asm_init_parse.
2124 (m32r_cgen_assemble_insn): New operand `errmsg'.
2125 Delete call to as_bad, return error message to caller.
2126 (m32r_cgen_asm_hash_keywords): #if 0 out.
2128 Wed Apr 9 12:05:25 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2130 * m68k-dis.c (print_insn_arg) [case 'd']: Print as address register,
2132 [case 'J']: Fix typo in register name.
2134 Mon Apr 7 16:48:22 1997 Ian Lance Taylor <ian@cygnus.com>
2136 * configure.in: Substitute SHLIB_LIBS.
2137 * configure: Rebuild.
2138 * Makefile.in (SHLIB_LIBS): New variable.
2139 ($(SHLIB)): Use $(SHLIB_LIBS).
2141 Mon Apr 7 11:45:44 1997 Doug Evans <dje@canuck.cygnus.com>
2143 * cgen-dis.c (build_dis_hash_table): Fix xmalloc size computation.
2145 * cgen-opc.c (hash_keyword_name): Improve algorithm.
2147 * disassemble.c (disassembler): Handle m32r.
2149 Fri Apr 4 12:29:38 1997 Doug Evans <dje@canuck.cygnus.com>
2151 * m32r-asm.c, m32r-dis.c, m32r-opc.c, m32r-opc.h: New files.
2152 * cgen-asm.c, cgen-dis.c, cgen-opc.c: New files.
2153 * Makefile.in (CFILES): Add them.
2154 (ALL_MACHINES): Add them.
2155 (dependencies): Regenerate.
2156 * configure.in (cgen_files): New variable.
2157 (bfd_m32r_arch): Add entry.
2158 * configure: Regenerate.
2160 Fri Apr 4 14:04:16 1997 Ian Lance Taylor <ian@cygnus.com>
2162 * configure.in: Correct file names for bfd_mn10[23]00_arch.
2163 * configure: Rebuild.
2165 * Makefile.in: Rebuild dependencies.
2167 * d10v-dis.c: Include "ansidecl.h" before "opcode/d10v.h".
2169 * i386-dis.c (float_reg): Swap fsubrp and fsubp. Swap fdivrp and
2172 Thu Apr 3 13:22:45 1997 Ian Lance Taylor <ian@cygnus.com>
2174 * Branched binutils 2.8.
2176 Wed Apr 2 12:23:53 1997 Ian Lance Taylor <ian@cygnus.com>
2178 * m10200-dis.c: Rename from mn10200-dis.c.
2179 * m10200-opc.c: Rename from mn10200-opc.c.
2180 * m10300-dis.c: Rename from mn10300-dis.c
2181 * m10300-opc.c: Rename from mn10300-opc.c.
2182 * Makefile.in: Update accordingly.
2184 * mips16-opc.c: Add mul and dmul macros.
2186 Tue Apr 1 16:27:45 1997 Klaus Kaempf <kkaempf@progis.de>
2188 * makefile.vms: Update CFLAGS, add clean target.
2190 Fri Mar 28 12:10:09 1997 Ian Lance Taylor <ian@cygnus.com>
2192 * mips-opc.c: Add "wait". From Ralf Baechle
2193 <ralf@gnu.ai.mit.edu>.
2195 * configure.in: Add stdlib.h to AC_CHECK_HEADERS list.
2196 * configure, config.in: Rebuild.
2197 * sysdep.h: Include <stdlib.h> if it exists.
2198 * sparc-dis.c: Include <stdio.h> and "sysdep.h". Don't include
2200 * Makefile.in: Rebuild dependencies.
2202 Thu Mar 27 14:24:43 1997 Ian Lance Taylor <ian@cygnus.com>
2204 * ppc-opc.c: Add PPC 403 instructions and extended opcodes. From
2205 Andrew Bray <andy@madhouse.demon.co.uk>.
2207 * mips-opc.c: Add cast when setting mips_opcodes.
2209 Tue Mar 25 23:04:00 1997 Stu Grossman (grossman@critters.cygnus.com)
2211 * v850-dis.c (disassemble): Fix sign extension problem.
2212 * v850-opc.c (extract_d*): Fix sign extension problems to make
2213 disassembly calculate branch offsets correctly.
2215 Mon Mar 24 13:22:13 1997 Ian Lance Taylor <ian@cygnus.com>
2217 * sh-opc.h: Add bf/s and bt/s as synonyms for bf.s and bt.s.
2219 * mips-opc.c: Add dctr and dctw.
2221 Sun Mar 23 18:08:10 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
2223 * d30v-dis.c (print_insn): Change the way signed constants
2226 Fri Mar 21 14:37:52 1997 Ian Lance Taylor <ian@cygnus.com>
2228 * Makefile.in (BFD_H): New variable.
2229 (HFILES): New variable.
2230 (CFILES): Add all C files.
2231 (.dep, .dep1, dep.sed, dep, dep-in): New targets.
2232 Delete old dependencies, and build new ones.
2233 * dep-in.sed: New file.
2235 Thu Mar 20 19:03:30 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
2237 * m68k-opc.c (m68k_opcode_aliases): Added blo and blo{s,b,w,l}.
2239 start-sanitize-coldfire
2240 Wed Mar 19 06:53:58 1997 J.T. Conklin <jtc@rtl.cygnus.com>
2242 * m68k-opc.c (m68k_opcodes): Provide coldfire division module
2245 end-sanitize-coldfire
2246 Tue Mar 18 14:17:03 1997 Jeffrey A Law (law@cygnus.com)
2248 * mn10200-opc.c: Change "trap" to "syscall".
2249 * mn10300-opc.c: Add new "syscall" instruction.
2251 Mon Mar 17 08:48:03 1997 J.T. Conklin <jtc@beauty.cygnus.com>
2253 * m68k-opc.c (m68k_opcodes): Provide correct entries for mulsl and
2254 mulul insns on the coldfire.
2256 Sat Mar 15 17:13:05 1997 Ian Lance Taylor <ian@cygnus.com>
2258 * arm-dis.c (print_insn_arm): Don't print instruction bytes.
2259 (print_insn_big_arm): Set bytes_per_chunk and display_endian.
2260 (print_insn_little_arm): Likewise.
2262 Fri Mar 14 15:08:59 1997 Ian Lance Taylor <ian@cygnus.com>
2264 Based on patches from H.J. Lu <hjl@lucon.org>:
2265 * i386-dis.c (fetch_data): Add prototype.
2266 * m68k-dis.c (fetch_data): Add prototype.
2267 (dummy_print_address): Add prototype. Make static.
2268 * ppc-opc.c (valid_bo): Add prototype.
2269 * sparc-dis.c (build_hash_table): Add prototype.
2270 (is_delayed_branch, compute_arch_mask): Add prototypes.
2271 (print_insn_sparc): Make several local variables const.
2272 (compare_opcodes): Change arguments to const PTR. Add prototype.
2273 * sparc-opc.c (arg): Change name field to be const.
2274 (lookup_name, lookup_value): Add prototypes. Change table and
2275 name parameters to be const.
2276 (sparc_encode_asi): Change name parameter to be const.
2277 (sparc_encode_membar, sparc_encode_prefetch): Likewise.
2278 (sparc_encode_sparclet_cpreg): Likewise.
2279 (sparc_decode_asi): Change return type to be const.
2280 (sparc_decode_membar, sparc_decode_prefetch): Likewise.
2281 (sparc_decode_sparclet_cpreg): Likewise.
2283 Fri Mar 7 10:51:49 1997 Ian Lance Taylor <ian@cygnus.com>
2285 * Makefile.in ($(SHLINK)): Just use ln -s, not ln -sf, since
2286 Solaris doesn't like the combined options, and the -f is
2288 (stamp-tshlink, install): Likewise.
2290 Thu Mar 6 16:51:11 1997 Jeffrey A Law (law@cygnus.com)
2292 * mn10300-opc.c (IMM16_PCREL, SD8N_PCREL, D16_SHIFT): Mark these
2295 Tue Mar 4 06:10:36 1997 J.T. Conklin <jtc@cygnus.com>
2297 * m68k-opc.c (m68k_opcodes): Fix last change for the mc68010.
2299 Mon Mar 3 07:45:20 1997 J.T. Conklin <jtc@cygnus.com>
2301 * m68k-opc.c (m68k_opcodes): Added entries for the tst insns on
2304 Thu Feb 27 14:04:32 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
2306 * m68k-opc.c (m68k_opcodes): Added swbegl pseudo-instruction.
2308 start-sanitize-tic80
2309 Thu Feb 27 11:36:41 1997 Michael Meissner <meissner@cygnus.com>
2311 * tic80-dis.c (print_insn_tic80): Set info->bytes_per_line to 8.
2313 Wed Feb 26 15:34:48 1997 Michael Meissner <meissner@cygnus.com>
2315 * tic80-opc.c (tic80_predefined_symbols): Define r25 properly.
2318 Wed Feb 26 13:38:30 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2320 * m68k-dis.c (NEXTSINGLE, NEXTDOUBLE, NEXTEXTEND): Use
2321 floatformat_to_double to make portable.
2322 (print_insn_arg): Use NEXTEXTEND macro when extracting extended
2325 Mon Feb 24 19:26:12 1997 Dawn Perchik <dawn@cygnus.com>
2327 * mips-opc.c: Initialize mips_opcodes to mips_builtin_opcodes,
2328 and bfd_mips_num_opcodes to bfd_mips_num_builtin_opcodes.
2330 Mon Feb 24 15:19:01 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
2332 * d10v-dis.c, d10v-opc.c: Change pre_defined_registers to
2333 d10v_predefined_registers and reg_name_cnt to d10v_reg_name_cnt.
2335 start-sanitize-tic80
2336 Mon Feb 24 14:33:26 1997 Fred Fish <fnf@cygnus.com>
2338 * tic80-opc.c (LSI_SCALED): Renamed from this ...
2339 (OFF_SL_BR_SCALED): ... to this, and added the flag
2340 TIC80_OPERAND_BASEREL to the flags word.
2341 (tic80_opcodes): Replace all occurances of LSI_SCALED with
2345 Sat Feb 22 21:25:00 1997 Dawn Perchik <dawn@cygnus.com>
2347 * mips-opc.c: Add macros for cop0, cop1 cop2 and cop3.
2348 Change mips_opcodes from const array to a pointer,
2349 and change bfd_mips_num_opcodes from const int to int,
2350 so that we can increase the size of the mips opcodes table
2353 start-sanitize-tic80
2354 Sat Feb 22 21:03:47 1997 Fred Fish <fnf@cygnus.com>
2356 * tic80-opc.c (tic80_predefined_symbols): Revert change to
2357 store BITNUM values in the table in one's complement form
2358 to match behavior when assembler is given a raw numeric
2359 value for a BITNUM operand.
2360 * tic80-dis.c (print_operand_bitnum): Ditto.
2363 Fri Feb 21 16:31:18 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
2365 * d30v-opc.c: Removed references to FLAG_X.
2367 Wed Feb 19 14:51:20 1997 Ian Lance Taylor <ian@cygnus.com>
2369 * Makefile.in: Add dependencies on ../bfd/bfd.h as required.
2371 Tue Feb 18 17:43:43 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
2373 * Makefile.in: Added d30v object files.
2374 * configure: (bfd_d30v_arch) Rebuilt.
2375 * configure.in: (bfd_d30v_arch) Added new case.
2376 * d30v-dis.c: New file.
2377 * d30v-opc.c: New file.
2378 * disassemble.c (disassembler) Add entry for d30v.
2380 start-sanitize-tic80
2381 Tue Feb 18 16:32:08 1997 Fred Fish <fnf@cygnus.com>
2383 * tic80-opc.c (tic80_predefined_symbols): Add symbolic
2384 representations for the floating point BITNUM values.
2386 Fri Feb 14 12:14:05 1997 Fred Fish <fnf@cygnus.com>
2388 * tic80-opc.c (tic80_predefined_symbols): Store BITNUM values
2389 in the table in one's complement form, as they appear in the
2391 (tic80_symbol_to_value): Use macros to access predefined
2393 (tic80_value_to_symbol): Ditto.
2394 (tic80_next_predefined_symbol): New function.
2395 * tic80-dis.c (print_operand_bitnum): Remove code that did
2396 one's complement for BITNUM values.
2399 start-sanitize-r5900
2400 Fri Feb 14 13:56:51 1997 Gavin Koch <gavin@cygnus.com>
2402 * mips-opc.c: bug fix, can't mark insns INSN_5900 and INSN_ISA4
2405 Thu Feb 13 21:56:51 1997 Klaus Kaempf <kkaempf@progis.de>
2407 * makefile.vms: Remove 8 bit characters. Update to latest
2410 Thu Feb 13 20:41:22 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
2412 * m68k-opc.c (m68k_opcodes): Add swbeg pseudo-instruction.
2414 Thu Feb 13 16:30:02 1997 Jeffrey A Law (law@cygnus.com)
2416 * mn10200-opc.c (IMM16_PCREL): This is a signed operand.
2417 (IMM24_PCREL): Likewise.
2419 Thu Feb 13 13:28:43 1997 Ian Lance Taylor <ian@cygnus.com>
2421 * mips-dis.c (print_mips16_insn_arg): Use memaddr - 2 as the base
2422 address for an extended PC relative instruction that is not a
2425 Wed Feb 12 12:27:40 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2427 * m68k-dis.c (print_insn_m68k): Set bytes_per_chunk and
2430 start-sanitize-tic80
2431 Tue Feb 11 16:36:31 1997 Fred Fish <fnf@cygnus.com>
2433 * tic80-opc.c (tic80_operands): Fix typo '+' -> '|'.
2434 (tic80_opcodes): Sort entries so that long immediate forms
2435 come after short immediate forms, making it easier for
2436 assembler to select the right one for a given operand.
2439 Tue Feb 11 15:26:47 1997 Ian Lance Taylor <ian@cygnus.com>
2441 * mips-dis.c (_print_insn_mips): Set bytes_per_chunk and
2443 (print_insn_mips16): Likewise.
2445 start-sanitize-r5900
2446 Fri Feb 7 11:12:44 1997 Gavin Koch <gavin@cygnus.com>
2448 * mips-opc.c: add r5900.
2451 start-sanitize-tic80
2452 Mon Feb 10 10:12:41 1997 Fred Fish <fnf@cygnus.com>
2454 * tic80-opc.c (tic80_symbol_to_value): Changed to accept
2455 a symbol class that restricts translation to just that
2456 class (general register, condition code, etc).
2458 Thu Feb 6 17:34:09 1997 Fred Fish <fnf@cygnus.com>
2460 * tic80-opc.c (tic80_operands): Add REG_0_E, REG_22_E,
2461 and REG_DEST_E for register operands that have to be
2462 an even numbered register. Add REG_FPA for operands that
2463 are one of the floating point accumulator registers.
2464 Add TIC80_OPERAND_MASK to flags for ENDMASK operand.
2465 (tic80_opcodes): Change entries that need even numbered
2466 register operands to use the new operand table entries.
2467 Add "or" entries that are identical to "or.tt" entries.
2470 Wed Feb 5 11:12:44 1997 Ian Lance Taylor <ian@cygnus.com>
2472 * mips16-opc.c: Add new cases of exit instruction for
2474 * mips-dis.c (print_mips16_insn_arg): Display floating point
2475 registers in operands of exit instruction. Print `$' before
2476 register names in operands of entry and exit instructions.
2478 start-sanitize-tic80
2479 Thu Jan 30 14:09:03 1997 Fred Fish <fnf@cygnus.com>
2481 * tic80-opc.c (tic80_predefined_symbols): Table of name/value
2482 pairs for all predefined symbols recognized by the assembler.
2483 Also used by the disassembling routines.
2484 (tic80_symbol_to_value): New function.
2485 (tic80_value_to_symbol): New function.
2486 * tic80-dis.c (print_operand_control_register,
2487 print_operand_condition_code, print_operand_bitnum):
2488 Remove private tables and use tic80_value_to_symbol function.
2491 Thu Jan 30 11:30:45 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
2493 * d10v-dis.c (print_operand): Change address printing
2494 to correctly handle PC wrapping. Fixes PR11490.
2496 Wed Jan 29 09:39:17 1997 Jeffrey A Law (law@cygnus.com)
2498 * mn10200-opc.c (mn10200_operands): Make 8 and 16 bit pc-relative
2501 Tue Jan 28 15:57:34 1997 Ian Lance Taylor <ian@cygnus.com>
2503 * mips-dis.c (print_insn_mips16): Set insn_info information.
2504 (print_mips16_insn_arg): Likewise.
2506 * mips-dis.c (print_insn_mips16): Better handling of an extend
2507 opcode followed by an instruction which can not be extended.
2509 Fri Jan 24 12:08:21 1997 J.T. Conklin <jtc@cygnus.com>
2511 * m68k-opc.c (m68k_opcodes): Changed operand specifier for the
2512 coldfire moveb instruction to not allow an address register as
2513 destination. Although the documentation does not indicate that
2514 this is invalid, experiments uncovered unexpected behavior.
2515 Added a comment explaining the situation. Thanks to Andreas
2516 Schwab for pointing this out to me.
2518 start-sanitize-tic80
2519 Wed Jan 22 20:13:51 1997 Fred Fish <fnf@cygnus.com>
2521 * tic80-opc.c (tic80_opcodes): Expand comment to note that the
2522 entries are presorted so that entries with the same mnemonic are
2523 adjacent to each other in the table. Sort the entries for each
2524 instruction so that this is true.
2527 Mon Jan 20 12:48:57 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2529 * m68k-dis.c: Include <libiberty.h>.
2530 (print_insn_m68k): Sort the opcode table on the most significant
2531 nibble of the opcode.
2533 start-sanitize-tic80
2534 Sat Jan 18 15:15:05 1997 Fred Fish <fnf@cygnus.com>
2536 * tic80-dis.c (tic80_opcodes): Add "wrcr", "vmpy", "vrnd",
2537 "vsub", "vst", "xnor", and "xor" instructions.
2538 (V_a1): Renamed from V_a, msb of accumulator reg number.
2539 (V_a0): Add macro, lsb of accumulator reg number.
2541 Fri Jan 17 18:24:31 1997 Fred Fish <fnf@cygnus.com>
2543 * tic80-dis.c (print_insn_tic80): Broke excessively long
2544 function up into several smaller ones and arranged for
2545 the instruction printing function to be callable recursively
2546 to print vector instructions that have both a load and a
2547 math instruction packed into a single opcode.
2548 * tic80-opc.c (tic80_opcodes): Expand comment for vld opcode
2549 to explain why it comes after the other vector opcodes.
2552 Fri Jan 17 16:19:15 1997 J.T. Conklin <jtc@beauty.cygnus.com>
2554 * m68k-opc.c (m68k_opcodes): add b, w, or l specifier to coldfire
2555 move insns to handle immediate operands.
2557 Thu Jan 17 16:19:00 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2559 * m68k-opc.c (m68k_opcodes): Delete duplicate entry for "cmpil".
2560 fix operand mask in the "moveml" entries for the coldfire.
2562 start-sanitize-tic80
2563 Thu Jan 16 20:54:40 1997 Fred Fish <fnf@cygnus.com>
2565 * tic80-opc.c (V_a, V_m, V_S, V_Z, V_p, OP_V, MASK_V):
2566 New macros for building vector instruction opcodes.
2567 (tic80_opcodes): Remove all uses of FMT_SI, FMT_REG, and
2568 FMT_LI, which were unused. The field is now a flags field.
2569 Remove some opcodes that are possible, but illegal, such
2570 as long immediate instructions with doubles for immediate
2571 values. Add "vadd" and "vld" instructions.
2573 Wed Jan 15 18:59:51 1997 Fred Fish <fnf@cygnus.com>
2575 * tic80-opc.c (tic80_operands): Reorder some table entries to make
2576 the order more logical. Move the shift alias instructions ("rotl",
2577 "shl", "ins", "rotr", "extu", "exts", "srl", and "sra" to be
2578 interspersed with the regular sr.x and sl.x instructions. Add
2579 and test new instruction opcodes for "sl", "sli", "sr", "sri", "st",
2580 "sub", "subu", "swcr", and "trap".
2582 Tue Jan 14 19:42:50 1997 Fred Fish <fnf@cygnus.com>
2584 * tic80-opc.c (OFF_SS_PC): Renamed from OFF_SS.
2585 (OFF_SL_PC): Renamed from OFF_SL.
2586 (OFF_SS_BR): New operand type for base relative operand.
2587 (OFF_SL_BR): New operand type for base relative operand.
2588 (REG_BASE): New operand type for base register operand.
2589 (tic80_opcodes): Add and test "fmpy", "frndm", "frndn", "frndp",
2590 "frndz", "fsqrt", "fsub", "illop0", "illopF", "ins", "jsr",
2591 "ld", "ld.u", "lmo", "or", "rdcr", "rmo", "rotl", and "rotr"
2593 * tic80-dis.c (print_insn_tic80): Print opcode name with fixed width
2594 10 char field, padded with spaces on rhs, rather than a string
2595 followed by a tab. Use renamed TIC80_OPERAND_PCREL flag bit rather
2596 than old TIC80_OPERAND_RELATIVE. Add support for new
2597 TIC80_OPERAND_BASEREL flag bit.
2599 Mon Jan 13 15:58:56 1997 Fred Fish <fnf@cygnus.com>
2601 * tic80-dis.c (print_insn_tic80): Print floating point operands
2603 * tic80-opc.c (SPFI): Add single precision floating point
2604 immediate operand type.
2605 (ROTATE): Add rotate operand type for shifts.
2606 (ENDMASK): Add for shifts.
2607 (n): Macro for the 'n' bit.
2608 (i): Macro for the 'i' bit.
2609 (PD): Macro for the 'PD' field.
2610 (P2): Macro for the 'P2' field.
2611 (P1): Macro for the 'P1' field.
2612 (tic80_opcodes): Add entries for "exts", "extu", "fadd",
2616 Mon Jan 6 15:06:55 1997 Jeffrey A Law (law@cygnus.com)
2618 * mn10200-dis.c (disassemble): Mask off unwanted bits after
2619 adding in current address for pc-relative operands.
2621 start-sanitize-tic80
2622 Mon Jan 6 10:56:25 1997 Fred Fish <fnf@cygnus.com>
2624 * tic80-dis.c (R_SCALED): Add macro to test for ":s" modifier bit.
2625 (print_insn_tic80): If R_SCALED then print ":s" modifier for operand.
2626 * tic80-opc.c (REG0, REG22, REG27, SSOFF, LSOFF): Names
2627 changed to REG_0, REG_22, REG_DEST, OFF_SS, OFF_SL respectively.
2628 (SICR, LICR, REGM_SI, REGM_LI): Names changed to CR_SI, CR_LI,
2629 REG_BASE_M_SI, REG_BASE_M_LI respectively.
2630 (REG_SCALED, LSI_SCALED): New operand types.
2631 (E): New macro for 'E' bit at bit 27.
2632 (tic80_opcodes): Add and test dld, dld.u, dst, estop, and etrap
2633 opcodes, including the various size flavors (b,h,w,d) for
2634 the direct load and store instructions.
2636 Sun Jan 5 12:18:14 1997 Fred Fish <fnf@cygnus.com>
2638 * tic80-dis.c (M_SI, M_LI): Add macros to test for ":m" modifier bit
2640 * tic80-dis.c (print_insn_tic80): Change comma and paren handling.
2641 Use M_SI and M_LI macros to check for ":m" modifier for GPR operands.
2642 * tic80-opc.c (tic80_operands): Add REGM_SI and REGM_LI operands.
2643 (F, M_REG, M_LI, M_SI, SZ_REG, SZ_LI, SZ_SI, D, S): New bit-twiddlers.
2644 (MASK_LI_M, MASK_SI_M, MASK_REG_M): Remove and replace in opcode
2645 masks with "MASK_* & ~M_*" to get the M bit reset.
2646 (tic80_opcodes): Add bsr, bsr.a, cmnd, cmp, dcachec, and dcachef.
2648 Sat Jan 4 19:05:05 1997 Fred Fish <fnf@cygnus.com>
2650 * tic80-dis.c (print_insn_tic80): Print TIC80_OPERAND_RELATIVE
2651 correctly. Add support for printing TIC80_OPERAND_BITNUM and
2652 TIC80_OPERAND_CC, and TIC80_OPERAND_CR operands in symbolic
2654 * tic80-opc.c (tic80_operands): Add SSOFF, LSOFF, BITNUM,
2655 CC, SICR, and LICR table entries.
2656 (tic80_opcodes): Add and test "nop", "br", "bbo", "bbz",
2657 "bcnd", and "brcr" opcodes.
2660 Fri Jan 3 18:32:11 1997 Fred Fish <fnf@cygnus.com>
2662 * ppc-opc.c (powerpc_operands): Make comment match the
2663 actual fields (no shift field).
2664 * sparc-opc.c (sparc_opcodes): Document why this cannot be "const".
2665 start-sanitize-tic80
2666 * tic80-dis.c (print_insn_tic80): Replace abort stub with a
2667 partial implementation, work in progress.
2668 * tic80-opc.c (tic80_operands): Begin construction operands table.
2669 (tic80_opcodes): Continue populating opcodes table and start
2670 filling in the operand indices.
2671 (tic80_num_opcodes): Add this.
2674 Fri Jan 3 12:13:52 1997 Ian Lance Taylor <ian@cygnus.com>
2676 * m68k-opc.c: Add #B case for moveq.
2678 Thu Jan 2 12:14:29 1997 Jeffrey A Law (law@cygnus.com)
2680 * mn10300-dis.c (disassemble): Make sure all variables are initialized
2681 before they are used.
2683 Tue Dec 31 12:20:38 1996 Jeffrey A Law (law@cygnus.com)
2685 * v850-opc.c (v850_opcodes): Put curly-braces around operands
2686 for "breakpoint" instruction.
2688 Tue Dec 31 15:38:13 1996 Ian Lance Taylor <ian@cygnus.com>
2690 * Makefile.in (ALL_CFLAGS): Add -D_GNU_SOURCE.
2691 (dep): Use ALL_CFLAGS rather than CFLAGS.
2693 Tue Dec 31 15:09:16 1996 Michael Meissner <meissner@tiktok.cygnus.com>
2695 * v850-opc.c (D8_{6,7}): Set V850_OPERAND_ADJUST_SHORT_MEMORY
2698 Mon Dec 30 17:02:11 1996 Fred Fish <fnf@cygnus.com>
2700 * Makefile.in (m68k-opc.o, alpha-opc.o): Remove dis-asm.h dependency.
2701 start-sanitize-tic80
2702 (tic80-dis.o, tic80-opc.o): Add rules per comment in Makefile.in.
2705 Mon Dec 30 11:38:01 1996 Ian Lance Taylor <ian@cygnus.com>
2707 * mips16-opc.c: Add "abs".
2709 start-sanitize-tic80
2710 Sun Dec 29 10:58:22 1996 Fred Fish <fnf@cygnus.com>
2712 * Makefile.in (ALL_MACHINES): Add tic80-dis.o and tic80-opc.o.
2713 * disassemble.c (ARCH_tic80): Define if ARCH_all is defined.
2714 (disassembler): Add bfd_arch_tic80 support to set disassemble
2715 to print_insn_tic80.
2716 * tic80-dis.c (print_insn_tic80): Add stub.
2718 Fri Dec 27 22:30:57 1996 Fred Fish <fnf@cygnus.com>
2720 * configure.in (arch in $selarchs): Add bfd_tic80_arch entry.
2721 * configure: Regenerate with autoconf.
2722 * tic80-dis.c: Add file.
2723 * tic80-opc.c: Add file.
2726 Fri Dec 20 14:30:19 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
2728 * d10v-opc.c (pre_defined_registers): Add cr[0-15], dpc, dpsw, link.
2730 Mon Dec 16 13:00:15 1996 Jeffrey A Law (law@cygnus.com)
2732 * mn10200-opc.c (mn10200_operands): Add SIMM16N.
2733 (mn10200_opcodes): Use it for some logicals and btst insns.
2734 Add "break" and "trap" instructions.
2736 * mn10300-opc.c (mn10300_opcodes): Add "break" instruction.
2738 * mn10200-opc.c: Add pseudo-ops for "mov (an),am" and "mov an,(am)".
2740 Sat Dec 14 22:36:20 1996 Ian Lance Taylor <ian@cygnus.com>
2742 * mips-dis.c (print_mips16_insn_arg): The base address of a PC
2743 relative load or add now depends upon whether the instruction is
2746 Wed Dec 11 09:23:46 1996 Jeffrey A Law (law@cygnus.com)
2748 * mn10200-dis.c: Finish writing disassembler.
2749 * mn10200-opc.c (mn10200_opcodes): Fix mask for "mov imm8,dn".
2750 Fix mask for "jmp (an)".
2752 * mn10300-dis.c (disassemble, print_insn_mn10300): Corrently
2753 handle endianness issues for mn10300.
2755 * mn10200-opc.c (mn10200_opcodes): Fix operands for "movb dm,(an)".
2757 Tue Dec 10 12:08:05 1996 Jeffrey A Law (law@cygnus.com)
2759 * mn10200-opc.c (mn10200_opcodes): "mov imm8,d0" is a format 2
2760 instruction. Fix opcode field for "movb (imm24),dn".
2762 * mn10200-opc.c (mn10200_operands): Fix insertion position
2765 Mon Dec 9 16:42:43 1996 Jeffrey A Law (law@cygnus.com)
2767 * mn10200-opc.c: Create mn10200 opcode table.
2768 * mn10200-dis.c: Flesh out mn10200 disassembler. Not ready,
2769 but moving along nicely.
2771 Sun Dec 8 04:28:31 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2773 * Makefile.in (ALL_MACHINES): Add mips16-opc.o.
2775 Fri Dec 6 16:47:40 1996 J.T. Conklin <jtc@rhino.cygnus.com>
2777 * m68k-opc.c (m68k_opcodes): Revert change to use < and >
2778 specifiers for fmovem* instructions.
2780 Fri Dec 6 14:48:09 1996 Jeffrey A Law (law@cygnus.com)
2782 * mn10300-dis.c (disassemble): Remove '$' register prefixing.
2784 Fri Dec 6 17:34:39 1996 Ian Lance Taylor <ian@cygnus.com>
2786 * mips16-opc.c: Change opcode for entry/exit to avoid conflicting
2789 Fri Dec 6 14:48:09 1996 Jeffrey A Law (law@cygnus.com)
2791 * mn10300-opc.c: Add some comments explaining the various
2794 * mn10300-dis.c (disassemble): Fix minor gcc -Wall warnings.
2796 Thu Dec 5 12:09:48 1996 J.T. Conklin <jtc@rtl.cygnus.com>
2798 * m68k-dis.c (print_insn_arg): Handle new < and > operand
2801 * m68k-opc.c (m68k_opcodes): Simplify table by using < and >
2802 operand specifiers in fmovm* instructions.
2804 Wed Dec 4 14:52:18 1996 Ian Lance Taylor <ian@cygnus.com>
2806 * ppc-opc.c (insert_li): Give an error if the offset has the two
2807 least significant bits set.
2809 Wed Nov 27 13:09:01 1996 Ian Lance Taylor <ian@cygnus.com>
2811 * mips-dis.c (print_insn_mips16): Separate the instruction from
2812 the arguments with a tab, not a space.
2814 Tue Nov 26 13:24:17 1996 Jeffrey A Law (law@cygnus.com)
2816 * mn10300-dis.c (disasemble): Finish conversion to '$' as
2819 * mn10300-opc.c (mn10300_opcodes): Fix mask field for
2822 Tue Nov 26 10:53:21 1996 Ian Lance Taylor <ian@cygnus.com>
2824 * configure: Rebuild with autoconf 2.12.
2826 Add support for mips16 (16 bit MIPS implementation):
2827 * mips16-opc.c: New file.
2828 * mips-dis.c: Include "elf-bfd.h" and "elf/mips.h".
2829 (mips16_reg_names): New static array.
2830 (print_insn_big_mips): Use print_insn_mips16 in 16 bit mode or
2831 after seeing a 16 bit symbol.
2832 (print_insn_little_mips): Likewise.
2833 (print_insn_mips16): New static function.
2834 (print_mips16_insn_arg): New static function.
2835 * mips-opc.c: Add jalx instruction.
2836 * Makefile.in (mips16-opc.o): New target.
2837 * configure.in: Use mips16-opc.o for bfd_mips_arch.
2838 * configure: Rebuild.
2840 Mon Nov 25 16:15:17 1996 J.T. Conklin <jtc@cygnus.com>
2842 * m68k-opc.c (m68k_opcodes): Simplify table by using < and >
2843 operand specifiers in *save, *restore and movem* instructions.
2845 * m68k-opc.c (m68k_opcodes): Fix move and movem instructions for
2848 * m68k-opc.c (m68k_opcodes): The coldfire (mcf5200) can only use
2849 register operands for immediate arithmetic, not, neg, negx, and
2850 set according to condition instructions.
2852 * m68k-opc.c (m68k_opcodes): Consistantly Use "s" as the storage
2853 specifier of the effective-address operand in immediate forms of
2854 arithmetic instructions. The specifier for the immediate operand
2855 notes how and where the constant will be stored.
2857 Mon Nov 25 11:17:01 1996 Jeffrey A Law (law@cygnus.com)
2859 * mn10300-opc.c (mn10300_opcodes): Remove redundant "lcc"
2862 * mn10300-dis.c (disassemble): Use '$' instead of '%' for
2865 * mn10300-dis.c (disassemble): Prefix registers with '%'.
2867 Wed Nov 20 10:37:13 1996 Jeffrey A Law (law@cygnus.com)
2869 * mn10300-dis.c (disassemble): Handle register lists.
2871 * mn10300-opc.c: Fix handling of register list operand for
2872 "call", "ret", and "rets" instructions.
2874 * mn10300-dis.c (disassemble): Print PC-relative and memory
2875 addresses symbolically if possible.
2876 * mn10300-opc.c: Distinguish between absolute memory addresses,
2877 pc-relative offsets & random immediates.
2879 * mn10300-dis.c (print_insn_mn10300): Fix fetch of last byte
2881 (disassemble): Handle SPLIT and EXTENDED operands.
2883 Tue Nov 19 13:33:01 1996 Jeffrey A Law (law@cygnus.com)
2885 * mn10300-dis.c: Rough cut at printing some operands.
2887 * mn10300-dis.c: Start working on disassembler support.
2888 * mn10300-opc.c (mn10300_opcodes): Fix masks on several insns.
2890 * mn10300-opc.c (mn10300_operands): Add "REGS" for a register
2892 (mn10300_opcodes): Use REGS for register list in "movm" instructions.
2894 Mon Nov 18 15:20:35 1996 Michael Meissner <meissner@tiktok.cygnus.com>
2896 * d10v-opc.c (d10v_opcodes): Add3 sets the carry.
2898 Fri Nov 15 13:43:19 1996 Jeffrey A Law (law@cygnus.com)
2900 * mn10300-opc.c (mn10300_opcodes): Demand parens around
2901 register argument is calls and jmp instructions.
2903 Thu Nov 7 00:26:05 1996 Jeffrey A Law (law@cygnus.com)
2905 * mn10300-opc.c (mn10300_opcodes): Use DN01 for putx and
2906 getx operand. Fix opcode for mulqu imm,dn.
2908 Wed Nov 6 13:42:32 1996 Jeffrey A Law (law@cygnus.com)
2910 * mn10300-opc.c (mn10300_operands): Hijack "bits" field
2911 in MN10300_OPERAND_SPLIT operands for how many bits
2912 appear in the basic insn word. Add IMM32_HIGH24,
2913 IMM32_HIGH24_LOWSHIFT8, IMM8E_SHIFT8.
2914 (mn10300_opcodes): Use new operands as needed.
2916 * mn10300-opc.c (mn10300_operands): Add IMM32_LOWSHIFT8
2917 for bset, bclr, btst instructions.
2918 (mn10300_opcodes): Use new IMM32_LOWSHIFT8 as needed.
2920 * mn10300-opc.c (mn10300_operands): Remove many redundant
2921 operands. Update opcode table as appropriate.
2922 (IMM32): Add MN10300_OPERAND_SPLIT flag.
2923 (mn10300_opcodes): Fix single bit error in mov imm32,dn insn.
2925 Tue Nov 5 13:26:58 1996 Jeffrey A Law (law@cygnus.com)
2927 * mn10300-opc.c (mn10300_operands): Add DN2, DM2, AN2, AM2
2928 operands (for indexed load/stores). Fix bitpos for DI
2929 operand. Add SN8N_SHIFT8, IMM8_SHIFT8, and D16_SHIFT for the
2930 few instructions that insert immediates/displacements in the
2931 middle of the instruction. Add IMM8E for 8 bit immediate in
2932 the extended part of an instruction.
2933 (mn10300_operands): Use new opcodes as appropriate.
2935 Tue Nov 5 10:30:51 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
2937 * d10v-opc.c (d10v_opcodes): Declare the trap instruction
2938 sequential so the assembler never parallelizes it with
2941 Mon Nov 4 12:50:40 1996 Jeffrey A Law (law@cygnus.com)
2943 * mn10300-opc.c (mn10300_operands): Add DN01 and AN01 for
2944 a data/address register that appears in register field 0
2945 and register field 1.
2946 (mn10300_opcodes): Use DN01 and AN01 for mov/cmp imm8,DN/AN
2948 Fri Nov 1 10:29:11 1996 Richard Henderson <rth@tamu.edu>
2950 * alpha-dis.c (print_insn_alpha): Use new NOPAL mask for
2951 standard disassembly.
2953 * alpha-opc.c (alpha_operands): Rearrange flags slot.
2954 (alpha_opcodes): Add new BWX, CIX, and MAX instructions.
2955 Recategorize PALcode instructions.
2957 Wed Oct 30 16:46:58 1996 Jeffrey A Law (law@cygnus.com)
2959 * v850-opc.c (v850_opcodes): Add relaxing "jbr".
2961 Tue Oct 29 16:30:28 1996 Ian Lance Taylor <ian@cygnus.com>
2963 * mips-dis.c (_print_insn_mips): Don't print a trailing tab if
2964 there are no operand types.
2966 Tue Oct 29 12:22:21 1996 Jeffrey A Law (law@cygnus.com)
2968 * v850-opc.c (D9_RELAX): Renamed from D9, all references
2970 (v850_operands): Make sure D22 immediately follows D9_RELAX.
2972 Fri Oct 25 12:12:53 1996 Ian Lance Taylor <ian@cygnus.com>
2974 * i386-dis.c (print_insn_x86): Set info->bytes_per_line to 5.
2976 Thu Oct 24 17:53:52 1996 Jeffrey A Law (law@cygnus.com)
2978 * v850-opc.c (insert_d8_6): Fix operand insertion for sld.w
2979 and sst.w instructions.
2981 * v850-opc.c (v850_opcodes): Add "jCC" instructions (aliases for
2984 Thu Oct 24 17:21:20 1996 Ian Lance Taylor <ian@cygnus.com>
2986 * mips-dis.c (_print_insn_mips): Use a tab between the instruction
2989 Tue Oct 22 23:32:56 1996 Ian Lance Taylor <ian@cygnus.com>
2991 * ppc-opc.c (PPCPWR2): Define.
2992 (powerpc_opcodes): Use PPCPWR2 for fsqrt, rather than duplicating
2995 Fri Oct 11 16:03:49 1996 Jeffrey A Law (law@cygnus.com)
2997 * mn10300-opc.c (mn10300_opcodes): Fix typo in opcode
2998 field for movhu instruction.
3000 * v850-dis.c (disassemble): For V850_OPERAND_SIGNED operands,
3001 cast value to "long" not "signed long" to keep hpux10
3004 Thu Oct 10 10:25:58 1996 Jeffrey A Law (law@cygnus.com)
3006 * mn10300-opc.c (mn10300_opcodes): Fix typo in opcode field
3009 * mn10300-opc.c (FMT*): Remove definitions.
3011 * mn10300-opc.c (mn10300_opcodes): Fix destination register
3012 for shift-by-register opcodes.
3014 * mn10300-opc.c (mn10300_operands): Break DN, DM, AN, AM
3015 into [AD][MN][01] for encoding the position of the register
3018 Wed Oct 9 11:19:26 1996 Jeffrey A Law (law@cygnus.com)
3020 * mn10300-opc.c (mn10300_opcodes): Add "extended" instructions,
3021 "putx", "getx", "mulq", "mulqu", "sat16", "sat24", "bsch".
3023 Tue Oct 8 11:55:35 1996 Jeffrey A Law (law@cygnus.com)
3025 * mn10300-opc.c (mn10300_operands): Remove "REGS" operand.
3026 Fix various typos. Add "PAREN" operand.
3027 (MEM, MEM2): Define.
3028 (mn10300_opcodes): Surround all memory addresses with "PAREN"
3029 operands. Fix several typos.
3031 * mn10300-opc.c (mn10300_opcodes): Fix typos in yesterday's
3034 Mon Oct 7 16:48:45 1996 Jeffrey A Law (law@cygnus.com)
3036 * mn10300-opc.c (FMT_XX): Renumber starting at one.
3037 (mn10300_operands): Rough cut. Enough to parse "mov" instructions
3039 (mn10300_opcodes): Break opcode format out into its own field.
3040 Update many operand fields to deal with signed vs unsigned
3041 issues. Fix one or two typos in the "mov" instruction
3042 opcode, mask and/or operand fields.
3044 Mon Oct 7 11:39:49 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3046 * m68k-opc.c (plusha): Prefer encoding for m68040up, in case
3047 m68851 wasn't reset.
3049 Thu Oct 3 17:17:02 1996 Ian Lance Taylor <ian@cygnus.com>
3051 * mn10300-opc.c (mn10300_opcodes): Add opcode & masks for
3052 all opcodes. Very rough cut at operands for all opcodes.
3054 * mn10300-opc.c (mn10300_opcodes): Start fleshing out the
3057 Thu Oct 3 10:06:07 1996 Jeffrey A Law (law@cygnus.com)
3059 * mn10200-opc.c, mn10300-opc.c: New files.
3060 * mn10200-dis.c, mn10300-dis.c: New files.
3061 * mn10x00-opc.c, mn10x00-dis.c: Deleted.
3062 * disassemble.c: Break mn10x00 support into 10200 and 10300
3064 * configure.in: Likewise.
3065 * configure: Rebuilt.
3067 Thu Oct 3 15:59:12 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
3069 * Makefile.in (MOSTLYCLEAN): Move config.log to distclean.
3071 Wed Oct 2 23:28:42 1996 Jeffrey A Law (law@cygnus.com)
3073 * mn10x00-opc.c, mn10x00-dis.c: New files for Matsushita
3075 * disassemble (ARCH_mn10x00): Define.
3076 (disassembler): Handle bfd_arch_mn10x00.
3077 * configure.in: Recognize bfd_mn10x00_arch.
3078 * configure: Rebuilt.
3080 Tue Oct 1 10:49:11 1996 Ian Lance Taylor <ian@cygnus.com>
3082 * i386-dis.c (op_rtn): Change to be a pointer. Adjust uses
3083 accordingly. Don't declare functions using op_rtn.
3085 Fri Sep 27 18:28:59 1996 Stu Grossman (grossman@critters.cygnus.com)
3087 * v850-dis.c (disassemble): Add memaddr argument. Re-arrange
3088 params to be more standard.
3089 * (disassemble): Print absolute addresses and symbolic names for
3090 branch and jump targets.
3091 * v850-opc.c (v850_operand): Add displacement flag to 9 and 22
3093 * (v850_opcodes): Add breakpoint insn.
3095 Mon Sep 23 12:32:26 1996 Ian Lance Taylor <ian@cygnus.com>
3097 * m68k-opc.c: Move the fmovemx data register cases before the
3098 other cases, so that they get recognized before the data register
3099 does gets treated as a degenerate register list.
3101 Tue Sep 17 12:06:51 1996 Ian Lance Taylor <ian@cygnus.com>
3103 * mips-opc.c: Add a case for "div" and "divu" with two registers
3104 and a destination of $0.
3106 Tue Sep 10 16:12:39 1996 Fred Fish <fnf@rtl.cygnus.com>
3108 * mips-dis.c (print_insn_arg): Add prototype.
3109 (_print_insn_mips): Ditto.
3111 Mon Sep 9 14:26:26 1996 Ian Lance Taylor <ian@cygnus.com>
3113 * mips-dis.c (print_insn_arg): Print condition code registers as
3116 Tue Sep 3 12:09:46 1996 Doug Evans <dje@canuck.cygnus.com>
3118 * sparc-opc.c (sparc_opcodes): Add setuw, setsw, setx.
3120 Tue Sep 3 12:05:25 1996 Jeffrey A Law (law@cygnus.com)
3122 * v850-dis.c (disassemble): Make static. Provide prototype.
3124 Sun Sep 1 22:30:40 1996 Jeffrey A Law (law@cygnus.com)
3126 * v850-opc.c (insert_d9, insert_d22): Fix boundary case
3129 Sat Aug 31 01:27:26 1996 Jeffrey A Law (law@cygnus.com)
3131 * v850-dis.c (disassemble): Handle insertion of ',', '[' and
3132 ']' characters into the output stream.
3133 * v850-opc.c (v850_opcodes: Remove size field from all opcodes.
3134 Add "memop" field to all opcodes (for the disassembler).
3135 Reorder opcodes so that "nop" comes before "mov" and "jr"
3136 comes before "jarl".
3138 * v850-dis.c (print_insn_v850): Fix typo in last change.
3140 * v850-dis.c (print_insn_v850): Properly handle disassembling
3141 a two byte insn at the end of a memory region when the memory
3142 region's size is only two byte aligned.
3144 * v850-dis.c (v850_cc_names): Fix stupid thinkos.
3146 * v850-dis.c (v850_reg_names): Define.
3147 (v850_sreg_names, v850_cc_names): Likewise.
3148 (disassemble): Very rough cut at printing operands (unformatted).
3150 * v850-opc.c (BOP_MASK): Fix.
3151 (v850_opcodes): Fix mask for jarl and jr.
3153 * v850-dis.c: New file. Skeleton for disassembler support.
3154 * Makefile.in Remove v850 references, they're not needed here.
3155 * configure.in: Add v850-dis.o when building v850 toolchains.
3156 * configure: Rebuilt.
3157 * disassemble.c (disassembler): Call v850 disassembler.
3159 * v850-opc.c (insert_d8_7, extract_d8_7): New functions.
3160 (insert_d8_6, extract_d8_6): New functions.
3161 (v850_operands): Rename D7S to D7; operand for D7 is unsigned.
3162 Rename D8 to D8_7, use {insert,extract}_d8_7 routines.
3164 (IF4A, IF4B): Use "D7" instead of "D7S".
3165 (IF4C, IF4D): Use "D8_7" instead of "D8".
3166 (IF4E, IF4F): New. Use "D8_6".
3167 (v850_opcodes): Use IF4A/IF4B for sld.b/sst.b. Use IF4C/IF4D for
3168 sld.h/sst.h. Use IF4E/IF4F for sld.w/sst.w.
3170 * v850-opc.c (insert_d16_15, extract_d16_15): New functions.
3171 (v850_operands): Change D16 to D16_15, use special insert/extract
3172 routines. New new D16 that uses the generic insert/extract code.
3173 (IF7A, IF7B): Use D16_15.
3174 (IF7C, IF7D): New. Use D16.
3175 (v850_opcodes): Use IF7C and IF7D for ld.b and st.b.
3177 * v850-opc.c (insert_d9, insert_d22): Slightly improve error
3178 message. Issue an error if the branch offset is odd.
3180 * v850-opc.c: Add notes about needing special insert/extract
3181 for all the load/store insns, except "ld.b" and "st.b".
3183 * v850-opc.c (insert_d22, extract_d22): New functions.
3184 (v850_operands): Use insert_d22 and extract_d22 for
3186 (insert_d9): Fix range check.
3188 Fri Aug 30 18:01:02 1996 J.T. Conklin <jtc@hippo.cygnus.com>
3190 * v850-opc.c (v850_operands): Add V850_OPERAND_SIGNED flag
3191 and set bits field to D9 and D22 operands.
3193 Thu Aug 29 11:10:46 1996 Jeffrey A Law (law@cygnus.com)
3195 * v850-opc.c (v850_operands): Define SR2 operand.
3196 (v850_opcodes): "ldsr" uses R1,SR2.
3198 * v850-opc.c (v850_opcodes): Fix opcode specs for
3199 sld.w, sst.b, sst.h, sst.w, and nop.
3201 Wed Aug 28 15:55:43 1996 Jeffrey A Law (law@cygnus.com)
3203 * v850-opc.c (v850_opcodes): Add null opcode to mark the
3204 end of the opcode table.
3206 Mon Aug 26 13:35:53 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
3208 * d10v-opc.c (pre_defined_registers): Added register pairs,
3209 "r0-r1", "r2-r3", etc.
3211 Fri Aug 23 00:27:01 1996 Jeffrey A Law (law@cygnus.com)
3213 * v850-opc.c (v850_operands): Make I16 be a signed operand.
3214 Create I16U for an unsigned 16bit mmediate operand.
3215 (v850_opcodes): Use I16U for "ori", "andi" and "xori".
3217 * v850-opc.c (v850_operands): Define EP operand.
3218 (IF4A, IF4B, IF4C, IF4D): Use EP.
3220 * v850-opc.c (v850_opcodes): Fix opcode numbers for "mov"
3221 with immediate operand, "movhi". Tweak "ldsr".
3223 * v850-opc.c (v850_opcodes): Get ld.[bhw] and st.[bhw]
3224 correct. Get sld.[bhw] and sst.[bhw] closer.
3226 * v850-opc.c (v850_operands): "not" is a two byte insn
3228 * v850-opc.c (v850_opcodes): Correct bit pattern for setf.
3230 * v850-opc.c (v850_operands): D16 inserts at offset 16!
3232 * v850-opc.c (two): Get order of words correct.
3234 * v850-opc.c (v850_operands): I16 inserts at offset 16!
3236 * v850-opc.c (v850_operands): Add "SR1" and "SR2" for system
3237 register source and destination operands.
3238 (v850_opcodes): Use SR1 and SR2 for "ldsr" and "stsr".
3240 * v850-opc.c (v850_opcodes): Fix thinko in "jmp" opcode. Fix
3241 same thinko in "trap" opcode.
3243 * v850-opc.c (v850_opcodes): Add initializer for size field
3246 * v850-opc.c (v850_operands): D6 -> DS7. References changed.
3247 Add D8 for 8-bit unsigned field in short load/store insns.
3248 (IF4A, IF4D): These both need two registers.
3249 (IF4C, IF4D): Define. Use 8-bit unsigned field.
3250 (v850_opcodes): For "sld.h", "sld.w", "sst.h", "sst.w", use
3251 IF4C & IF4D. For "trap" use I5U, not I5. Add IF1 operand
3252 for "ldsr" and "stsr".
3253 * v850-opc.c (v850_operands): 3-bit immediate for bit insns
3256 * v850-opc.c (v850_opcodes): Correct short store half (sst.h) and
3257 short store word (sst.w).
3259 Thu Aug 22 16:57:27 1996 J.T. Conklin <jtc@rtl.cygnus.com>
3261 * v850-opc.c (v850_operands): Added insert and extract fields,
3262 pointers to functions that handle unusual operand encodings.
3264 Thu Aug 22 01:05:24 1996 Jeffrey A Law (law@cygnus.com)
3266 * v850-opc.c (v850_opcodes): Enable "trap".
3268 * v850-opc.c (v850_opcodes): Fix order of displacement
3269 and register for "set1", "clr1", "not1", and "tst1".
3271 Wed Aug 21 18:46:26 1996 Jeffrey A Law (law@cygnus.com)
3273 * v850-opc.c (v850_operands): Add "B3" support.
3274 (v850_opcodes): Fix and enable "set1", "clr1", "not1"
3277 * v850-opc.c (v850_opcodes): "jmp" has only an R1 operand.
3279 * v850-opc.c: Close unterminated comment.
3281 Wed Aug 21 17:31:26 1996 J.T. Conklin <jtc@hippo.cygnus.com>
3283 * v850-opc.c (v850_operands): Add flags field.
3284 (v850_opcodes): add move opcodes.
3286 Tue Aug 20 14:41:03 1996 J.T. Conklin <jtc@hippo.cygnus.com>
3288 * Makefile.in (ALL_MACHINES): Add v850-opc.o.
3289 * configure: (bfd_v850v_arch) Add new case.
3290 * configure.in: (bfd_v850_arch) Add new case.
3291 * v850-opc.c: New file.
3293 Mon Aug 19 15:21:38 1996 Doug Evans <dje@canuck.cygnus.com>
3295 * sparc-dis.c (print_insn_sparc): Handle little endian sparcs.
3297 Thu Aug 15 13:14:43 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
3299 * d10v-opc.c: Add additional information to the opcode
3300 table to help determinine which instructions can be done
3303 Thu Aug 15 13:11:13 1996 Stan Shebs <shebs@andros.cygnus.com>
3305 * mpw-make.sed: Update editing of include pathnames to be
3308 Thu Aug 15 16:28:41 1996 James G. Smith <jsmith@cygnus.co.uk>
3310 * arm-opc.h: Added "bx" instruction definition.
3312 Wed Aug 14 17:00:04 1996 Richard Henderson <rth@tamu.edu>
3314 * alpha-opc.c (EV4EXTHWINDEX): Field width should be 8 not 5.
3316 Mon Aug 12 14:30:37 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
3318 * d10v-opc.c (d10v_opcodes): Minor fixes to addi and bl.l.
3320 Fri Aug 9 13:21:59 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
3322 * d10v-opc.c (d10v_opcodes): Correct 'mv' unit entry to EITHER.
3324 Thu Aug 8 12:43:52 1996 Klaus Kaempf <kkaempf@progis.de>
3326 * makefile.vms: Update for alpha-opc changes.
3328 Wed Aug 7 11:55:10 1996 Ian Lance Taylor <ian@cygnus.com>
3330 * i386-dis.c (print_insn_i386): Actually return the correct value.
3331 (ONE, OP_ONE): #ifdef out; not used.
3333 Fri Aug 2 17:47:03 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
3335 * d10v-opc.c (d10v_opcodes): Added 2 accumulator sub instructions.
3336 Changed subi operand type to treat 0 as 16.
3338 Wed Jul 31 16:21:41 1996 Ian Lance Taylor <ian@cygnus.com>
3340 * m68k-opc.c: Add cpushl for the mcf5200. From Ken Rose
3343 Wed Jul 31 14:39:27 1996 James G. Smith <jsmith@cygnus.co.uk>
3345 * arm-opc.h: (arm_opcodes): Added halfword and sign-extension
3346 memory transfer instructions. Add new format string entries %h and %s.
3347 * arm-dis.c: (print_insn_arm): Provide decoding of the new
3350 Fri Jul 26 11:45:04 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
3352 * d10v-opc.c (d10v_operands): Added UNUM4S; a 4-bit accumulator shift.
3353 (d10v_opcodes): Modified accumulator shift instructions to use UNUM4S.
3355 Fri Jul 26 14:01:43 1996 Ian Lance Taylor <ian@cygnus.com>
3357 * alpha-dis.c (print_insn_alpha_osf): Remove.
3358 (print_insn_alpha_vms): Remove.
3359 (print_insn_alpha): Make globally visible. Chose the register
3360 names based on info->flavour.
3361 * disassemble.c: Always return print_insn_alpha for the alpha.
3363 Thu Jul 25 15:24:17 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
3365 * d10v-dis.c (dis_long): Handle unknown opcodes.
3367 Thu Jul 25 12:08:09 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
3369 * d10v-opc.c: Changes to support signed and unsigned numbers.
3370 All instructions with the same name that have long and short forms
3371 now end in ".l" or ".s". Divs added.
3372 * d10v-dis.c: Changes to support signed and unsigned numbers.
3374 Tue Jul 23 11:02:53 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
3376 * d10v-dis.c: Change all functions to use info->print_address_func.
3378 Mon Jul 22 15:38:53 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3380 * m68k-opc.c (m68k_opcodes): Make opcode masks for the ColdFire
3381 move ccr/sr insns more strict so that the disassembler only
3382 selects them when the addressing mode is data register.
3384 Mon Jul 22 11:25:24 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
3385 * d10v-opc.c (pre_defined_registers): Declare.
3386 * d10v-dis.c (print_operand): Now uses pre_defined_registers
3387 to pick a better name for the registers.
3389 Mon Jul 22 13:47:23 1996 Ian Lance Taylor <ian@cygnus.com>
3391 * sparc-opc.c: Fix opcode values for fpack16, and fpackfix. Fix
3392 operands for fexpand and fpmerge. From Christian Kuehnke
3393 <Christian.Kuehnke@arbi.informatik.uni-oldenburg.de>.
3395 Mon Jul 22 13:17:06 1996 Richard Henderson <rth@tamu.edu>
3397 * alpha-dis.c (print_insn_alpha): No longer the user-visible
3398 print routine. Take new regnames and cpumask arguments.
3399 Kill the environment variable nonsense.
3400 (print_insn_alpha_osf): New function. Do OSF/1 style regnames.
3401 (print_insn_alpha_vms): New function. Do VMS style regnames.
3402 * disassemble.c (disassembler): Test bfd flavour to pick
3403 between OSF and VMS routines. Default to OSF.
3405 Thu Jul 18 17:19:34 1996 Ian Lance Taylor <ian@cygnus.com>
3407 * configure.in: Call AC_SUBST (INSTALL_SHLIB).
3408 * configure: Rebuild.
3409 * Makefile.in (install): Use @INSTALL_SHLIB@.
3411 Wed Jul 17 14:39:05 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
3413 * configure: (bfd_d10v_arch) Add new case.
3414 * configure.in: (bfd_d10v_arch) Add new case.
3415 * d10v-dis.c: New file.
3416 * d10v-opc.c: New file.
3417 * disassemble.c (disassembler) Add entry for d10v.
3419 Wed Jul 17 10:12:05 1996 J.T. Conklin <jtc@rtl.cygnus.com>
3421 * m68k-opc.c (m68k_opcodes): Fix bugs in coldfire insns relating
3422 to bcc, trapfl, subxl, and wddata discovered by Andreas Schwab.
3424 Mon Jul 15 16:59:55 1996 Stu Grossman (grossman@critters.cygnus.com)
3426 * i386-dis.c: Get rid of print_insn_i8086. Use info.mach to
3427 distinguish between variants of the instruction set.
3428 * sparc-dis.c: Get rid of print_insn_sparclite. Use info.mach to
3429 distinguish between variants of the instruction set.
3431 Fri Jul 12 10:12:01 1996 Stu Grossman (grossman@critters.cygnus.com)
3433 * i386-dis.c (print_insn_i8086): New routine to disassemble using
3434 the 8086 instruction set.
3435 * i386-dis.c: General cleanups. Make most things static. Add
3436 prototypes. Get rid of static variables aflags and dflags. Pass
3437 them as args (to almost everything).
3439 Thu Jul 11 11:58:44 1996 Jeffrey A Law (law@cygnus.com)
3441 * h8300-dis.c (bfd_h8_disassemble): Handle macregs in ldmac insns.
3443 * h8300-dis.c (bfd_h8_disassemble): Handle "ldm.l" and "stm.l".
3445 * h8300-dis.c (bfd_h8_disassemble): "abs" is implicitly two
3446 if the next arg is marked with SRC_IN_DST. Gross.
3448 * h8300-dis.c (bfd_h8_disassemble): Print "exr" when
3449 we're looking for and find EXR.
3451 * h8300-dis.c (bfd_h8_disassemble): We don't have a match
3452 if we're looking for KBIT and we don't find it.
3454 * h8300-dis.c (bfd_h8_disassemble): Mask off unwanted bits
3457 * h8300-dis.c (bfd_h8_disassemble): Don't set plen for
3458 3bit immediate operands.
3460 Tue Jul 9 10:55:20 1996 Ian Lance Taylor <ian@cygnus.com>
3462 * Released binutils 2.7.
3464 * alpha-opc.c: Add new case of "mov". From Klaus Kaempf
3465 <kkaempf@progis.ac-net.de>.
3467 Thu Jul 4 11:42:51 1996 Ian Lance Taylor <ian@cygnus.com>
3469 * alpha-opc.c: Correct second case of "mov" to use OPRL.
3471 Wed Jul 3 16:03:47 1996 Stu Grossman (grossman@critters.cygnus.com)
3473 * sparc-dis.c (print_insn_sparclite): New routine to print
3474 sparclite instructions.
3476 Wed Jul 3 14:21:18 1996 J.T. Conklin <jtc@rtl.cygnus.com>
3478 * m68k-opc.c (m68k_opcodes): Add coldfire support.
3480 Fri Jun 28 15:53:51 1996 Doug Evans <dje@canuck.cygnus.com>
3482 * sparc-opc.c (asi_table): Add #ASI_N, #ASI_N_L, #ASI_NUCLEUS,
3483 #ASI_NUCLEUS_LITTLE. Rename #ASI_AS_IF_USER_{PRIMARY,SECONDARY}_L
3484 to #ASI_AS_IF_USER_{PRIMARY,SECONDARY}_LITTLE.
3486 Tue Jun 25 22:58:31 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
3488 * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir):
3489 Use autoconf-set values.
3490 (docdir, oldincludedir): Removed.
3491 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
3493 Fri Jun 21 13:53:36 1996 Richard Henderson <rth@tamu.edu>
3495 * alpha-opc.c: New file.
3496 * alpha-opc.h: Remove.
3497 * alpha-dis.c: Complete rewrite to use new opcode table.
3498 * configure.in: For bfd_alpha_arch, use alpha-opc.o.
3499 * configure: Rebuild with autoconf 2.10.
3500 * Makefile.in (ALL_MACHINES): Add alpha-opc.o.
3501 (alpha-dis.o): Depend upon $(INCDIR)/opcode/alpha.h, not
3503 (alpha-opc.o): New target.
3505 Wed Jun 19 15:55:12 1996 Ian Lance Taylor <ian@cygnus.com>
3507 * sparc-dis.c (print_insn_sparc): Remove unused local variable i.
3508 Set imm_added_to_rs1 even if the source and destination register
3511 * sparc-opc.c: Add some two operand forms of the wr instruction.
3513 Tue Jun 18 15:58:27 1996 Jeffrey A. Law <law@rtl.cygnus.com>
3515 * h8300-dis.c (bfd_h8_disassemble): Rename "hmode" argument
3518 * disassemble.c (disassembler): Handle H8/S.
3519 * h8300-dis.c (print_insn_h8300s): New function for H8/S.
3521 Tue Jun 18 18:06:50 1996 Ian Lance Taylor <ian@cygnus.com>
3523 * sparc-opc.c: Add beq/teq as aliases for be/te.
3525 * ppc-opc.c: Fix fcmpo opcode. From Sergei Steshenko
3526 <sergei@msil.sps.mot.com>.
3528 Tue Jun 18 15:08:54 1996 Klaus Kaempf <kkaempf@progis.de>
3530 * makefile.vms: New file.
3532 * alpha-dis.c (print_insn_alpha): Print lda ra,lit(rz) as mov.
3534 Mon Jun 10 18:50:38 1996 Ian Lance Taylor <ian@cygnus.com>
3536 * h8300-dis.c (bfd_h8_disassemble): Always print ABS8MEM with :8,
3539 Tue Jun 4 09:15:53 1996 Doug Evans <dje@canuck.cygnus.com>
3541 * i386-dis.c (OP_OFF): Call append_prefix.
3543 Thu May 23 15:18:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3545 * ppc-opc.c (instruction encoding macros): Add explicit casts to
3546 unsigned long to silence a warning from the Solaris PowerPC
3549 Thu Apr 25 19:33:32 1996 Doug Evans <dje@canuck.cygnus.com>
3551 * sparc-opc.c (sparc_opcodes): Add ultrasparc vis extensions.
3553 Mon Apr 22 17:12:35 1996 Doug Evans <dje@blues.cygnus.com>
3555 * sparc-dis.c (X_IMM,X_SIMM): New macros.
3557 (print_insn_sparc): Merge cases i,I,j together. New cases X,Y.
3558 * sparc-opc.c (sparc_opcodes): Use X for 5 bit shift constants,
3559 Y for 6 bit shift constants. Rewrite entries for crdcxt, cwrcxt,
3560 cpush, cpusha, cpull sparclet insns.
3562 Wed Apr 17 14:20:22 1996 Doug Evans <dje@canuck.cygnus.com>
3564 * sparc-dis.c (compute_arch_mask): Replace ANSI style def with K&R.
3566 Thu Apr 11 17:30:02 1996 Ian Lance Taylor <ian@cygnus.com>
3568 * sparc-opc.c: Set F_FBR on floating point branch instructions.
3569 Set F_FLOAT on other floating point instructions.
3571 Mon Apr 8 17:02:48 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3573 * ppc-opc.c (PPC860): Macro for 860/821 specific instructions and
3575 (powerpc_opcodes): Add 860/821 specific SPRs.
3577 Mon Apr 8 14:00:44 1996 Ian Lance Taylor <ian@cygnus.com>
3579 * configure.in: Permit --enable-shared to specify a list of
3580 directories. Set and substitute BFD_PICLIST.
3581 * configure: Rebuild.
3582 * Makefile.in (BFD_PICLIST): Rename from BFD_LIST. Change all
3583 uses. Set to @BFD_PICLIST@.
3585 Fri Apr 5 17:12:27 1996 Jeffrey A Law (law@cygnus.com)
3587 * h8300-dis.c (bfd_h8_disassemble): Use "bit" for L_3 immediates,
3588 not "abs", which may be needed for the absolute in something
3589 like btst #0,@10:8. Print L_3 immediates separately from other
3590 immediates. Change ABSMOV reference to ABS8MEM.
3592 Wed Apr 3 10:40:45 1996 Doug Evans <dje@canuck.cygnus.com>
3594 * sparc-dis.c (opcodes_initialized): Move inside print_insn_sparc.
3595 (current_arch_mask): New static global.
3596 (compute_arch_mask): New static function.
3597 (print_insn_sparc): Delete sparc_v9_p. New static local
3598 current_mach. Resort opcode table if current_mach changes.
3599 Generalize "insn not supported" test.
3600 (compare_opcodes): Prefer supported opcodes to nonsupported ones.
3601 Delete test for v9/!v9.
3602 * sparc-opc.c (MASK_*): Use SPARC_OPCODE_ARCH_MASK.
3604 (brfc): Split into CBR and FBR for coprocessor/fp branches.
3605 (brfcx): Renamed to FBRX.
3606 (condfc): Renamed to CONDFC. Pass v6notlet to CBR (standard
3607 coprocessor mnemonics are not supported on the sparclet).
3608 (condf): Renamed to CONDF.
3609 (SLCBCC2): Delete F_ALIAS flag.
3611 Sat Mar 30 21:45:59 1996 Doug Evans <dje@canuck.cygnus.com>
3613 * sparc-opc.c (sparc_opcodes): rd must be 0 for
3614 mov foo,{%y,%psr,%wim,%tbr}. Support mov foo,%asrX.
3616 Fri Mar 29 13:02:40 1996 Ian Lance Taylor <ian@cygnus.com>
3618 * Makefile.in (config.status): Depend upon BFD VERSION file, so
3619 that the shared library version number is set correctly.
3621 Tue Mar 26 15:47:14 1996 Ian Lance Taylor <ian@cygnus.com>
3623 * configure.in: Use AC_CHECK_TOOL to find ar and ranlib. From
3624 Miles Bader <miles@gnu.ai.mit.edu>.
3625 * configure: Rebuild.
3627 Sat Mar 16 13:04:07 1996 Fred Fish <fnf@cygnus.com>
3629 * z8kgen.c (internal, gas): Call xmalloc rather than unchecked
3632 Tue Mar 12 12:14:10 1996 Ian Lance Taylor <ian@cygnus.com>
3634 * configure: Rebuild with autoconf 2.8.
3636 Thu Mar 7 15:11:10 1996 Doug Evans <dje@charmed.cygnus.com>
3638 * sparc-dis.c (print_insn_sparc): Handle 'O' operand char like 'r'.
3639 * sparc-opc.c (sparc_opcodes): Use 'O' operand char for `neg reg'.
3641 Tue Mar 5 15:51:57 1996 Ian Lance Taylor <ian@cygnus.com>
3643 * configure.in: Don't set SHLIB or SHLINK to an empty string,
3644 since they appear as targets in Makefile.in.
3645 * configure: Rebuild.
3647 Mon Feb 26 13:03:40 1996 Stan Shebs <shebs@andros.cygnus.com>
3649 * mpw-make.sed: Edit out shared library support bits.
3651 Tue Feb 20 20:48:28 1996 Doug Evans <dje@charmed.cygnus.com>
3653 * sparc-opc.c (v8,v6notv9): Add MASK_SPARCLET.
3654 (sparc_opcode_archs): Add MASK_V8 to sparclet entry.
3655 (sparc_opcodes): Add sparclet insns.
3656 (sparclet_cpreg_table): New static local.
3657 (sparc_{encode,decode}_sparclet_cpreg): New functions.
3658 * sparc-dis.c (print_insn_sparc): Handle sparclet cpregs.
3660 Tue Feb 20 11:02:44 1996 Alan Modra <alan@mullet.Levels.UniSA.Edu.Au>
3662 * i386-dis.c (index16): New static variable.
3663 (putop): Print jecxz for 32 bit case, jcxz for 16 bit, not the
3665 (OP_indirE): Return result of OP_E.
3666 (OP_E): Check for 16 bit addressing mode, and disassemble
3667 correctly. Optimised 32 bit case a little. Don't print
3668 "(base,index,scale)" when sib specifies only an offset.
3670 Mon Feb 19 12:32:17 1996 Ian Lance Taylor <ian@cygnus.com>
3672 * configure.in: Set and substitute SHLIB_DEP.
3673 * configure: Rebuild.
3674 * Makefile.in (SHLIB_DEP): New variable.
3675 (LIBIBERTY_LISTS, BFD_LIST): New variables.
3676 (stamp-piclist): Depend upon LIBIBERTY_LISTS and BFD_LIST. If
3677 COMMON_SHLIB, add them to piclist with appropriate modifications.
3678 ($(SHLIB)): Depend upon $(SHLIB_DEP). Don't check COMMON_SHLIB
3679 here: just use piclist.
3681 Mon Feb 19 02:03:50 1996 Doug Evans <dje@charmed.cygnus.com>
3683 * sparc-dis.c (MASK_V9,V9_ONLY_P,V9_P): Define.
3684 (print_insn_sparc): Rewrite v9/not-v9 tests.
3685 (compare_opcodes): Likewise.
3686 * sparc-opc.c (MASK_<ARCH>): Define.
3687 (v6,v7,v8,sparclite,v9,v9a): Redefine.
3688 (sparclet,v6notv9): Define.
3689 (sparc_opcode_archs): Delete member `conflicts'. Add `supported'.
3690 (sparc_opcodes): Delete F_NOTV9, use v6notv9 instead.
3692 Thu Feb 15 14:45:05 1996 Ian Lance Taylor <ian@cygnus.com>
3694 * configure.in: Call AC_PROG_CC before configure.host.
3695 * configure: Rebuild.
3697 * Makefile.in (SONAME): Remove leading ../bfd/ from $(SHLIB).
3699 Wed Feb 14 19:01:27 1996 Alan Modra <alan@spri.levels.unisa.edu.au>
3701 * i386-dis.c (onebyte_has_modrm): New static array.
3702 (twobyte_has_modrm): New static array.
3703 (print_insn_i386): Only fetch the mod/reg/rm byte if it is needed.
3705 Tue Feb 13 15:15:01 1996 Ian Lance Taylor <ian@cygnus.com>
3707 * Makefile.in ($(SHLINK)): Check ts against $(SHLIB), not
3710 Mon Feb 12 16:26:06 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3712 * ppc-opc.c (PPC): Undef, so default defination on Windows NT
3715 Wed Feb 7 13:59:54 1996 Ian Lance Taylor <ian@cygnus.com>
3717 * m68k-opc.c (m68k_opcodes): The bkpt instruction is supported on
3718 m68010up, not just m68020up | cpu32.
3720 * Makefile.in (SONAME): New variable.
3721 ($(SHLINK)): Make a link to the transformed name, as well.
3722 (stamp-tshlink): New target.
3723 (install): Skip stamp-tshlink during install.
3725 Tue Feb 6 12:28:54 1996 Ian Lance Taylor <ian@cygnus.com>
3727 * configure.in: Call AC_ARG_PROGRAM.
3728 * configure: Rebuild.
3729 * Makefile.in (program_transform_name): New variable.
3730 (install): Transform library name before installing it.
3732 Mon Feb 5 16:14:42 1996 Ian Lance Taylor <ian@cygnus.com>
3734 * i960-dis.c (mem): Add HX dcinva instruction.
3736 Support for building as a shared library, based on patches from
3737 Alan Modra <alan@spri.levels.unisa.edu.au>:
3738 * configure.in: Add AC_ARG_ENABLE for shared and commonbfdlib.
3739 New substitutions: ALLLIBS, PICFLAG, SHLIB, SHLIB_CC,
3740 SHLIB_CFLAGS, COMMON_SHLIB, SHLINK.
3741 * configure: Rebuild.
3742 * Makefile.in (ALLLIBS): New variable.
3743 (PICFLAG, SHLIB, SHLIB_CC, SHLIB_CFLAGS): New variables.
3744 (COMMON_SHLIB, SHLINK): New variables.
3745 (.c.o): If PICFLAG is set, compile twice, once PIC, once normal.
3746 (STAGESTUFF): Remove variable.
3747 (all): Depend upon $(ALLLIBS) rather than $(TARGETLIB).
3748 (stamp-piclist, piclist): New targets.
3749 ($(SHLIB), $(SHLINK)): New targets.
3750 ($(OFILES)): Depend upon stamp-picdir.
3751 (disassemble.o): Build twice if PICFLAG is set.
3752 (MOSTLYCLEAN): Add pic/*.o.
3753 (clean): Remove $(SHLIB), $(SHLINK), piclist, and stamp-piclist.
3754 (distclean): Remove pic and stamp-picdir.
3755 (install): Install shared libraries.
3756 (stamp-picdir): New target.
3758 Fri Feb 2 17:15:25 1996 Doug Evans <dje@charmed.cygnus.com>
3760 * sparc-dis.c (print_insn_sparc): Delete DISASM_RAW_INSN support.
3761 Print unknown instruction as "unknown", rather than in hex.
3763 Tue Jan 30 14:06:08 1996 Ian Lance Taylor <ian@cygnus.com>
3765 * dis-buf.c: Include "sysdep.h" before "dis-asm.h".
3767 Thu Jan 25 20:24:07 1996 Doug Evans <dje@charmed.cygnus.com>
3769 * sparc-opc.c (sparc_opcode_archs): Mark v8/sparclite as conflicting.
3771 Thu Jan 25 11:56:49 1996 Ian Lance Taylor <ian@cygnus.com>
3773 * i386-dis.c (print_insn_i386): Only fetch the mod/reg/rm byte
3774 when necessary. From Ulrich Drepper
3775 <drepper@myware.rz.uni-karlsruhe.de>.
3777 Thu Jan 25 03:39:10 1996 Doug Evans <dje@charmed.cygnus.com>
3779 * sparc-dis.c (print_insn_sparc): NUMOPCODES replaced with
3780 sparc_num_opcodes. Update architecture enum values.
3781 * sparc-opc.c (sparc_opcode_archs): Replaces architecture_pname.
3782 (sparc_opcode_lookup_arch): New function.
3783 (sparc_num_opcodes): Renamed from bfd_sparc_num_opcodes.
3784 (sparc_opcodes): Add v9a shutdown insn.
3786 Mon Jan 22 08:29:59 1996 Doug Evans <dje@charmed.cygnus.com>
3788 * sparc-dis.c (print_insn_sparc): Renamed from print_insn.
3789 If DISASM_RAW_INSN, print insn in hex. Handle v9a as opcode
3791 (print_insn_sparc64): Deleted.
3792 * disassemble.c (disassembler, case bfd_arch_sparc): Always use
3795 * sparc-opc.c (architecture_pname): Add v9a.
3797 Fri Jan 12 14:35:58 1996 David Mosberger-Tang <davidm@AZStarNet.com>
3799 * alpha-opc.h (alpha_insn_set): VAX floating point opcode was
3800 incorrectly defined as 0x16 when it should be 0x15.
3801 (FLOAT_FORMAT_MASK): function code is 11 bits, not just 7 bits!
3802 (alpha_insn_set): added cvtst and cvttq float ops. Also added
3803 excb (exception barrier) which is defined in the Alpha
3804 Architecture Handbook version 2.
3805 * alpha-dis.c (print_insn_alpha): Fixed special-case decoding for
3806 OPERATE_FORMAT_CODE type instructions. The bug caused mulq to be
3807 disassembled as or, for example.
3809 Wed Jan 10 12:37:22 1996 Ian Lance Taylor <ian@cygnus.com>
3811 * mips-dis.c (print_insn_arg): Print cases 'i' and 'u' in hex.
3812 (_print_insn_mips): Change i from int to unsigned int.
3814 Thu Jan 4 17:21:10 1996 David Edelsohn <edelsohn@mhpcc.edu>
3816 * ppc-opc.c (powerpc_opcodes): tlbi POWER opcode form different
3817 from tlbie PowerPC opcode. Add PPC603 tlbld and tlbli.
3819 Thu Dec 28 13:29:19 1995 John Hassey <hassey@rtp.dg.com>
3821 * i386-dis.c: Added Pentium Pro instructions.
3823 Tue Dec 19 22:56:35 1995 Michael Meissner <meissner@tiktok.cygnus.com>
3825 * ppc-opc.c (fsqrt{,.}): Duplicate for PowerPC in addition to
3828 Fri Dec 15 14:14:15 1995 J.T. Conklin <jtc@rtl.cygnus.com>
3830 * sh-opc.h (sh_nibble_type): Added REG_B.
3831 (sh_arg_type): Added A_REG_B.
3832 (sh_table): Added pref and bank reg versions of ldc, ldc.l, stc
3834 * sh-dis.c (print_insn_shx): Added cases for REG_B and A_REG_B.
3836 Fri Dec 15 16:44:31 1995 Ian Lance Taylor <ian@cygnus.com>
3838 * disassemble.c (disassembler): Use new bfd_big_endian macro.
3840 Tue Dec 12 12:22:24 1995 Ian Lance Taylor <ian@cygnus.com>
3842 * Makefile.in (distclean): Remove stamp-h. From Ronald
3843 F. Guilmette <rfg@monkeys.com>.
3845 Tue Dec 5 13:42:44 1995 Stan Shebs <shebs@andros.cygnus.com>
3847 From David Mosberger-Tang <davidm@azstarnet.com>:
3848 * alpha-dis.c (print_insn_alpha): fixed decoding of cpys
3851 Mon Dec 4 12:29:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
3853 * sh-opc.h (sh_arg_type): Added A_SSR and A_SPC.
3854 (sh_table): Added many SH3 opcodes.
3855 * sh-dis.c (print_insn_shx): Added cases for A_SSR and A_SPC.
3857 Fri Dec 1 07:42:18 1995 Michael Meissner <meissner@tiktok.cygnus.com>
3859 * ppc-opc.c (subfc., subfco): Mark this PPCCOM, not PPC.
3860 (subco,subco.): Mark this PPC, not PPCCOM.
3862 Mon Nov 27 13:09:52 1995 Ian Lance Taylor <ian@cygnus.com>
3864 * configure: Rebuild with autoconf 2.7.
3866 Tue Nov 21 18:28:06 1995 Ian Lance Taylor <ian@cygnus.com>
3868 * configure: Rebuild with autoconf 2.6.
3870 Wed Nov 15 19:02:53 1995 Ken Raeburn <raeburn@cygnus.com>
3872 * configure.in: Sort list of architectures. Accept but do nothing
3873 for alliant, convex, pyramid, romp, and tahoe.
3875 Wed Nov 8 20:18:59 1995 Ian Lance Taylor <ian@cygnus.com>
3877 * a29k-dis.c (print_special): Change num to unsigned int.
3879 Wed Nov 8 20:10:35 1995 Eric Freudenthal <freudenthal@nyu.edu>
3881 * a29k-dis.c (print_insn): Cast insn24 to unsigned long when
3884 Tue Nov 7 15:21:06 1995 Ian Lance Taylor <ian@cygnus.com>
3886 * configure.in: Call AC_CHECK_PROG to find and cache AR.
3887 * configure: Rebuilt.
3889 Mon Nov 6 17:39:47 1995 Harry Dolan <dolan@ssd.intel.com>
3891 * configure.in: Add case for bfd_i860_arch.
3892 * configure: Rebuild.
3894 Fri Nov 3 12:45:31 1995 Ian Lance Taylor <ian@cygnus.com>
3896 * m68k-opc.c (m68k_opcodes): Correct fmoveml operands.
3897 * m68k-dis.c (NEXTSINGLE): Change i to unsigned int.
3898 (NEXTDOUBLE): Likewise.
3899 (print_insn_m68k): Don't match fmoveml if there is more than one
3900 register in the list.
3901 (print_insn_arg): Handle a place of '8' for a type of 'L'.
3903 Thu Nov 2 23:06:33 1995 Ian Lance Taylor <ian@cygnus.com>
3905 * m68k-opc.c: Use #W rather than #w.
3906 * m68k-dis.c (print_insn_arg): Handle new 'W' place.
3908 Wed Nov 1 13:30:24 1995 Ian Lance Taylor <ian@cygnus.com>
3910 * m68k-opc.c (m68k_opcode_aliases): Add dbfw as an alias for dbf,
3911 and likewise for all the dbxx opcodes.
3913 Mon Oct 30 20:50:40 1995 Fred Fish <fnf@cygnus.com>
3915 * arc-dis.c: Include elf-bfd.h rather than libelf.h.
3917 Mon Oct 23 11:11:34 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
3919 * mips-opc.c: Added shorthand (V1) for INSN_4100 manifest. Added
3920 the VR4100 specific instructions to the mips_opcodes structure.
3922 Thu Oct 19 11:05:23 1995 Stan Shebs <shebs@andros.cygnus.com>
3924 * mpw-config.in, mpw-make.sed: Remove ugly workaround for
3925 ugly Metrowerks bug in CW6, is fixed in CW7.
3927 Mon Oct 16 12:59:01 1995 Michael Meissner <meissner@tiktok.cygnus.com>
3929 * ppc-opc.c (whole file): Add flags for common/any support.
3931 Tue Oct 10 11:06:07 1995 Fred Fish <fnf@cygnus.com>
3933 * Makefile.in (BISON): Remove macro.
3934 (FLAGS_TO_PASS): Remove BISON.
3936 Fri Oct 6 16:26:45 1995 Ken Raeburn <raeburn@cygnus.com>
3938 Mon Sep 25 22:49:32 1995 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3940 * m68k-dis.c (print_insn_m68k): Recognize all two-word
3941 instructions that take no args by looking at the match mask.
3942 (print_insn_arg): Always print "%" before register names.
3943 [case 'c']: Use "nc" for the no-cache case, as recognized by gas.
3944 [case '_']: Don't print "@#" before address.
3945 [case 'J']: Use "%s" as format string, not register name.
3946 [case 'B']: Treat place == 'C' like 'l' and 'L'.
3948 Thu Oct 5 22:16:20 1995 Ken Raeburn <raeburn@cygnus.com>
3950 * i386-dis.c: Describe cmpxchg8b operand, and spell the opcode
3953 Tue Oct 3 08:30:20 1995 steve chamberlain <sac@slash.cygnus.com>
3955 From David Mosberger-Tang <davidm@azstarnet.com>
3957 * alpha-opc.h (MEMORY_FUNCTION_FORMAT_MASK): added.
3958 (alpha_insn_set): added definitions for VAX floating point
3959 instructions (Unix compilers don't generate these, but handcoded
3960 assembly might still use them).
3962 * alpha-dis.c (print_insn_alpha): added support for disassembling
3963 the miscellaneous instructions in the Alpha instruction set.
3965 Tue Sep 26 18:47:20 1995 Stan Shebs <shebs@andros.cygnus.com>
3967 * mpw-config.in: Add m68k-opc.c.o to BFD_MACHINES for m68k,
3968 no longer create sysdep.h, sed ppc-opc.c to work around a
3969 serious Metrowerks C bug.
3970 * mpw-make.in: Remove.
3971 * mpw-make.sed: New file, used by mpw-configure to edit
3972 Makefile.in into an MPW makefile.
3974 Wed Sep 20 12:55:28 1995 Ian Lance Taylor <ian@cygnus.com>
3976 * Makefile.in (maintainer-clean): New synonym for realclean.
3978 Tue Sep 19 15:28:36 1995 Ian Lance Taylor <ian@cygnus.com>
3980 * m68k-opc.c: Split pmove patterns which use 'P' into patterns
3981 which use '0', '1', and '2' instead. Specify the proper size for
3982 a pmove immediate operand. Correct the pmovefd patterns to be
3983 moves to a register, not from a register.
3984 * m68k-dis.c (print_insn_arg): Replace 'P' with '0', '1', '2'.
3986 Thu Sep 14 11:58:22 1995 Doug Evans <dje@canuck.cygnus.com>
3988 * sparc-opc.c (sparc_opcodes): Mark all insns that reference
3989 %psr, %wim, %tbr as F_NOTV9.
3991 Fri Sep 8 01:07:38 1995 Ian Lance Taylor <ian@cygnus.com>
3993 * Makefile.in (Makefile): Just rebuild Makefile when running
3995 (config.h, stamp-h): New targets.
3996 * configure.in: Call AC_CONFIG_HEADER and AC_CANONICAL_SYSTEM
3997 earlier. Don't bother to call AC_ARG_PROGRAM. Touch stamp-h when
3998 rebuilding config.h.
3999 * configure: Rebuild.
4001 * mips-opc.c: Change unaligned loads and stores with "t,A"
4002 operands to use "t,A(b)".
4004 Thu Sep 7 19:02:46 1995 Jim Wilson <wilson@chestnut.cygnus.com>
4006 * sh-dis.c (print_insn_shx): Add F_FR0 support.
4008 Thu Sep 7 19:02:46 1995 Jim Wilson <wilson@chestnut.cygnus.com>
4010 * sh-dis.c (print_insn_shx): Change loop over op->arg[n] to iterate
4011 until 3 instead of until 2.
4013 Wed Sep 6 21:21:33 1995 Ian Lance Taylor <ian@cygnus.com>
4015 * Makefile.in (ALL_CFLAGS): Define.
4016 (.c.o, disassemble.o): Use $(ALL_CFLAGS).
4017 (MOSTLYCLEAN): Add config.log.
4018 (distclean): Don't remove config.log.
4019 * configure.in: Substitute HDEFINES.
4020 * configure: Rebuild.
4022 Wed Sep 6 15:08:09 1995 Jim Wilson <wilson@chestnut.cygnus.com>
4024 * sh-opc.h (sh_arg_type): Add F_FR0.
4025 (sh_table, case fmac): Add F_FR0 as first argument.
4027 Wed Sep 6 15:08:09 1995 Jim Wilson <wilson@chestnut.cygnus.com>
4029 * sh-opc.h (sh_opcode_info): Increase arg array size to 4.
4031 Tue Sep 5 18:28:10 1995 Doug Evans <dje@canuck.cygnus.com>
4033 * sparc-dis.c: Remove all references to NO_V9.
4035 Tue Sep 5 20:03:26 1995 Ian Lance Taylor <ian@cygnus.com>
4037 * aclocal.m4: Just include ../bfd/aclocal.m4.
4038 * configure: Rebuild.
4040 Tue Sep 5 16:09:59 1995 Doug Evans <dje@canuck.cygnus.com>
4042 * sparc-dis.c (X_DISP19): Define.
4043 (print_insn, case 'G'): Use it.
4044 (print_insn, case 'L'): Sign extend displacement.
4046 Mon Sep 4 14:28:46 1995 Ian Lance Taylor <ian@cygnus.com>
4048 * configure.in: Run ../bfd/configure.host before AC_PROG_CC.
4049 Subsitute CFLAGS and AR. Call AC_PROG_INSTALL. Don't substitute
4050 host_makefile_frag or frags.
4051 * aclocal.m4: New file.
4052 * configure: Rebuild.
4053 * Makefile.in (INSTALL): Set to @INSTALL@.
4054 (INSTALL_PROGRAM): Set to @INSTALL_PROGRAM@.
4055 (INSTALL_DATA): Set to @INSTALL_DATA@.
4057 (AR_FLAGS): Set to rc rather than qc.
4058 (CC): Define as @CC@.
4059 (CFLAGS): Set to @CFLAGS@.
4060 (@host_makefile_frag@): Remove.
4061 (config.status): Remove dependency upon @frags@.
4063 * configure.in: ../bfd/config.bfd now just sets shell variables.
4064 Use them rather than looking through target Makefile fragments.
4065 * configure: Rebuild.
4067 Thu Aug 31 12:35:32 1995 Jim Wilson <wilson@chestnut.cygnus.com>
4069 * sh-opc.h (ftrc): Change FPUL_N to FPUL_M.
4071 Wed Aug 30 13:52:28 1995 Doug Evans <dje@canuck.cygnus.com>
4073 * sparc-opc.c (sparc_opcodes): Delete duplicate wr %y insn.
4074 Add clrx, iprefetch, signx, clruw, cas, casl, casx, casxl synthetic
4077 * sparc-opc.c (sparc_opcodes): Fix prefetcha insn.
4078 (lookup_{name,value}): New functions.
4079 (prefetch_table): New static local.
4080 (sparc_{encode,decode}_prefetch): New functions.
4081 * sparc-dis.c (print_insn): Handle '*' arg (prefetch function).
4083 Wed Aug 30 11:11:58 1995 Jim Wilson <wilson@chestnut.cygnus.com>
4085 * sh-opc.h: Add blank lines to improve readabililty of sh3e
4088 Wed Aug 30 11:09:38 1995 Jim Wilson <wilson@chestnut.cygnus.com>
4090 * sh-dis.c: Correct comment on first line of file.
4092 Tue Aug 29 15:37:18 1995 Doug Evans <dje@canuck.cygnus.com>
4094 * disassemble.c (disassembler): Handle bfd_mach_sparc64.
4096 * sparc-opc.c (asi, membar): New static locals.
4097 (sparc_{encode,decode}_{asi,membar}): New functions.
4098 (sparc_opcodes, membar insn): Fix.
4099 * sparc-dis.c (print_insn): Call sparc_decode_asi.
4100 Support decoding of membar masks.
4103 Sat Aug 26 21:22:48 1995 Ian Lance Taylor <ian@cygnus.com>
4105 * m68k-opc.c (m68k_opcode_aliases): Add br, brs, brb, brw, brl.
4107 Mon Aug 21 17:33:36 1995 Ian Lance Taylor <ian@cygnus.com>
4109 * m68k-opc.c (m68k_opcode_aliases): Add bhib as an alias for bhis,
4110 and likewise for the other branches. Add bhs as an alias for bcc,
4111 and likewise for the size variants. Add dbhs as an alias for
4114 Fri Aug 11 13:40:24 1995 Jeff Law (law@snake.cs.utah.edu)
4116 * sh-opc.h (FP sts instructions): Update to match reality.
4118 Mon Aug 7 16:12:58 1995 Ian Lance Taylor <ian@cygnus.com>
4120 * m68k-dis.c: (fpcr_names): Add % before all register names.
4121 (reg_names): Likewise.
4122 (print_insn_arg): Don't explicitly print % before register names.
4123 Add % before register names in static array names. In case 'r',
4124 print data registers as `@(Dn)', not `Dn@'. When printing a
4125 memory address, don't print @# before it.
4126 (print_indexed): Change base_disp and outer_disp from int to
4127 bfd_vma. Print using MIT syntax, not mutant invalid Motorola
4128 syntax. Sign extend 8 byte displacement correctly.
4129 (print_base): Print using MIT syntax. Print zpc when appropriate.
4130 Change parameter disp from int to bfd_vma.
4132 * m68k-opc.c (m68k_opcode_aliases): Add jsrl and jsrs as aliases
4135 Mon Aug 7 02:21:40 1995 Jeff Law (law@snake.cs.utah.edu)
4137 * sh-dis.c (print_insn_shx): Handle new operand types F_REG_N,
4138 F_REG_M, FPSCR_M, FPSCR_N, FPUL_M and FPUL_N.
4139 * sh-opc.h (sh_arg_type): Add new operand types.
4140 (sh_table): Add new opcodes from SH3E Floating Point ISA.
4142 Sat Aug 5 16:50:14 1995 Fred Fish <fnf@cygnus.com>
4144 * Makefile.in (distclean): Remove generated file config.h.
4146 Sat Aug 5 16:50:14 1995 Fred Fish <fnf@cygnus.com>
4148 * Makefile.in (distclean): Remove generated file config.h.
4150 Wed Aug 2 18:33:40 1995 Ian Lance Taylor <ian@cygnus.com>
4152 * m68k-opc.c: New file, holding tables from include/opcode/m68k.h.
4154 * m68k-dis.c: Remove BREAK_UP_BIG_DECL stuff.
4156 (print_insn_m68k): Change d to be const. Use m68k_numopcodes
4157 rather than numopcodes. Use m68k_opcodes rather than removed
4158 opcode function. Don't check F_ALIAS.
4159 (print_insn_arg): Change first parameter to be const char *.
4160 * Makefile.in (ALL_MACHINES): Add m68k-opc.o.
4161 (m68k-opc.o): New target.
4162 * configure.in: Build m68k-opc.o for bfd_m68k_arch.
4163 * configure: Rebuild.
4165 Wed Aug 2 08:23:38 1995 Doug Evans <dje@canuck.cygnus.com>
4167 * sparc-dis.c (HASH_SIZE, HASH_INSN): Define.
4168 (opcode_bits, opcode_hash_table): New variables.
4169 (opcodes_initialized): Renamed from opcodes_sorted.
4170 (build_hash_table): New function.
4171 (is_delayed_branch): Use hash table.
4172 (print_insn): Renamed from print_insn_sparc, made static.
4173 Build and use hash table. If !sparc64, ignore sparc64 insns,
4174 and vice-versa if sparc64.
4175 (print_insn_sparc, print_insn_sparc64): New functions.
4176 (compare_opcodes): Move sparc64 opcodes to end.
4177 Print commutative insns with constant second.
4178 * sparc-opc.c (all non-v9 insns): Use flag F_NOTV9 instead of F_ALIAS.
4180 Tue Aug 1 00:12:49 1995 Ian Lance Taylor <ian@cygnus.com>
4182 * sh-dis.c (print_insn_shx): Remove unused local dslot. Use
4183 print_address_func for A_BDISP12 and A_BDISP8. Correct test which
4184 avoids printing a delay slot in a delay slot.
4185 * sh-opc.h (sh_table): Fully bracket last entry.
4187 Mon Jul 31 12:04:47 1995 Doug Evans <dje@canuck.cygnus.com>
4189 * sparc-opc.c (sllx, srax, srlx): Fix disassembly.
4191 Wed Jul 12 00:59:34 1995 Ken Raeburn <raeburn@kr-pc.cygnus.com>
4193 * configure.in: Get host_makefile_frag from ${srcdir}.
4195 * configure.in: Autoconfiscated. Check for string[s].h. Create
4196 config.h from config.in. Don't set up sysdep.h link.
4197 * sysdep.h: New file.
4198 * configure, config.in: New files, generated from configure.in.
4199 * Makefile.in: Updated to be processed autoconf-style.
4200 (distclean): Keep sysdep.h. Remove config.log and config.cache.
4201 (Makefile): Depend on config.status.
4202 (config.status): New rule.
4203 * configure.bat: Update Makefile substitutions.
4205 Tue Jul 11 14:23:37 1995 Jeff Spiegel <jeffs@lsil.com>
4207 * mips-opc.c (L1): Define.
4208 (mips_opcodes): Add R4010 instructions: flushi, flushd, flushid,
4209 addciu, madd, maddu, ffc, ffs, msub, msubu, selsi, selsr, waiti,
4212 Tue Jul 11 11:49:49 1995 Ian Lance Taylor <ian@cygnus.com>
4214 * mips-opc.c (mips_opcodes): For the move pseudo-op, prefer daddu
4215 if ISA 3 and addu otherwise, replacing or, since some MIPS chips
4216 have multiple add units but only a single logical unit.
4218 * ppc-opc.c (powerpc_operands): Change CR to use a bitsize of 3,
4219 shifted by 18, without any insertion or extraction function.
4220 (insert_cr, extract_cr): Remove.
4222 Wed Jun 21 20:05:39 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
4224 * m68k-dis.c (print_insn_arg, print_indexed): Print "%" before
4227 Thu Jun 15 17:23:31 1995 Stan Shebs <shebs@andros.cygnus.com>
4229 * mpw-config.in: Add sh and i386 configs, remove sparc config.
4230 * sh-opc.h: Add copyright.
4232 Mon Jun 5 03:30:43 1995 Ken Raeburn <raeburn@kr-laptop.cygnus.com>
4234 * Makefile.in (crunch-m68k): Delete extra target accidentally
4235 checked in a while ago.
4237 Wed May 24 16:22:13 1995 Jim Wilson <wilson@chestnut.cygnus.com>
4239 * sh-opc.h (sh_table): Add SH3 support.
4241 Wed May 24 14:16:08 1995 Steve Chamberlain <sac@slash.cygnus.com>
4243 * sh-opc.h: Added bsrf and braf.
4245 Wed May 10 14:28:16 1995 Richard Earnshaw (rearnsha@armltd.co.uk)
4247 * arm-opc.h (arm_opcodes): Add 64-bit multiply patterns. Delete
4248 bogus [ls]fm{ea,fd} patterns.
4250 * arm-opc.h (arm_opcodes): Correct typos in stm, ldm, std, and ldc.
4251 * arm-dis.c (print_insn_arm): Make GIVEN a parameter, don't try and
4252 initialize it from memory. Make function static.
4253 (print_insn_{big,little}_arm): New functions.
4254 * disassemble.c (disassembler, case bfd_arch_arm): Disassemble for
4255 the correct endianness.
4257 Mon Apr 24 14:18:05 1995 Jason Molenda (crash@phydeaux.cygnus.com>
4259 * sh-opc.h (sh_nibble_type, sh_arg_type): remove trailing , from
4262 Wed Apr 19 14:07:03 1995 Michael Meissner <meissner@tiktok.cygnus.com>
4264 * m68k-dis.c (opcode): Finish change made by Kung Hsu on April
4265 17th, so that it builds again using GCC as the compiler.
4267 Tue Apr 18 12:14:51 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
4269 * mips-dis.c (print_insn_little_mips): Cast return value from
4270 bfd_getl32 from bfd_vma to unsigned long, because _print_insn_mips
4271 expects an unsigned long, and that might be fewer words of
4272 argument storage (e.g., if bfd_vma is long long on a 32-bit
4274 (print_insn_big_mips): Likewise with bfd_getb32 value.
4275 (_print_insn_mips): Now static.
4277 Mon Apr 17 12:23:28 1995 Kung Hsu <kung@rtl.cygnus.com>
4279 * m68k-dis.c: Take out #define BREAK_UP_BIG_DECL kludge, because
4280 gcc memory hog problem with initializer is fixed.
4282 Mon Apr 10 15:55:01 1995 Stan Shebs <shebs@andros.cygnus.com>
4284 Merge in support for Mac MPW as a host.
4285 (Old change descriptions retained for informational value.)
4287 * mpw-config.in (archname): Compute from the config.
4288 (BFD_MACHINES, ARCHDEFS): Put into mk.tmp.
4290 * mpw-config.in (target_arch): Compute from canonical target.
4291 (m68k, mips, powerpc, sparc): Add architectures.
4292 * mpw-make.in (disassemble.c.o): Add.
4293 (ALL_CFLAGS): Remove special flags (-mc68020 -mc68881 -model far).
4295 * mpw-config.in (BFD_MACHINES): Set to a default value.
4296 * mpw-make.in (BFD_MACHINES): Remove wired-in value.
4298 * mpw-make.in (CSEARCH): Add extra-include to search path.
4300 * mpw-config.in (varargs.h): Don't create.
4301 (sysdep.h): Create using forward-include.
4302 * mpw-make.in (CSEARCH): Add include/mpw to search path.
4304 * mpw-config.in: New file, MPW version of configure.in.
4305 * mpw-make.in: New file, MPW version of Makefile.in.
4307 Fri Mar 31 14:23:38 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
4309 * alpha-dis.c (print_insn_alpha): Put empty statement after
4312 Tue Mar 21 10:51:40 1995 Jeff Law (law@snake.cs.utah.edu)
4314 * hppa-dis.c (sign_extend): Delete, redundant with libhppa.h version.
4315 (low_sign_extend): Likewise.
4316 (get_field): Delete unused function.
4317 (set_field, deposit_14, deposit_21): Likewise.
4319 Fri Mar 17 15:55:53 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4321 * i386-dis.c: Support for more pentium opcodes. From Guy Harris
4324 Tue Mar 14 00:52:57 1995 Ken Raeburn (raeburn@kr-pc.cygnus.com)
4326 Sat Feb 11 17:22:41 1995 Klaus Kaempf (kkaempf@didymus.rmi.de)
4328 * alpha-opc.h (OSF_ASMCODE): define
4329 print pal-code names as defined in App C of the
4330 Alpha Architecture Reference Manual
4332 * alpha-dis.c: cleaned up output
4333 print stylized code forms as defined in App A.4.3 of the
4334 Alpha Architecture Reference Manual
4336 Wed Mar 8 15:21:14 1995 Ian Lance Taylor <ian@cygnus.com>
4338 * mips-opc.c: Add new mips4 instructions. Don't set INSN_RFE for
4340 * mips-dis.c (print_insn_arg): Handle new argument types 'h', 'R',
4343 Wed Mar 8 02:54:05 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
4345 * m68k-dis.c (opcode): New function. Returns address of opcode
4346 table entry given index, even if the opcode table was split to
4347 work around gcc bugs.
4348 (print_insn_m68k): Call opcode instead of referencing m68k_opcodes
4350 (BREAK_UP_BIG_DECL): Make secondary array static and const.
4351 (reg_names): Now const.
4352 (print_insn_arg): Arrays cacheFieldName and names now const.
4353 (print_indexed): Array scales now const.
4355 Tue Mar 7 16:41:21 1995 Ian Lance Taylor <ian@cygnus.com>
4357 * ppc-opc.c: Sort recently added instructions by minor opcode
4358 number within major opcode number.
4360 Mon Mar 6 10:04:36 1995 Jeff Law (law@snake.cs.utah.edu)
4362 * hppa-dis.c: Include libhppa.h.
4364 Fri Feb 24 19:15:36 1995 Ian Lance Taylor <ian@cygnus.com>
4366 * mips-opc.c: Change dli to use M_DLI, and add dla.
4368 Mon Feb 20 23:54:38 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4370 * Makefile.in (ALL_MACHINES): Add w65-dis.o.
4372 Thu Feb 16 17:34:41 1995 Ian Lance Taylor <ian@cygnus.com>
4374 * mips-opc.c: Add r4650 mul instruction.
4376 Wed Feb 15 15:45:20 1995 Ian Lance Taylor <ian@cygnus.com>
4378 * mips-opc.c: Add uld and usd macros for unaligned double load and
4381 Tue Feb 14 13:17:37 1995 Michael Meissner <meissner@tiktok.cygnus.com>
4383 * ppc-opc.c (powerpc_opcodes): Add 403GA opcodes rfci, dccci,
4384 mfdcr, mtdcr, icbt, iccci.
4386 Thu Feb 9 12:28:13 1995 Stan Shebs <shebs@andros.cygnus.com>
4388 * i960-dis.c (struct tabent, struct sparse_tabent): Change the
4389 signed char fields to shorts, more portable.
4391 Wed Feb 8 17:29:29 1995 Stan Shebs <shebs@andros.cygnus.com>
4393 * i960-dis.c (struct tabent, struct sparse_tabent): Declare the
4394 char fields as signed chars, since they may have negative values.
4396 Mon Feb 6 10:52:06 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4398 * i386-dis.c (dis386_twobyte): Add cpuid, From Charles Hannum
4399 (mycroft@netbsd.org).
4401 Mon Jan 30 12:38:00 1995 Ian Lance Taylor <ian@cygnus.com>
4403 From "Logg, Ed" <elogg@ea.com>:
4404 * ppc-opc.c (extract_bdm): Correct parenthezisation.
4405 * ppc-dis.c (print_insn_powerpc): Print .long before unrecognized
4408 Thu Jan 26 18:32:08 1995 Ian Lance Taylor <ian@cygnus.com>
4410 * ppc-opc.c: Changes based on patch from David Edelsohn
4411 <edelsohn@mhpcc.edu>.
4412 (powerpc_operands): Add operands SPRBAT and SPRG. Split TBR out of
4415 (insert_tbr): New static function.
4416 (extract_tbr): New static function.
4417 (XFXFXM_MASK, XFXM): Define.
4418 (XSPRBAT_MASK, XSPRG_MASK): Define.
4419 (powerpc_opcodes): Add instructions to access special registers by
4420 name. Add mtcr and mftbu.
4422 Tue Jan 17 10:56:43 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
4424 * mips-opc.c (P3): Define.
4425 (mips_opcodes): Add mad and madu.
4427 Sun Jan 15 16:32:59 1995 Steve Chamberlain <sac@splat>
4429 * configure.in: Add W65 support.
4430 * disassemble.c: Likewise.
4431 * w65-opc.h, w65-dis.c: New files.
4433 Wed Dec 28 22:15:33 1994 Steve Chamberlain (sac@jonny.cygnus.com)
4435 * h8300-dis.c (bfd_h8_disassemble): Add support for 2 bit
4438 Tue Dec 20 11:25:12 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
4440 * mips-opc.c: Add dli as a synonym for li.
4442 Thu Dec 8 18:23:31 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
4444 * alpha-dis.c (print_insn_alpha): Handle call_pal instruction, and
4445 print something for reserved opcode values, even if it won't
4448 * mips-dis.c (_print_insn_mips): When initializing, shift right
4449 and mask, to avoid sign extension problems on the Alpha.
4451 * m68k-dis.c (print_insn_arg, case 'J'): Handle buscr and pcr
4454 Wed Nov 23 22:34:51 1994 Steve Chamberlain (sac@jonny.cygnus.com)
4456 * sh-opc.h (mov.l gbr): Get direction right.
4457 * sh-dis.c (print_insn_shx): New function.
4458 (print_insn_shl, print_insn_sh): Call print_insn_shx to
4459 print opcodes with right byte order.
4461 Thu Nov 3 19:32:22 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
4463 * ns32k-dis.c (struct ns32k_option): Renamed from struct option,
4464 to avoid conflicts with getopt.
4466 Mon Oct 31 18:48:10 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
4468 * hppa-dis.c (print_insn_hppa): Read the instruction using
4469 bfd_getb32, so that it works on a little endian or 64 bit host.
4470 Remove unused local variable op.
4472 Tue Oct 25 17:07:57 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
4474 * mips-opc.c: Use or instead of addu for pseudo-op move, since
4475 addu does not work correctly if -mips3.
4477 Wed Oct 19 13:40:16 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
4479 * a29k-dis.c (print_special): Add special register names defined
4480 on 29030, 29040 and 29050.
4481 (print_insn): Handle new operand type 'I'.
4483 Wed Oct 12 11:59:55 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
4485 * Makefile.in (INSTALL): Use top level install.sh script.
4487 Wed Oct 5 19:16:29 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
4489 * sparc-dis.c: Rewrite to use bitfields, rather than a union, so
4490 that it works on a little endian host.
4492 Tue Oct 4 12:14:21 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
4494 * configure.in: Use ${config_shell} when running config.bfd.
4496 Wed Sep 21 18:49:12 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
4498 * mips-opc.c (mips_opcodes): "dabs" is only available with -mips3.
4500 Thu Sep 15 16:30:22 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
4502 * a29k-dis.c (print_insn): Print the opcode.
4504 Wed Sep 14 17:52:14 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
4506 * mips-opc.c (mips_opcodes): Set WR_t for sc and scd.
4508 Sun Sep 11 22:32:17 1994 Jeff Law (law@snake.cs.utah.edu)
4510 * hppa-dis.c (reg_names): Use r26-r23 for arg0-arg3.
4512 Tue Sep 6 11:37:12 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
4514 * mips-opc.c: Set INSN_STORE_MEMORY flag for all instructions
4515 which store a value into memory.
4517 Sun Sep 04 17:58:10 1994 Richard Earnshaw (rwe@pegasus.esprit.ec.org)
4519 * configure.in, Makefile.in, disassemble.c: Add support for the ARM.
4520 * arm-dis.c, arm-opc.h: New files.
4522 Fri Aug 5 14:00:05 1994 Stan Shebs (shebs@andros.cygnus.com)
4524 * Makefile.in (ns32k-dis.o): Add dependency.
4525 * ns32k-dis.c (print_insn_arg): Declare initialized local as
4526 string, not as array of chars.
4528 Thu Jul 28 18:14:16 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
4530 * sparc-dis.c (print_insn_sparc): Handle new operand type 'x'.
4532 * sparc-opc.c: Added sparclite extended FP operations, and
4533 versions of v9 impdep* instructions permitting specification of
4536 Tue Jul 26 16:36:03 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
4538 * i960-dis.c (reg_names): Now const.
4539 (struct sparse_tabent): New type, copied from array type in mem
4541 (ctrl): Local static array ctrl_tab now const.
4542 (cobr): Local static array cobr_tab now const.
4543 (mem): Local variables reg1, reg2, reg3 now point to const. Local
4544 static variable mem_tab no longer explicitly initialized. Changed
4545 mem_init to const array of struct sparse_tabent.
4546 (reg): Local static variable reg_tab no longer explicitly
4547 initialized. Changed reg_init to const array of struct
4549 (ea): Local static array scale_tab now const.
4551 * i960-dis.c (reg): Added i960JX instructions to reg_init table.
4554 Tue Jul 19 21:00:00 1994 DJ Delorie (dj@ctron.com)
4556 * configure.bat: the disassember needs to be enabled for
4557 "objdump -d" to work in djgpp.
4559 Wed Jul 13 18:01:58 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
4561 * ns32k-dis.c: Deleted all code in "#ifdef GDB".
4562 (invalid_float): Enabled general version, doesn't require running
4563 on ns32k host. Changed to take char* argument, and test for
4564 explicitly specified sizes, instead of using sizeof() on host CPU
4566 (INVALID_FLOAT): Cast first argument.
4567 (opt_u, opt_U, opt_O, opt_C, opt_S, list_P532, list_M532,
4568 list_P032, list_M032): Now const.
4569 (optlist, list_search): Made appropriate arguments now point to
4571 (print_insn_arg): Changed static array of one-character-string
4572 pointers into a static const array of characters; fixed sprintf
4573 statement accordingly.
4575 Sun Jul 10 00:27:47 1994 Ian Dall (dall@hfrd.dsto.gov.au)
4577 * opcodes/ns32k-dis.c: Semi-new file. Had apparently been dropped
4578 from distribution. A ns32k-dis.c from a previous distribution has
4579 been brought up to date and supports the new interface.
4581 * disassemble.c: define ARCH_ns32k and add case bfd_arch_ns32k.
4583 * configure.in: add bfd_ns32k_arch target support.
4585 * Makefile.in: add ns32k-dis.o to ALL_MACHINES.
4586 Add ns32k-dis.c to CFILES. Add dependencies for ns32k-dis.o.
4588 Wed Jun 29 22:10:37 1994 Steve Chamberlain (sac@cygnus.com)
4590 * h8300-dis.c (bfd_h8_disassemble): Get 16bit branch
4593 Tue Jun 28 13:22:06 1994 Stan Shebs (shebs@andros.cygnus.com)
4595 * h8300-dis.c, mips-dis.c: Don't use true and false.
4597 Thu Jun 23 12:53:19 1994 David J. Mackenzie (djm@rtl.cygnus.com)
4599 * configure.in: Change --with-targets to --enable-targets.
4601 Wed Jun 22 13:38:32 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
4603 * mips-dis.c (_print_insn_mips): Build a static hash table mapping
4604 opcodes to the first instruction with that opcode, to speed
4605 disassembly of large files. From ralphc@pyramid.com (Ralph
4608 Tue Jun 7 12:49:44 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
4610 * Makefile.in (mostlyclean): Fix typo (was mostyclean).
4612 Wed May 11 22:32:00 1994 DJ Delorie (dj@ctron.com)
4614 * configure.bat: update to latest makefile.in
4616 Sat May 7 17:13:21 1994 Steve Chamberlain (sac@cygnus.com)
4618 * a29k-dis.c (print_insn): Print 'x' type operand in hex.
4619 * h8300-dis.c (bfd_h8_disassemble): Print 16bit rels correctly.
4620 * sh-dis.c (print_insn_sh): Don't recur endlessly if delay
4621 slot insn is in a delay slot.
4622 * z8k-opc.h: (resflg): Fix patterns.
4623 * h8500-opc.h Fix CR insn patterns.
4625 Fri May 6 14:34:46 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
4627 * ppc-opc.c (powerpc_opcodes): Put PowerPC versions of "cmp" and
4628 "cmpl" before POWER versions, so that gas -many uses them.
4630 Thu Apr 28 18:32:36 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
4632 * disassemble.c: New file.
4633 * Makefile.in (OFILES): Add disassemble.o.
4634 (disassemble.o): Provide dependencies; compile with $(ARCHDEFS).
4635 * configure.in: Define ARCHDEFS in Makefile. Code taken from
4636 binutils/configure.in.
4638 * m68k-dis.c (print_insn_m68k): If F_ALIAS flag is set, skip the
4639 opcode being examined.
4641 Thu Apr 21 17:08:40 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
4643 * ppc-opc.c (powerpc_operands): Added RAL, RAM and RAS.
4644 (insert_ral, insert_ram, insert_ras): New functions.
4645 (powerpc_opcodes): Use RAL for load with update, RAM for lmw, and
4646 RAS for store with update.
4648 Sat Apr 16 23:41:44 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
4650 * ppc-opc.c (powerpc_opcodes): Correct fcir. From David Edelsohn
4651 (edelsohn@npac.syr.edu).
4653 Wed Apr 6 17:11:45 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
4655 * mips-opc.c (mips_opcodes): Correct operands of "nor" with an
4658 Mon Apr 4 16:30:46 1994 Doug Evans (dje@canuck.cygnus.com)
4660 * sparc-opc.c (sparc_opcodes): Fix "rd %fprs,%l0".
4662 Mon Apr 4 13:22:00 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
4664 * ppc-opc.c (powerpc_operands): The signedp field has been
4665 removed, so don't initialize it. Set the PPC_OPERAND_SIGNED flag
4666 instead. Add new operand SISIGNOPT.
4667 (powerpc_opcodes): For lis, liu, addis, and cau use SISIGNOPT.
4668 Based on patch from David Edelsohn (edelsohn@npac.syr.edu).
4669 * ppc-dis.c (print_insn_powerpc): Check PPC_OPERAND_SIGNED rather
4672 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4674 * i386-dis.c (struct private): Renamed to dis_private. `private'
4675 is a reserved word for dynix cc.
4677 Mon Mar 28 13:00:15 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
4679 * configure.in: Change error message to refer to bfd/config.bfd
4680 rather than bfd/configure.in.
4682 Mon Mar 28 12:28:30 1994 David Edelsohn (edelsohn@npac.syr.edu)
4684 * ppc-opc.c: Define POWER2 as short alias flag.
4685 (powerpc_opcodes): Add POWER/2 opcodes lfq*, stfq*, fcir[z], and
4688 Wed Mar 23 12:23:05 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
4690 * i960-dis.c (print_insn_i960): Don't read a second word for
4691 opcodes 0, 1, 2 and 3.
4693 Wed Mar 16 15:37:58 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
4695 * configure.in: Don't build m68881-ext.o for bfd_m68k_arch.
4697 Mon Mar 14 14:53:50 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
4699 * m68881-ext.c: Removed; no longer used.
4700 * Makefile.in: Changed accordingly.
4702 * m68k-dis.c (ext_format_68881): Don't declare.
4703 (print_insn_m68k): If an instruction uses place 'i', it uses at
4704 least four fixed bytes.
4705 (print_insn_arg): Don't bump p by 2 for case 'I', place 'i'. For
4706 extended float, convert to double using floatformat_to_double, not
4707 ieee_extended_to_double, and fetch the data before converting it.
4709 Tue Mar 8 18:12:25 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
4711 * mips-opc.c: It's sqrt.s, not sqrt.w. From
4712 davidj@ICSI.Berkeley.EDU (David Johnson).
4714 Tue Feb 8 16:55:27 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
4716 * ppc-opc.c (powerpc_opcodes): The POWER uses bdn[l][a] where the
4717 PowerPC uses bdnz[l][a].
4719 Tue Feb 8 00:32:28 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4721 * dis-buf.c, i386-dis.c: Include sysdep.h.
4723 Mon Feb 7 19:22:23 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
4725 * configure.in (bfd_powerpc_arch): Use ppc-dis.o and ppc-opc.o.
4727 * ppc-opc.c (powerpc_opcodes): Mark POWER instructions supported
4728 by Motorola PowerPC 601 with PPC_OPCODE_601.
4729 * ppc-dis.c (print_insn_big_powerpc, print_insn_little_powerpc):
4730 Disassemble Motorola PowerPC 601 instructions as well as normal
4731 PowerPC instructions.
4733 Sun Feb 6 07:45:17 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
4735 * i960-dis.c (reg, mem): Just use a static array instead of
4738 Sat Feb 5 00:04:02 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
4740 * hppa-dis.c (print_insn_hppa): For '?' and '@' only adjust the
4741 condition name index if this is for a negated condition.
4743 * hppa-dis.c (print_insn_hppa): No space before 'H' operand.
4744 Floating point format for 'H' operand is backwards from normal
4745 case (0 == double, 1 == single). For '4', '6', '7', '9', and '8'
4746 operands (fmpyadd and fmpysub), handle bizarre register
4747 translation correctly for single precision format.
4749 * hppa-dis.c (print_insn_hppa): Do not emit a space after 'F'
4750 or 'I' operands if the next format specifier is 'M' (fcmp
4751 condition completer).
4753 Feb 4 23:38:03 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
4755 * ppc-opc.c (powerpc_operands): New operand type MBE to handle a
4756 single number giving a bitmask for the MB and ME fields of an M
4757 form instruction. Change NB to accept 32, and turn it into 0;
4758 also turn 0 into 32 when disassembling. Seperated SH from NB.
4759 (insert_mbe, extract_mbe): New functions.
4760 (insert_nb, extract_nb): New functions.
4761 (SC_MASK): Mask out SA and LK bits.
4762 (powerpc_opcodes): Change "cal" to use RT, D, RA rather than RT,
4763 RA, SI. Change "liu" and "cau" to use UI rather than SI. Mark
4764 "bctr" and "bctrl" as accepted by POWER. Change "rlwimi",
4765 "rlimi", "rlwimi.", "rlimi.", "rlwinm", "rlinm", "rlwinm.",
4766 "rlinm.", "rlmi", "rlmi.", "rlwnm", "rlnm", "rlwnm.", "rlnm." to
4767 use MBE rather than MB. Add "mfmq" and "mtmq" POWER instructions.
4768 (powerpc_macros): Define table of macro definitions.
4769 (powerpc_num_macros): Define.
4771 * ppc-dis.c (print_insn_powerpc): Don't skip optional operands
4772 if PPC_OPERAND_NEXT is set.
4774 Sat Jan 22 23:10:07 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
4776 * i960-dis.c (print_insn_i960): Make buffer bfd_byte instead of
4777 char. Retrieve contents using bfd_getl32 instead of shifting.
4779 Fri Jan 21 19:01:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
4781 * ppc-opc.c: New file. Opcode table for PowerPC, including
4782 opcodes for POWER (RS/6000).
4783 * ppc-dis.c: New file. PowerPC and Power (RS/6000) disassembler.
4784 * Makefile.in (ALL_MACHINES): Add ppc-dis.o and ppc-opc.o.
4785 (CFILES): Add ppc-dis.c.
4786 (ppc-dis.o, ppc-opc.o): New targets.
4787 * configure.in: Build ppc-dis.o and ppc-opc.o for bfd_rs6000_arch.
4789 Mon Jan 17 20:05:49 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
4791 * hppa-dis.c (print_insn_hppa): Handle 'N' in assembler template.
4792 No space before 'u', 'f', or 'N'.
4794 Sun Jan 16 14:20:16 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
4796 * i386-dis.c (print_insn_i386): Add FIXME comment regarding reading
4797 farther than we should.
4799 * i386-dis.c (dis386): Use Yb and Yv for scasb and scasS.
4801 Thu Jan 6 12:38:05 1994 David J. Mackenzie (djm@thepub.cygnus.com)
4803 * sparc-dis.c m68k-dis.c alpha-dis.c a29k-dis.c: Fix comments.
4805 Wed Jan 5 11:56:21 1994 David J. Mackenzie (djm@thepub.cygnus.com)
4807 * i960-dis.c (print_insn_i960): Only read word2 if the instruction
4808 needs it, to prevent reading past the end of a section.
4810 Wed Nov 17 17:20:12 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
4812 * mips-opc.h: Use macro for j instruction, to support SVR4 PIC.
4813 Removed t,A case for la; always use t,A(b) case.
4815 Mon Nov 8 12:37:36 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
4817 From Ted Lemen <mellon@pepper.ncd.com>
4818 * mips-dis.c (print_insn_arg): Handle 'k'.
4819 * mips-opc.c: Make cache use k, not t.
4821 Sun Nov 7 23:52:34 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4823 * alpha-opc.h, alpha-dis.c (print_insn_alpha): Add
4824 FLOAT_MEMORY_FORMAT_CODE, FLOAT_BRANCH_FORMAT_CODE, correct
4825 FLOAT_FORMAT_CODE to put out floating point register names.
4827 Mon Nov 1 18:17:51 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
4829 * mips-opc.c: Use macros for jal variants, to support SVR4 PIC.
4831 Thu Oct 28 17:42:23 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
4833 * a29k-dis.c (print_insn): Use 0x%08x, not 0x%8x.
4835 Wed Oct 27 11:48:01 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
4837 * mips-opc.c (dsll, dsra, dsrl): Added '>' cases for shift counts
4838 larger than 32. Moved dsxx32 variants first for disassembler.
4840 Mon Oct 25 11:33:14 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
4842 * z8kgen.c, z8k-opc.h: Add full lda information.
4844 Tue Oct 19 12:39:25 1993 Jeffrey A Law (law@cs.utah.edu)
4846 * hppa-dis.c (print_insn_hppa): Do not emit a space after
4847 movb instructions. Any necessary space will be emitted by
4848 the code to handle nullification completers.
4850 Wed Oct 13 16:19:07 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
4852 * mips-opc.c: Moved l.d down so that it disassembles as ldc1.
4854 Fri Oct 8 02:34:21 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4856 * alpha-opc.h: Add ldl_l, fix typo for ldq_u.
4857 * alpha-dis.c (print_insn_alpha): Add code for PAL_FORMAT_CODE.
4859 Tue Oct 5 17:47:53 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
4861 * mips-opc.c: Correct lwu opcode value (book had it wrong).
4863 Thu Sep 30 11:26:18 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
4865 * z8k-dis.c (FETCH_DATA): get just the right amount of data.
4866 (unpack_instr): Cope with ARG_IMM4M1 type instructions.
4868 Wed Sep 29 16:24:49 1993 K. Richard Pixley (rich@sendai.cygnus.com)
4870 * m88k-dis.c (m88kdis): comment change. Remove space after
4872 (printop): handle new arg types DEC and XREG for m88110.
4874 Tue Sep 28 19:20:16 1993 Jeffrey A Law (law@snake.cs.utah.edu)
4876 * hppa-dis.c (print_insn_hppa): Handle 'z' operand
4877 type for absolute branch addresses. Delete special
4878 "ble" and "be" code in 'W' operand code.
4880 Fri Sep 24 14:08:33 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
4882 * mips-opc.c: Set hazard information correctly for branch
4883 likely instructions.
4885 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4887 * alpha-dis.c (print_insn_alpha), alpha-opc.h: Fix bugs, use
4888 info->fprintf_func for printing and info->print_address_func for
4891 Wed Sep 15 12:12:07 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
4893 * mips-opc.c: Set INSN_TRAP for tXX instructions.
4895 Thu Sep 9 10:11:27 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
4897 * mips-opc.c: From davidj@ICSI.Berkeley.EDU (David Johnson):
4898 Corrected second case of "b" for disassembler.
4900 Tue Sep 7 14:25:15 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
4902 * mips-dis.c, m88k-dis.c: Don't include libbfd.h. Changed calls
4903 to BFD swapping routines to correspond to BFD name changes.
4905 Thu Sep 2 10:35:25 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
4907 * mips-opc.c: Change div machine instruction to be z,s,t rather
4908 than s,t. Change div macro to be d,v,t rather than d,s,t.
4909 Likewise for divu, ddiv, ddivu. Added z,s,t case for drem, dremu,
4910 rem and remu which generates only the corresponding div
4911 instruction. This is for compatibility with the MIPS assembler,
4912 which only generates the simple machine instruction when an
4913 explicit destination of $0 is used.
4914 * mips-dis.c (print_insn_arg): Handle 'z' (always register zero).
4916 Thu Aug 26 17:41:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
4918 * mips-opc.c: From davidj@ICSI.Berkeley.EDU (David Johnson): Set
4919 WR_31 hazard for bal, bgezal, bltzal.
4921 Thu Aug 26 17:20:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4923 * hppa-dis.c (print_insn_hppa): Use print function
4924 from within the disassemble_info, not fprintf_filtered.
4926 Wed Aug 25 13:51:40 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
4928 * hppa-dis.c (print_insn_hppa): Handle '|' like '>'. (From Jeff
4929 Law, law@cs.utah.edu.)
4931 Mon Aug 23 12:44:05 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
4933 * mips-opc.c ("absu"): Removed.
4936 Fri Aug 20 10:52:52 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
4938 * mips-opc.c: Added r6000 and r4000 instructions and macros.
4939 Changed hazard information to distinguish between memory load
4940 delays and coprocessor load delays.
4942 Wed Aug 18 15:39:23 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
4944 * mips-opc.c: li.d uses "T,L", not "S,F". Added li.s.
4946 Tue Aug 17 09:44:42 1993 David J. Mackenzie (djm@thepub.cygnus.com)
4948 * configure.in: Don't pass cpu to config.bfd.
4950 Tue Aug 17 12:23:52 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
4952 * m88k-dis.c (m88kdis): Make class unsigned.
4954 Thu Aug 12 15:08:18 1993 Ian Lance Taylor (ian@cygnus.com)
4956 * alpha-dis.c (print_insn_alpha): One branch format case was
4957 missing the instruction name.
4959 Wed Aug 11 19:29:39 1993 David J. Mackenzie (djm@thepub.cygnus.com)
4961 * Makefile.in (ALL_MACHINES): Renamed from DIS_LIBS.
4962 Add the arch-specific auxiliary files.
4963 (OFILES): Remove the arch-specific auxiliary files
4964 and use BFD_MACHINES instead of DIS_LIBS.
4965 * configure.in: Set BFD_MACHINES based on --with-targets option.
4967 Thu Aug 12 12:04:53 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
4969 * mips-opc.c: Added lwc1 E,A(b) to go with lwc1 T,A(b). Similarly
4972 Sun Aug 8 15:09:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4974 * sparc-opc.c: Change CONST to const to deal with gcc
4975 -Dconst=__const -traditional.
4977 Fri Aug 6 10:58:55 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
4979 * mips-opc.c: From davidj@ICSI.Berkeley.EDU (David Johnson): Took
4980 coprocessor instructions out of #if 0, and made them use new
4983 Thu Aug 5 17:11:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4985 * sparc-dis.c: Include ansidecl.h before opcodes/sparc.h.
4987 Fri Jul 30 18:48:15 1993 John Gilmore (gnu@cygnus.com)
4989 * sparc-opc.c: Add F_JSR, F_UNBR, or F_CONDBR flags to each branch
4990 instruction, for use by the disassembler.
4992 * sparc-dis.c (SEX): Add sign extension macro. Replace many
4993 hand-coded sign extensions that depended on 32-bit host ints.
4994 FIXME, we still depend on big-endian host bitfield ordering.
4995 (sparc_print_insn): Set the insn_info_valid field, and the
4996 other fields that describe the instruction being printed.
4998 Tue Jul 27 17:04:58 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
5000 * sparc-opc.c (call): Accept all 6 addressing modes valid for
5001 `jmp' instead of just one of them.
5003 Wed Jul 21 11:43:32 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
5005 * hppa-dis.c: Move floating registers from reg_names to fp_reg_names.
5006 (fput_fp_reg_r): Renamed from fput_reg_r.
5007 (fput_fp_reg): New function.
5008 (print_insn_hppa): Use fput_fp_reg{,_r} where appropriate.
5010 * hppa-dis.c (print_insn_hppa, cases 'a', 'd'): Print space afterwards.
5012 * hppa-dis.c (print_insn_hppa, case 'd'): Use GET_COND not GET_FIELD.
5014 Mon Jul 19 13:52:21 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
5016 * hppa-dis.c (print_insn_hppa): Use extract_5r_store for 'r'.
5018 * hppa-dis.c (print_insn_hppa, case '>'): If next character is 'n',
5019 don't output a space.
5021 * hppa-dis.c (float_format_names): 10 is undefined, and 11 is quad.
5023 Sun Jul 18 16:30:02 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
5025 * mips-opc.c: New file, containing opcode table from
5026 ../include/opcode/mips.h.
5027 * Makefile.in: Add it.
5029 Thu Jul 15 12:37:05 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
5031 * m88k-dis.c: New file, moved in from gdb and changed to use the
5032 new dis-asm.h disassembler interface.
5033 * Makefile.in (DIS_LIBS): Added m88k-dis.o.
5034 (m88k-dis.o): New target.
5036 Tue Jul 13 10:04:16 1993 Ian Lance Taylor (ian@cygnus.com)
5038 * mips-dis.c (print_insn_arg, _print_insn_mips): Made pointer to
5039 argument string const char * to correspond to opcode/mips.h.
5041 Tue Jul 6 15:18:37 1993 Ian Lance Taylor (ian@cygnus.com)
5043 * mips-dis.c: Updated to account for name changes in new version
5045 * Makefile.in: Added header file dependencies.
5047 Sat Jul 3 23:47:56 1993 Doug Evans (dje@canuck.cygnus.com)
5049 * h8300-dis.c (bfd_h8_disassemble): Correct fetching of instruction.
5051 Thu Jul 1 12:23:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
5053 * m68k-dis.c (NEXTWORD, NEXTLONG): Use ((x) ^ 0x8000) - 0x8000 to sign
5054 extend, rather than shifts.
5056 Sun Jun 20 20:56:56 1993 Ken Raeburn (raeburn@poseidon.cygnus.com)
5058 * Makefile.in: Undo 15 June change.
5060 Fri Jun 18 14:15:15 1993 Per Bothner (bothner@deneb.cygnus.com)
5062 * m68k-dis.c (print_insn_arg): Change return value to byte count
5064 * m68k-dis.c: Re-write to detect invalid operands before
5065 printing anything, so we can handle this the same way we
5066 handle invalid opcodes.
5068 Thu Jun 17 15:01:36 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
5070 * sh-dis.c, sh-opc.h: Understand some more opcodes.
5072 Wed Jun 16 13:48:05 1993 Ian Lance Taylor (ian@cygnus.com)
5074 * hppa-dis.c: Include <ansidecl.h> and sysdep.h before other
5077 Tue Jun 15 21:45:26 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
5079 * sparc-dis.c: Don't declare qsort, since sysdep.h might.
5081 * configure.in: Do make sysdep.h link.
5082 * Makefile.in: Search ../include. Don't search ../bfd.
5084 Tue Jun 15 13:36:10 1993 Stu Grossman (grossman@cygnus.com)
5086 Changes from Jeff Law, law@cs.utah.edu:
5087 * hppa-dis.c: Fix typo. 'a' and 'd' were reversed.
5088 Do not print a space before the completers specified by
5091 Fri Jun 11 18:40:21 1993 Ken Raeburn (raeburn@cygnus.com)
5093 * mips-dis.c: No longer need to bomb out if HOST_64_BIT is
5094 defined, since gdb has been fixed.
5096 Changes from Jeff Law, law@cs.utah.edu:
5097 * hppa-dis.c (print_insn_hppa): Last argument to fput_reg,
5098 fput_reg_r, fput_creg, fput_const, and fputs_filtered should
5099 be a *disassemble_info, not a *FILE.
5100 * hppa-dis.c: Support 'd', '!', and 'a'.
5101 * hppa-dis.c: Support 's' to extract a 2 bit space register.
5102 * hppa-dis.c: Delete cases which are no longer needed.
5104 Fri Jun 11 07:53:48 1993 Jim Kingdon (kingdon@cygnus.com)
5106 * m68k-dis.c (print_insn_{m68k,arg}): Add MMU codes.
5108 Tue Jun 8 12:25:01 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
5110 * h8300-dis.c: New file, removed from bfd/cpu-h8300.c, with
5113 Mon Jun 7 12:58:49 1993 Per Bothner (bothner@rtl.cygnus.com)
5115 * Makefile.in (CSEARCH): Add -I../bfd for sysdep.h and bfd.h.
5116 * configure.in: No longer need to configure to get sysdep.h.
5118 Thu Jun 3 15:56:49 1993 Stu Grossman (grossman@cygnus.com)
5120 * Patches from Jeffrey Law <law@cs.utah.edu>.
5121 * hppa-dis.c: Support 'I', 'J', and 'K' in output
5122 templates for 1.1 FP computational instructions.
5124 Tue May 25 13:05:48 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
5126 * h8500-dis.c (print_insn_h8500): Address argument is type
5128 * z8k-dis.c (print_insn_z8k, print_insn_z8001, print_insn_z8002):
5131 * h8500-opc.h (addr_class_type): No comma at end of enumerator.
5132 * sh-opc.h (sh_nibble_type, sh_arg_type): Ditto.
5134 * sparc-dis.c (compare_opcodes): Move static declaration to
5137 Fri May 21 14:17:37 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5139 * sparc-dis.c (print_insn_sparc): Implement 'n' argument for unimp
5140 instruction, remove unimp hack from 'l' argument.
5142 Wed May 19 15:35:54 1993 Stu Grossman (grossman@cygnus.com)
5144 * z8k-dis.c (fetch_data): Use unsigned char to make ancient gcc's
5147 Fri May 14 15:22:46 1993 Ian Lance Taylor (ian@cygnus.com)
5149 * Based on patches from davidj@ICSI.Berkeley.EDU (David Johnson):
5150 * mips-dis.c (print_insn_arg): Handle 'C' for general coprocessor
5153 Fri May 14 00:09:14 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
5155 * hppa-dis.c: Include dis-asm.h before sysdep.h. Changed some
5156 arrays of string pointers to 2-d arrays of chars, to save
5159 Thu May 6 20:51:17 1993 Fred Fish (fnf@cygnus.com)
5161 * a29k-dis.c, alpha-dis.c, i960-dis.c, sparc-dis.c, z8k-dis.c:
5162 Cast second arg to read_memory_func to "bfd_byte *", as necessary.
5164 Tue May 4 20:31:10 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
5166 * hppa-dis.c: New file from Utah, adapted to new disassembler
5168 * Makefile.in: Include it.
5170 Mon Apr 26 18:17:42 1993 Steve Chamberlain (sac@thepub.cygnus.com)
5172 * sh-dis.c, sh-opc.h: New files.
5174 Fri Apr 23 18:51:22 1993 Steve Chamberlain (sac@thepub.cygnus.com)
5176 * alpha-dis.c, alpha-opc.h: New files.
5178 Tue Apr 6 12:54:08 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5180 * mips-dis.c: Sign extend 'j' and 'b' arguments, delta is a signed
5183 Mon Apr 5 17:37:37 1993 John Gilmore (gnu@cygnus.com)
5185 * sparc-dis.c: Make "ta" the default trap instruction, "t" the alias.
5187 Fri Apr 2 07:24:27 1993 Ian Lance Taylor (ian@cygnus.com)
5189 * a29k-dis.c, sparc-dis.c, sparc-opc.c: Use CONST rather than
5192 Thu Apr 1 11:20:43 1993 Jim Kingdon (kingdon@cygnus.com)
5194 * sparc-dis.c: Use fprintf_func a few places where I forgot,
5195 and double percent signs a few places.
5197 * a29k-dis.c, i960-dis.c: New, merged from gdb and binutils.
5199 * i386-dis.c, m68k-dis.c, mips-dis.c, sparc-dis.c:
5200 Use info->print_address_func not print_address.
5202 * dis-buf.c (generic_print_address): New function.
5204 Wed Mar 31 10:07:04 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
5206 * Makefile.in: Add sparc-dis.c.
5207 sparc-dis.c: New file, merges binutils and gdb versions as follows:
5209 Add `add' instruction to the set that get checked
5210 for a preceding `sethi' in order to print an absolute address.
5211 * (print_insn): Disassembly prefers real instructions.
5212 (is_delayed_branch): Speed up.
5213 * sparc-opcode.h: Add ALIAS bit to aliases. Fix up opcode tables.
5214 Still missing some float ops, and needs testing.
5215 * sparc-pinsn.c (print_insn): Eliminate 'set' test, subsumed by
5216 F_ALIAS. Use printf, not fprintf, when not passing a file
5218 (compare_opcodes): Check that identical instructions have
5219 identical opcodes, complain otherwise.
5222 * Include reg_names.
5224 Use dis-asm.h/read_memory_func interface.
5226 Wed Mar 31 20:49:06 1993 K. Richard Pixley (rich@rtl.cygnus.com)
5228 * h8500-dis.c, i386-dis.c, m68k-dis.c, z8k-dis.c (fetch_data):
5229 deliberately return non-zero to setjmp from longjmp. Otherwise
5230 this code fails to compile.
5232 Wed Mar 31 17:04:31 1993 Stu Grossman (grossman@cygnus.com)
5234 * m68k-dis.c: Fix prototype for fetch_arg().
5236 Wed Mar 31 10:07:04 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
5238 * dis-buf.c: New file, for new read_memory_func interface.
5239 Makefile.in (OFILES): Include it.
5240 m68k-dis.c, i386-dis.c, h8500-dis.c, mips-dis.c, z8k-dis.c:
5241 Use new read_memory_func interface.
5243 Mon Mar 29 14:02:17 1993 Steve Chamberlain (sac@thepub.cygnus.com)
5245 * h8500-dis.c (print_insn_h8500): Get sign of fp offsets right.
5246 * h8500-opc.h: Fix couple of opcodes.
5248 Wed Mar 24 02:03:36 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
5250 * Makefile.in: add dvi & installcheck targets
5252 Mon Mar 22 18:55:04 1993 John Gilmore (gnu@cygnus.com)
5254 * Makefile.in: Update for h8500-dis.c.
5256 Fri Mar 19 14:27:17 1993 Steve Chamberlain (sac@thepub.cygnus.com)
5258 * h8500-dis.c, h8500-opc.h: New files
5260 Thu Mar 18 14:12:37 1993 Per Bothner (bothner@rtl.cygnus.com)
5262 * mips-dis.c, z8k-dis.c: Converted to use interface defined in
5263 ../include/dis-asm.h.
5264 * m68k-dis.c: New file (merge of ../binutils/m68k-pinsn.c
5265 and ../gdb/m68k-pinsn.c).
5266 * i386-dis.c: New file (merge of ../binutils/i386-pinsn.c
5267 and ../gdb/i386-pinsn.c).
5268 * m68881-ext.c: New file. Moved definition of
5269 ext_format ext_format_68881 from ../gdb/m68k-tdep.c.
5270 * Makefile.in: Adjust for new files.
5271 * i386-dis.c: Patches from John Hassey (hassey@dg-rtp.dg.com).
5272 * m68k-dis.c: Recognize '9' placement code, so (say) pflush
5273 can be dis-assembled.
5275 Wed Feb 17 09:19:47 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
5277 * mips-dis.c (print_insn_arg): Now returns void.
5279 Mon Jan 11 16:09:16 1993 Fred Fish (fnf@cygnus.com)
5281 * mips-dis.c (ansidecl.h): Include for benefit of sysdep.h
5282 files that use the macros.
5284 Thu Jan 7 13:15:17 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
5286 * mips-dis.c: New file, from gdb/mips-pinsn.c.
5287 * Makefile.in (DIS_LIBS): Added mips-dis.o.
5288 (CFILES): Added mips-dis.c.
5290 Thu Jan 7 07:36:33 1993 Steve Chamberlain (sac@thepub.cygnus.com)
5292 * z8k-dis.c (print_insn_z8001, print_insn_z8002): new routines
5293 * z8kgen.c, z8k-opc.h: fix sizes of some shifts.
5295 Tue Dec 22 15:42:44 1992 Per Bothner (bothner@rtl.cygnus.com)
5297 * Makefile.in: Improve *clean rules.
5298 * configure.in: Allow a default host.
5300 Tue Nov 17 19:53:54 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
5302 * Makefile.in: also use -I$(srcdir)/../bfd, since some sysdep
5303 files include other sysdep files
5305 Thu Nov 12 16:10:37 1992 Steve Chamberlain (sac@thepub.cygnus.com)
5307 * z8k-dis.c z8k-opc.h z8kgen.c: checkpoint
5309 Fri Oct 9 04:56:05 1992 John Gilmore (gnu@cygnus.com)
5311 * configure.in: For host support, use ../bfd/configure.host
5312 so it stays in sync with the ../bfd/hosts database.
5314 Thu Oct 1 23:38:54 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
5316 * configure.in: use cpu-vendor-os triple instead of nested cases
5318 Wed Sep 30 16:09:20 1992 Michael Werner (mtw@cygnus.com)
5320 * z8k-dis.c (unparse_instr): fix bug where opcode returned was
5321 *always* the wrong one.
5323 Wed Sep 30 07:42:17 1992 Steve Chamberlain (sac@thepub.cygnus.com)
5325 * z8kgen.c: added copyright info
5327 Tue Sep 29 12:20:21 1992 Steve Chamberlain (sac@thepub.cygnus.com)
5329 * z8k-dis.c (unparse_instr): prettier tabs
5330 * z8kgen.c -> z8k-opc.h: bug fixes in tables
5332 Fri Sep 25 12:50:32 1992 Stu Grossman (grossman at cygnus.com)
5334 * configure.in: Add ncr* configuration.
5335 * z8k-dis.c (struct instr_data_s): Make instr_asmsrc char to make
5336 picayune ANSI compilers happy.
5338 Sep 20 08:50:55 1992 Fred Fish (fnf@cygnus.com)
5340 * configure.in (i386): Make i386 and i486 synonymous for now.
5341 * configure.in (i[34]86-*-sysv4): Add my_host definition.
5343 Fri Sep 18 17:01:23 1992 Ken Raeburn (raeburn@cambridge.cygnus.com)
5345 * Makefile.in (install): Fix typo.
5347 Fri Sep 18 02:04:24 1992 John Gilmore (gnu@cygnus.com)
5349 * Makefile.in (make): Remove obsolete crud.
5350 (sparc-opc.o): Avoid Sun Make VPATH bug.
5352 Tue Sep 8 17:29:27 1992 K. Richard Pixley (rich@sendai.cygnus.com)
5354 * Makefile.in: since there are no SUBDIRS, remove rule and
5355 references of subdir_do.
5357 Tue Sep 8 17:02:58 1992 Ken Raeburn (raeburn@cambridge.cygnus.com)
5359 * Makefile.in (install): Get the library name right here too.
5360 Don't install bfd.h, since it's unrelated to this library. No
5361 subdirs to recurse into, either.
5362 (CFILES): The source file has a .c suffix, not .o.
5364 * sparc-opc.c: New file, moved from BFD.
5365 * Makefile.in (OFILES): Build it.
5367 Thu Sep 3 16:59:20 1992 Michael Werner (mtw@cygnus.com)
5369 * z8k-dis.c: fixed forward refferences of some declarations.
5371 Mon Aug 31 16:09:45 1992 Michael Werner (mtw@cygnus.com)
5373 * Makefile.in: get the name of the library right
5375 Mon Aug 31 13:47:35 1992 Steve Chamberlain (sac@thepub.cygnus.com)
5377 * z8k-dis.c: knows how to disassemble z8k stuff
5378 * z8k-opc.h: new file full of z8000 opcodes
5382 version-control: never