* mips16-opc.c: Add mul and dmul macros.
[binutils-gdb.git] / opcodes / ChangeLog
1 Wed Apr 2 12:23:53 1997 Ian Lance Taylor <ian@cygnus.com>
2
3 * mips16-opc.c: Add mul and dmul macros.
4
5 Tue Apr 1 16:27:45 1997 Klaus Kaempf <kkaempf@progis.de>
6
7 * makefile.vms: Update CFLAGS, add clean target.
8
9 Fri Mar 28 12:10:09 1997 Ian Lance Taylor <ian@cygnus.com>
10
11 * mips-opc.c: Add "wait". From Ralf Baechle
12 <ralf@gnu.ai.mit.edu>.
13
14 * configure.in: Add stdlib.h to AC_CHECK_HEADERS list.
15 * configure, config.in: Rebuild.
16 * sysdep.h: Include <stdlib.h> if it exists.
17 * sparc-dis.c: Include <stdio.h> and "sysdep.h". Don't include
18 <string.h>.
19 * Makefile.in: Rebuild dependencies.
20
21 Thu Mar 27 14:24:43 1997 Ian Lance Taylor <ian@cygnus.com>
22
23 * ppc-opc.c: Add PPC 403 instructions and extended opcodes. From
24 Andrew Bray <andy@madhouse.demon.co.uk>.
25
26 * mips-opc.c: Add cast when setting mips_opcodes.
27
28 start-sanitize-v850
29 Tue Mar 25 23:04:00 1997 Stu Grossman (grossman@critters.cygnus.com)
30
31 * v850-dis.c (disassemble): Fix sign extension problem.
32 * v850-opc.c (extract_d*): Fix sign extension problems to make
33 disassembly calculate branch offsets correctly.
34
35 end-sanitize-v850
36 Mon Mar 24 13:22:13 1997 Ian Lance Taylor <ian@cygnus.com>
37
38 * sh-opc.h: Add bf/s and bt/s as synonyms for bf.s and bt.s.
39
40 * mips-opc.c: Add dctr and dctw.
41
42 start-sanitize-d30v
43 Sun Mar 23 18:08:10 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
44
45 * d30v-dis.c (print_insn): Change the way signed constants
46 are displayed.
47 end-sanitize-d30v
48 Fri Mar 21 14:37:52 1997 Ian Lance Taylor <ian@cygnus.com>
49
50 * Makefile.in (BFD_H): New variable.
51 (HFILES): New variable.
52 (CFILES): Add all C files.
53 (.dep, .dep1, dep.sed, dep, dep-in): New targets.
54 Delete old dependencies, and build new ones.
55 * dep-in.sed: New file.
56
57 Thu Mar 20 19:03:30 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
58
59 * m68k-opc.c (m68k_opcode_aliases): Added blo and blo{s,b,w,l}.
60
61 start-sanitize-coldfire
62 Wed Mar 19 06:53:58 1997 J.T. Conklin <jtc@rtl.cygnus.com>
63
64 * m68k-opc.c (m68k_opcodes): Provide coldfire division module
65 instructions.
66
67 end-sanitize-coldfire
68 Tue Mar 18 14:17:03 1997 Jeffrey A Law (law@cygnus.com)
69
70 * mn10200-opc.c: Change "trap" to "syscall".
71 * mn10300-opc.c: Add new "syscall" instruction.
72
73 Mon Mar 17 08:48:03 1997 J.T. Conklin <jtc@beauty.cygnus.com>
74
75 * m68k-opc.c (m68k_opcodes): Provide correct entries for mulsl and
76 mulul insns on the coldfire.
77
78 Sat Mar 15 17:13:05 1997 Ian Lance Taylor <ian@cygnus.com>
79
80 * arm-dis.c (print_insn_arm): Don't print instruction bytes.
81 (print_insn_big_arm): Set bytes_per_chunk and display_endian.
82 (print_insn_little_arm): Likewise.
83
84 Fri Mar 14 15:08:59 1997 Ian Lance Taylor <ian@cygnus.com>
85
86 Based on patches from H.J. Lu <hjl@lucon.org>:
87 * i386-dis.c (fetch_data): Add prototype.
88 * m68k-dis.c (fetch_data): Add prototype.
89 (dummy_print_address): Add prototype. Make static.
90 * ppc-opc.c (valid_bo): Add prototype.
91 * sparc-dis.c (build_hash_table): Add prototype.
92 (is_delayed_branch, compute_arch_mask): Add prototypes.
93 (print_insn_sparc): Make several local variables const.
94 (compare_opcodes): Change arguments to const PTR. Add prototype.
95 * sparc-opc.c (arg): Change name field to be const.
96 (lookup_name, lookup_value): Add prototypes. Change table and
97 name parameters to be const.
98 (sparc_encode_asi): Change name parameter to be const.
99 (sparc_encode_membar, sparc_encode_prefetch): Likewise.
100 (sparc_encode_sparclet_cpreg): Likewise.
101 (sparc_decode_asi): Change return type to be const.
102 (sparc_decode_membar, sparc_decode_prefetch): Likewise.
103 (sparc_decode_sparclet_cpreg): Likewise.
104
105 Fri Mar 7 10:51:49 1997 Ian Lance Taylor <ian@cygnus.com>
106
107 * Makefile.in ($(SHLINK)): Just use ln -s, not ln -sf, since
108 Solaris doesn't like the combined options, and the -f is
109 unnecessary.
110 (stamp-tshlink, install): Likewise.
111
112 Thu Mar 6 16:51:11 1997 Jeffrey A Law (law@cygnus.com)
113
114 * mn10300-opc.c (IMM16_PCREL, SD8N_PCREL, D16_SHIFT): Mark these
115 as relaxable.
116
117 Tue Mar 4 06:10:36 1997 J.T. Conklin <jtc@cygnus.com>
118
119 * m68k-opc.c (m68k_opcodes): Fix last change for the mc68010.
120
121 Mon Mar 3 07:45:20 1997 J.T. Conklin <jtc@cygnus.com>
122
123 * m68k-opc.c (m68k_opcodes): Added entries for the tst insns on
124 the mc68000.
125
126 Thu Feb 27 14:04:32 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
127
128 * m68k-opc.c (m68k_opcodes): Added swbegl pseudo-instruction.
129
130 start-sanitize-tic80
131 Thu Feb 27 11:36:41 1997 Michael Meissner <meissner@cygnus.com>
132
133 * tic80-dis.c (print_insn_tic80): Set info->bytes_per_line to 8.
134
135 Wed Feb 26 15:34:48 1997 Michael Meissner <meissner@cygnus.com>
136
137 * tic80-opc.c (tic80_predefined_symbols): Define r25 properly.
138
139 end-sanitize-tic80
140 Wed Feb 26 13:38:30 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
141
142 * m68k-dis.c (NEXTSINGLE, NEXTDOUBLE, NEXTEXTEND): Use
143 floatformat_to_double to make portable.
144 (print_insn_arg): Use NEXTEXTEND macro when extracting extended
145 precision float.
146
147 Mon Feb 24 19:26:12 1997 Dawn Perchik <dawn@cygnus.com>
148
149 * mips-opc.c: Initialize mips_opcodes to mips_builtin_opcodes,
150 and bfd_mips_num_opcodes to bfd_mips_num_builtin_opcodes.
151
152 Mon Feb 24 15:19:01 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
153
154 * d10v-dis.c, d10v-opc.c: Change pre_defined_registers to
155 d10v_predefined_registers and reg_name_cnt to d10v_reg_name_cnt.
156
157 start-sanitize-tic80
158 Mon Feb 24 14:33:26 1997 Fred Fish <fnf@cygnus.com>
159
160 * tic80-opc.c (LSI_SCALED): Renamed from this ...
161 (OFF_SL_BR_SCALED): ... to this, and added the flag
162 TIC80_OPERAND_BASEREL to the flags word.
163 (tic80_opcodes): Replace all occurances of LSI_SCALED with
164 OFF_SL_BR_SCALED.
165
166 end-sanitize-tic80
167 Sat Feb 22 21:25:00 1997 Dawn Perchik <dawn@cygnus.com>
168
169 * mips-opc.c: Add macros for cop0, cop1 cop2 and cop3.
170 Change mips_opcodes from const array to a pointer,
171 and change bfd_mips_num_opcodes from const int to int,
172 so that we can increase the size of the mips opcodes table
173 dynamically.
174
175 start-sanitize-tic80
176 Sat Feb 22 21:03:47 1997 Fred Fish <fnf@cygnus.com>
177
178 * tic80-opc.c (tic80_predefined_symbols): Revert change to
179 store BITNUM values in the table in one's complement form
180 to match behavior when assembler is given a raw numeric
181 value for a BITNUM operand.
182 * tic80-dis.c (print_operand_bitnum): Ditto.
183
184 end-sanitize-tic80
185 start-sanitize-d30v
186 Fri Feb 21 16:31:18 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
187
188 * d30v-opc.c: Removed references to FLAG_X.
189
190 end-sanitize-d30v
191 Wed Feb 19 14:51:20 1997 Ian Lance Taylor <ian@cygnus.com>
192
193 * Makefile.in: Add dependencies on ../bfd/bfd.h as required.
194
195 start-sanitize-d30v
196 Tue Feb 18 17:43:43 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
197
198 * Makefile.in: Added d30v object files.
199 * configure: (bfd_d30v_arch) Rebuilt.
200 * configure.in: (bfd_d30v_arch) Added new case.
201 * d30v-dis.c: New file.
202 * d30v-opc.c: New file.
203 * disassemble.c (disassembler) Add entry for d30v.
204
205 end-sanitize-d30v
206 start-sanitize-tic80
207 Tue Feb 18 16:32:08 1997 Fred Fish <fnf@cygnus.com>
208
209 * tic80-opc.c (tic80_predefined_symbols): Add symbolic
210 representations for the floating point BITNUM values.
211
212 Fri Feb 14 12:14:05 1997 Fred Fish <fnf@cygnus.com>
213
214 * tic80-opc.c (tic80_predefined_symbols): Store BITNUM values
215 in the table in one's complement form, as they appear in the
216 actual instruction.
217 (tic80_symbol_to_value): Use macros to access predefined
218 symbol fields.
219 (tic80_value_to_symbol): Ditto.
220 (tic80_next_predefined_symbol): New function.
221 * tic80-dis.c (print_operand_bitnum): Remove code that did
222 one's complement for BITNUM values.
223
224 end-sanitize-tic80
225 start-sanitize-r5900
226 Fri Feb 14 13:56:51 1997 Gavin Koch <gavin@cygnus.com>
227
228 * mips-opc.c: bug fix, can't mark insns INSN_5900 and INSN_ISA4
229
230 end-sanitize-r5900
231 Thu Feb 13 21:56:51 1997 Klaus Kaempf <kkaempf@progis.de>
232
233 * makefile.vms: Remove 8 bit characters. Update to latest
234 gcc release.
235
236 Thu Feb 13 20:41:22 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
237
238 * m68k-opc.c (m68k_opcodes): Add swbeg pseudo-instruction.
239
240 Thu Feb 13 16:30:02 1997 Jeffrey A Law (law@cygnus.com)
241
242 * mn10200-opc.c (IMM16_PCREL): This is a signed operand.
243 (IMM24_PCREL): Likewise.
244
245 Thu Feb 13 13:28:43 1997 Ian Lance Taylor <ian@cygnus.com>
246
247 * mips-dis.c (print_mips16_insn_arg): Use memaddr - 2 as the base
248 address for an extended PC relative instruction that is not a
249 branch.
250
251 Wed Feb 12 12:27:40 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
252
253 * m68k-dis.c (print_insn_m68k): Set bytes_per_chunk and
254 bytes_per_line.
255
256 start-sanitize-tic80
257 Tue Feb 11 16:36:31 1997 Fred Fish <fnf@cygnus.com>
258
259 * tic80-opc.c (tic80_operands): Fix typo '+' -> '|'.
260 (tic80_opcodes): Sort entries so that long immediate forms
261 come after short immediate forms, making it easier for
262 assembler to select the right one for a given operand.
263
264 end-sanitize-tic80
265 Tue Feb 11 15:26:47 1997 Ian Lance Taylor <ian@cygnus.com>
266
267 * mips-dis.c (_print_insn_mips): Set bytes_per_chunk and
268 display_endian.
269 (print_insn_mips16): Likewise.
270
271 start-sanitize-r5900
272 Fri Feb 7 11:12:44 1997 Gavin Koch <gavin@cygnus.com>
273
274 * mips-opc.c: add r5900.
275
276 end-sanitize-r5900
277 start-sanitize-tic80
278 Mon Feb 10 10:12:41 1997 Fred Fish <fnf@cygnus.com>
279
280 * tic80-opc.c (tic80_symbol_to_value): Changed to accept
281 a symbol class that restricts translation to just that
282 class (general register, condition code, etc).
283
284 Thu Feb 6 17:34:09 1997 Fred Fish <fnf@cygnus.com>
285
286 * tic80-opc.c (tic80_operands): Add REG_0_E, REG_22_E,
287 and REG_DEST_E for register operands that have to be
288 an even numbered register. Add REG_FPA for operands that
289 are one of the floating point accumulator registers.
290 Add TIC80_OPERAND_MASK to flags for ENDMASK operand.
291 (tic80_opcodes): Change entries that need even numbered
292 register operands to use the new operand table entries.
293 Add "or" entries that are identical to "or.tt" entries.
294
295 end-sanitize-tic80
296 Wed Feb 5 11:12:44 1997 Ian Lance Taylor <ian@cygnus.com>
297
298 * mips16-opc.c: Add new cases of exit instruction for
299 disassembler.
300 * mips-dis.c (print_mips16_insn_arg): Display floating point
301 registers in operands of exit instruction. Print `$' before
302 register names in operands of entry and exit instructions.
303
304 start-sanitize-tic80
305 Thu Jan 30 14:09:03 1997 Fred Fish <fnf@cygnus.com>
306
307 * tic80-opc.c (tic80_predefined_symbols): Table of name/value
308 pairs for all predefined symbols recognized by the assembler.
309 Also used by the disassembling routines.
310 (tic80_symbol_to_value): New function.
311 (tic80_value_to_symbol): New function.
312 * tic80-dis.c (print_operand_control_register,
313 print_operand_condition_code, print_operand_bitnum):
314 Remove private tables and use tic80_value_to_symbol function.
315
316 end-sanitize-tic80
317 Thu Jan 30 11:30:45 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
318
319 * d10v-dis.c (print_operand): Change address printing
320 to correctly handle PC wrapping. Fixes PR11490.
321
322 Wed Jan 29 09:39:17 1997 Jeffrey A Law (law@cygnus.com)
323
324 * mn10200-opc.c (mn10200_operands): Make 8 and 16 bit pc-relative
325 branches relaxable.
326
327 Tue Jan 28 15:57:34 1997 Ian Lance Taylor <ian@cygnus.com>
328
329 * mips-dis.c (print_insn_mips16): Set insn_info information.
330 (print_mips16_insn_arg): Likewise.
331
332 * mips-dis.c (print_insn_mips16): Better handling of an extend
333 opcode followed by an instruction which can not be extended.
334
335 Fri Jan 24 12:08:21 1997 J.T. Conklin <jtc@cygnus.com>
336
337 * m68k-opc.c (m68k_opcodes): Changed operand specifier for the
338 coldfire moveb instruction to not allow an address register as
339 destination. Although the documentation does not indicate that
340 this is invalid, experiments uncovered unexpected behavior.
341 Added a comment explaining the situation. Thanks to Andreas
342 Schwab for pointing this out to me.
343
344 start-sanitize-tic80
345 Wed Jan 22 20:13:51 1997 Fred Fish <fnf@cygnus.com>
346
347 * tic80-opc.c (tic80_opcodes): Expand comment to note that the
348 entries are presorted so that entries with the same mnemonic are
349 adjacent to each other in the table. Sort the entries for each
350 instruction so that this is true.
351
352 end-sanitize-tic80
353 Mon Jan 20 12:48:57 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
354
355 * m68k-dis.c: Include <libiberty.h>.
356 (print_insn_m68k): Sort the opcode table on the most significant
357 nibble of the opcode.
358
359 start-sanitize-tic80
360 Sat Jan 18 15:15:05 1997 Fred Fish <fnf@cygnus.com>
361
362 * tic80-dis.c (tic80_opcodes): Add "wrcr", "vmpy", "vrnd",
363 "vsub", "vst", "xnor", and "xor" instructions.
364 (V_a1): Renamed from V_a, msb of accumulator reg number.
365 (V_a0): Add macro, lsb of accumulator reg number.
366
367 Fri Jan 17 18:24:31 1997 Fred Fish <fnf@cygnus.com>
368
369 * tic80-dis.c (print_insn_tic80): Broke excessively long
370 function up into several smaller ones and arranged for
371 the instruction printing function to be callable recursively
372 to print vector instructions that have both a load and a
373 math instruction packed into a single opcode.
374 * tic80-opc.c (tic80_opcodes): Expand comment for vld opcode
375 to explain why it comes after the other vector opcodes.
376
377 end-sanitize-tic80
378 Fri Jan 17 16:19:15 1997 J.T. Conklin <jtc@beauty.cygnus.com>
379
380 * m68k-opc.c (m68k_opcodes): add b, w, or l specifier to coldfire
381 move insns to handle immediate operands.
382
383 Thu Jan 17 16:19:00 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
384
385 * m68k-opc.c (m68k_opcodes): Delete duplicate entry for "cmpil".
386 fix operand mask in the "moveml" entries for the coldfire.
387
388 start-sanitize-tic80
389 Thu Jan 16 20:54:40 1997 Fred Fish <fnf@cygnus.com>
390
391 * tic80-opc.c (V_a, V_m, V_S, V_Z, V_p, OP_V, MASK_V):
392 New macros for building vector instruction opcodes.
393 (tic80_opcodes): Remove all uses of FMT_SI, FMT_REG, and
394 FMT_LI, which were unused. The field is now a flags field.
395 Remove some opcodes that are possible, but illegal, such
396 as long immediate instructions with doubles for immediate
397 values. Add "vadd" and "vld" instructions.
398
399 Wed Jan 15 18:59:51 1997 Fred Fish <fnf@cygnus.com>
400
401 * tic80-opc.c (tic80_operands): Reorder some table entries to make
402 the order more logical. Move the shift alias instructions ("rotl",
403 "shl", "ins", "rotr", "extu", "exts", "srl", and "sra" to be
404 interspersed with the regular sr.x and sl.x instructions. Add
405 and test new instruction opcodes for "sl", "sli", "sr", "sri", "st",
406 "sub", "subu", "swcr", and "trap".
407
408 Tue Jan 14 19:42:50 1997 Fred Fish <fnf@cygnus.com>
409
410 * tic80-opc.c (OFF_SS_PC): Renamed from OFF_SS.
411 (OFF_SL_PC): Renamed from OFF_SL.
412 (OFF_SS_BR): New operand type for base relative operand.
413 (OFF_SL_BR): New operand type for base relative operand.
414 (REG_BASE): New operand type for base register operand.
415 (tic80_opcodes): Add and test "fmpy", "frndm", "frndn", "frndp",
416 "frndz", "fsqrt", "fsub", "illop0", "illopF", "ins", "jsr",
417 "ld", "ld.u", "lmo", "or", "rdcr", "rmo", "rotl", and "rotr"
418 instructions.
419 * tic80-dis.c (print_insn_tic80): Print opcode name with fixed width
420 10 char field, padded with spaces on rhs, rather than a string
421 followed by a tab. Use renamed TIC80_OPERAND_PCREL flag bit rather
422 than old TIC80_OPERAND_RELATIVE. Add support for new
423 TIC80_OPERAND_BASEREL flag bit.
424
425 Mon Jan 13 15:58:56 1997 Fred Fish <fnf@cygnus.com>
426
427 * tic80-dis.c (print_insn_tic80): Print floating point operands
428 as floats.
429 * tic80-opc.c (SPFI): Add single precision floating point
430 immediate operand type.
431 (ROTATE): Add rotate operand type for shifts.
432 (ENDMASK): Add for shifts.
433 (n): Macro for the 'n' bit.
434 (i): Macro for the 'i' bit.
435 (PD): Macro for the 'PD' field.
436 (P2): Macro for the 'P2' field.
437 (P1): Macro for the 'P1' field.
438 (tic80_opcodes): Add entries for "exts", "extu", "fadd",
439 "fcmp", and "fdiv".
440
441 end-sanitize-tic80
442 Mon Jan 6 15:06:55 1997 Jeffrey A Law (law@cygnus.com)
443
444 * mn10200-dis.c (disassemble): Mask off unwanted bits after
445 adding in current address for pc-relative operands.
446
447 start-sanitize-tic80
448 Mon Jan 6 10:56:25 1997 Fred Fish <fnf@cygnus.com>
449
450 * tic80-dis.c (R_SCALED): Add macro to test for ":s" modifier bit.
451 (print_insn_tic80): If R_SCALED then print ":s" modifier for operand.
452 * tic80-opc.c (REG0, REG22, REG27, SSOFF, LSOFF): Names
453 changed to REG_0, REG_22, REG_DEST, OFF_SS, OFF_SL respectively.
454 (SICR, LICR, REGM_SI, REGM_LI): Names changed to CR_SI, CR_LI,
455 REG_BASE_M_SI, REG_BASE_M_LI respectively.
456 (REG_SCALED, LSI_SCALED): New operand types.
457 (E): New macro for 'E' bit at bit 27.
458 (tic80_opcodes): Add and test dld, dld.u, dst, estop, and etrap
459 opcodes, including the various size flavors (b,h,w,d) for
460 the direct load and store instructions.
461
462 Sun Jan 5 12:18:14 1997 Fred Fish <fnf@cygnus.com>
463
464 * tic80-dis.c (M_SI, M_LI): Add macros to test for ":m" modifier bit
465 in an instruction.
466 * tic80-dis.c (print_insn_tic80): Change comma and paren handling.
467 Use M_SI and M_LI macros to check for ":m" modifier for GPR operands.
468 * tic80-opc.c (tic80_operands): Add REGM_SI and REGM_LI operands.
469 (F, M_REG, M_LI, M_SI, SZ_REG, SZ_LI, SZ_SI, D, S): New bit-twiddlers.
470 (MASK_LI_M, MASK_SI_M, MASK_REG_M): Remove and replace in opcode
471 masks with "MASK_* & ~M_*" to get the M bit reset.
472 (tic80_opcodes): Add bsr, bsr.a, cmnd, cmp, dcachec, and dcachef.
473
474 Sat Jan 4 19:05:05 1997 Fred Fish <fnf@cygnus.com>
475
476 * tic80-dis.c (print_insn_tic80): Print TIC80_OPERAND_RELATIVE
477 correctly. Add support for printing TIC80_OPERAND_BITNUM and
478 TIC80_OPERAND_CC, and TIC80_OPERAND_CR operands in symbolic
479 form.
480 * tic80-opc.c (tic80_operands): Add SSOFF, LSOFF, BITNUM,
481 CC, SICR, and LICR table entries.
482 (tic80_opcodes): Add and test "nop", "br", "bbo", "bbz",
483 "bcnd", and "brcr" opcodes.
484
485 end-sanitize-tic80
486 Fri Jan 3 18:32:11 1997 Fred Fish <fnf@cygnus.com>
487
488 * ppc-opc.c (powerpc_operands): Make comment match the
489 actual fields (no shift field).
490 * sparc-opc.c (sparc_opcodes): Document why this cannot be "const".
491 start-sanitize-tic80
492 * tic80-dis.c (print_insn_tic80): Replace abort stub with a
493 partial implementation, work in progress.
494 * tic80-opc.c (tic80_operands): Begin construction operands table.
495 (tic80_opcodes): Continue populating opcodes table and start
496 filling in the operand indices.
497 (tic80_num_opcodes): Add this.
498 end-sanitize-tic80
499
500 Fri Jan 3 12:13:52 1997 Ian Lance Taylor <ian@cygnus.com>
501
502 * m68k-opc.c: Add #B case for moveq.
503
504 Thu Jan 2 12:14:29 1997 Jeffrey A Law (law@cygnus.com)
505
506 * mn10300-dis.c (disassemble): Make sure all variables are initialized
507 before they are used.
508
509 start-sanitize-v850
510 Tue Dec 31 12:20:38 1996 Jeffrey A Law (law@cygnus.com)
511
512 * v850-opc.c (v850_opcodes): Put curly-braces around operands
513 for "breakpoint" instruction.
514
515 end-sanitize-v850
516 Tue Dec 31 15:38:13 1996 Ian Lance Taylor <ian@cygnus.com>
517
518 * Makefile.in (ALL_CFLAGS): Add -D_GNU_SOURCE.
519 (dep): Use ALL_CFLAGS rather than CFLAGS.
520
521 start-sanitize-v850
522 Tue Dec 31 15:09:16 1996 Michael Meissner <meissner@tiktok.cygnus.com>
523
524 * v850-opc.c (D8_{6,7}): Set V850_OPERAND_ADJUST_SHORT_MEMORY
525 flag.
526
527 end-sanitize-v850
528 Mon Dec 30 17:02:11 1996 Fred Fish <fnf@cygnus.com>
529
530 * Makefile.in (m68k-opc.o, alpha-opc.o): Remove dis-asm.h dependency.
531 start-sanitize-tic80
532 (tic80-dis.o, tic80-opc.o): Add rules per comment in Makefile.in.
533 end-sanitize-tic80
534
535 Mon Dec 30 11:38:01 1996 Ian Lance Taylor <ian@cygnus.com>
536
537 * mips16-opc.c: Add "abs".
538
539 start-sanitize-tic80
540 Sun Dec 29 10:58:22 1996 Fred Fish <fnf@cygnus.com>
541
542 * Makefile.in (ALL_MACHINES): Add tic80-dis.o and tic80-opc.o.
543 * disassemble.c (ARCH_tic80): Define if ARCH_all is defined.
544 (disassembler): Add bfd_arch_tic80 support to set disassemble
545 to print_insn_tic80.
546 * tic80-dis.c (print_insn_tic80): Add stub.
547
548 Fri Dec 27 22:30:57 1996 Fred Fish <fnf@cygnus.com>
549
550 * configure.in (arch in $selarchs): Add bfd_tic80_arch entry.
551 * configure: Regenerate with autoconf.
552 * tic80-dis.c: Add file.
553 * tic80-opc.c: Add file.
554
555 end-sanitize-tic80
556 Fri Dec 20 14:30:19 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
557
558 * d10v-opc.c (pre_defined_registers): Add cr[0-15], dpc, dpsw, link.
559
560 Mon Dec 16 13:00:15 1996 Jeffrey A Law (law@cygnus.com)
561
562 * mn10200-opc.c (mn10200_operands): Add SIMM16N.
563 (mn10200_opcodes): Use it for some logicals and btst insns.
564 Add "break" and "trap" instructions.
565
566 * mn10300-opc.c (mn10300_opcodes): Add "break" instruction.
567
568 * mn10200-opc.c: Add pseudo-ops for "mov (an),am" and "mov an,(am)".
569
570 Sat Dec 14 22:36:20 1996 Ian Lance Taylor <ian@cygnus.com>
571
572 * mips-dis.c (print_mips16_insn_arg): The base address of a PC
573 relative load or add now depends upon whether the instruction is
574 in a delay slot.
575
576 Wed Dec 11 09:23:46 1996 Jeffrey A Law (law@cygnus.com)
577
578 * mn10200-dis.c: Finish writing disassembler.
579 * mn10200-opc.c (mn10200_opcodes): Fix mask for "mov imm8,dn".
580 Fix mask for "jmp (an)".
581
582 * mn10300-dis.c (disassemble, print_insn_mn10300): Corrently
583 handle endianness issues for mn10300.
584
585 * mn10200-opc.c (mn10200_opcodes): Fix operands for "movb dm,(an)".
586
587 Tue Dec 10 12:08:05 1996 Jeffrey A Law (law@cygnus.com)
588
589 * mn10200-opc.c (mn10200_opcodes): "mov imm8,d0" is a format 2
590 instruction. Fix opcode field for "movb (imm24),dn".
591
592 * mn10200-opc.c (mn10200_operands): Fix insertion position
593 for DI operand.
594
595 Mon Dec 9 16:42:43 1996 Jeffrey A Law (law@cygnus.com)
596
597 * mn10200-opc.c: Create mn10200 opcode table.
598 * mn10200-dis.c: Flesh out mn10200 disassembler. Not ready,
599 but moving along nicely.
600
601 Sun Dec 8 04:28:31 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
602
603 * Makefile.in (ALL_MACHINES): Add mips16-opc.o.
604
605 Fri Dec 6 16:47:40 1996 J.T. Conklin <jtc@rhino.cygnus.com>
606
607 * m68k-opc.c (m68k_opcodes): Revert change to use < and >
608 specifiers for fmovem* instructions.
609
610 Fri Dec 6 14:48:09 1996 Jeffrey A Law (law@cygnus.com)
611
612 * mn10300-dis.c (disassemble): Remove '$' register prefixing.
613
614 Fri Dec 6 17:34:39 1996 Ian Lance Taylor <ian@cygnus.com>
615
616 * mips16-opc.c: Change opcode for entry/exit to avoid conflicting
617 with dsrl.
618
619 Fri Dec 6 14:48:09 1996 Jeffrey A Law (law@cygnus.com)
620
621 * mn10300-opc.c: Add some comments explaining the various
622 operands and such.
623
624 * mn10300-dis.c (disassemble): Fix minor gcc -Wall warnings.
625
626 Thu Dec 5 12:09:48 1996 J.T. Conklin <jtc@rtl.cygnus.com>
627
628 * m68k-dis.c (print_insn_arg): Handle new < and > operand
629 specifiers.
630
631 * m68k-opc.c (m68k_opcodes): Simplify table by using < and >
632 operand specifiers in fmovm* instructions.
633
634 Wed Dec 4 14:52:18 1996 Ian Lance Taylor <ian@cygnus.com>
635
636 * ppc-opc.c (insert_li): Give an error if the offset has the two
637 least significant bits set.
638
639 Wed Nov 27 13:09:01 1996 Ian Lance Taylor <ian@cygnus.com>
640
641 * mips-dis.c (print_insn_mips16): Separate the instruction from
642 the arguments with a tab, not a space.
643
644 Tue Nov 26 13:24:17 1996 Jeffrey A Law (law@cygnus.com)
645
646 * mn10300-dis.c (disasemble): Finish conversion to '$' as
647 register prefix.
648
649 * mn10300-opc.c (mn10300_opcodes): Fix mask field for
650 mov am,(imm32,sp).
651
652 Tue Nov 26 10:53:21 1996 Ian Lance Taylor <ian@cygnus.com>
653
654 * configure: Rebuild with autoconf 2.12.
655
656 Add support for mips16 (16 bit MIPS implementation):
657 * mips16-opc.c: New file.
658 * mips-dis.c: Include "elf-bfd.h" and "elf/mips.h".
659 (mips16_reg_names): New static array.
660 (print_insn_big_mips): Use print_insn_mips16 in 16 bit mode or
661 after seeing a 16 bit symbol.
662 (print_insn_little_mips): Likewise.
663 (print_insn_mips16): New static function.
664 (print_mips16_insn_arg): New static function.
665 * mips-opc.c: Add jalx instruction.
666 * Makefile.in (mips16-opc.o): New target.
667 * configure.in: Use mips16-opc.o for bfd_mips_arch.
668 * configure: Rebuild.
669
670 Mon Nov 25 16:15:17 1996 J.T. Conklin <jtc@cygnus.com>
671
672 * m68k-opc.c (m68k_opcodes): Simplify table by using < and >
673 operand specifiers in *save, *restore and movem* instructions.
674
675 * m68k-opc.c (m68k_opcodes): Fix move and movem instructions for
676 the coldfire.
677
678 * m68k-opc.c (m68k_opcodes): The coldfire (mcf5200) can only use
679 register operands for immediate arithmetic, not, neg, negx, and
680 set according to condition instructions.
681
682 * m68k-opc.c (m68k_opcodes): Consistantly Use "s" as the storage
683 specifier of the effective-address operand in immediate forms of
684 arithmetic instructions. The specifier for the immediate operand
685 notes how and where the constant will be stored.
686
687 Mon Nov 25 11:17:01 1996 Jeffrey A Law (law@cygnus.com)
688
689 * mn10300-opc.c (mn10300_opcodes): Remove redundant "lcc"
690 opcode.
691
692 * mn10300-dis.c (disassemble): Use '$' instead of '%' for
693 register prefix.
694
695 * mn10300-dis.c (disassemble): Prefix registers with '%'.
696
697 Wed Nov 20 10:37:13 1996 Jeffrey A Law (law@cygnus.com)
698
699 * mn10300-dis.c (disassemble): Handle register lists.
700
701 * mn10300-opc.c: Fix handling of register list operand for
702 "call", "ret", and "rets" instructions.
703
704 * mn10300-dis.c (disassemble): Print PC-relative and memory
705 addresses symbolically if possible.
706 * mn10300-opc.c: Distinguish between absolute memory addresses,
707 pc-relative offsets & random immediates.
708
709 * mn10300-dis.c (print_insn_mn10300): Fix fetch of last byte
710 in 7 byte insns.
711 (disassemble): Handle SPLIT and EXTENDED operands.
712
713 Tue Nov 19 13:33:01 1996 Jeffrey A Law (law@cygnus.com)
714
715 * mn10300-dis.c: Rough cut at printing some operands.
716
717 * mn10300-dis.c: Start working on disassembler support.
718 * mn10300-opc.c (mn10300_opcodes): Fix masks on several insns.
719
720 * mn10300-opc.c (mn10300_operands): Add "REGS" for a register
721 list.
722 (mn10300_opcodes): Use REGS for register list in "movm" instructions.
723
724 Mon Nov 18 15:20:35 1996 Michael Meissner <meissner@tiktok.cygnus.com>
725
726 * d10v-opc.c (d10v_opcodes): Add3 sets the carry.
727
728 Fri Nov 15 13:43:19 1996 Jeffrey A Law (law@cygnus.com)
729
730 * mn10300-opc.c (mn10300_opcodes): Demand parens around
731 register argument is calls and jmp instructions.
732
733 Thu Nov 7 00:26:05 1996 Jeffrey A Law (law@cygnus.com)
734
735 * mn10300-opc.c (mn10300_opcodes): Use DN01 for putx and
736 getx operand. Fix opcode for mulqu imm,dn.
737
738 Wed Nov 6 13:42:32 1996 Jeffrey A Law (law@cygnus.com)
739
740 * mn10300-opc.c (mn10300_operands): Hijack "bits" field
741 in MN10300_OPERAND_SPLIT operands for how many bits
742 appear in the basic insn word. Add IMM32_HIGH24,
743 IMM32_HIGH24_LOWSHIFT8, IMM8E_SHIFT8.
744 (mn10300_opcodes): Use new operands as needed.
745
746 * mn10300-opc.c (mn10300_operands): Add IMM32_LOWSHIFT8
747 for bset, bclr, btst instructions.
748 (mn10300_opcodes): Use new IMM32_LOWSHIFT8 as needed.
749
750 * mn10300-opc.c (mn10300_operands): Remove many redundant
751 operands. Update opcode table as appropriate.
752 (IMM32): Add MN10300_OPERAND_SPLIT flag.
753 (mn10300_opcodes): Fix single bit error in mov imm32,dn insn.
754
755 Tue Nov 5 13:26:58 1996 Jeffrey A Law (law@cygnus.com)
756
757 * mn10300-opc.c (mn10300_operands): Add DN2, DM2, AN2, AM2
758 operands (for indexed load/stores). Fix bitpos for DI
759 operand. Add SN8N_SHIFT8, IMM8_SHIFT8, and D16_SHIFT for the
760 few instructions that insert immediates/displacements in the
761 middle of the instruction. Add IMM8E for 8 bit immediate in
762 the extended part of an instruction.
763 (mn10300_operands): Use new opcodes as appropriate.
764
765 Tue Nov 5 10:30:51 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
766
767 * d10v-opc.c (d10v_opcodes): Declare the trap instruction
768 sequential so the assembler never parallelizes it with
769 other instructions.
770
771 Mon Nov 4 12:50:40 1996 Jeffrey A Law (law@cygnus.com)
772
773 * mn10300-opc.c (mn10300_operands): Add DN01 and AN01 for
774 a data/address register that appears in register field 0
775 and register field 1.
776 (mn10300_opcodes): Use DN01 and AN01 for mov/cmp imm8,DN/AN
777
778 Fri Nov 1 10:29:11 1996 Richard Henderson <rth@tamu.edu>
779
780 * alpha-dis.c (print_insn_alpha): Use new NOPAL mask for
781 standard disassembly.
782
783 * alpha-opc.c (alpha_operands): Rearrange flags slot.
784 (alpha_opcodes): Add new BWX, CIX, and MAX instructions.
785 Recategorize PALcode instructions.
786
787 start-sanitize-v850
788 Wed Oct 30 16:46:58 1996 Jeffrey A Law (law@cygnus.com)
789
790 * v850-opc.c (v850_opcodes): Add relaxing "jbr".
791
792 end-sanitize-v850
793 Tue Oct 29 16:30:28 1996 Ian Lance Taylor <ian@cygnus.com>
794
795 * mips-dis.c (_print_insn_mips): Don't print a trailing tab if
796 there are no operand types.
797
798 start-sanitize-v850
799 Tue Oct 29 12:22:21 1996 Jeffrey A Law (law@cygnus.com)
800
801 * v850-opc.c (D9_RELAX): Renamed from D9, all references
802 changed.
803 (v850_operands): Make sure D22 immediately follows D9_RELAX.
804
805 end-sanitize-v850
806 Fri Oct 25 12:12:53 1996 Ian Lance Taylor <ian@cygnus.com>
807
808 * i386-dis.c (print_insn_x86): Set info->bytes_per_line to 5.
809
810 start-sanitize-v850
811 Thu Oct 24 17:53:52 1996 Jeffrey A Law (law@cygnus.com)
812
813 * v850-opc.c (insert_d8_6): Fix operand insertion for sld.w
814 and sst.w instructions.
815
816 * v850-opc.c (v850_opcodes): Add "jCC" instructions (aliases for
817 "bCC"instructions).
818
819 end-sanitize-v850
820 Thu Oct 24 17:21:20 1996 Ian Lance Taylor <ian@cygnus.com>
821
822 * mips-dis.c (_print_insn_mips): Use a tab between the instruction
823 and the arguments.
824
825 Tue Oct 22 23:32:56 1996 Ian Lance Taylor <ian@cygnus.com>
826
827 * ppc-opc.c (PPCPWR2): Define.
828 (powerpc_opcodes): Use PPCPWR2 for fsqrt, rather than duplicating
829 it.
830
831 Fri Oct 11 16:03:49 1996 Jeffrey A Law (law@cygnus.com)
832
833 * mn10300-opc.c (mn10300_opcodes): Fix typo in opcode
834 field for movhu instruction.
835 start-sanitize-v850
836
837 * v850-dis.c (disassemble): For V850_OPERAND_SIGNED operands,
838 cast value to "long" not "signed long" to keep hpux10
839 compiler quiet.
840 end-sanitize-v850
841
842 Thu Oct 10 10:25:58 1996 Jeffrey A Law (law@cygnus.com)
843
844 * mn10300-opc.c (mn10300_opcodes): Fix typo in opcode field
845 for mov (abs16),DN.
846
847 * mn10300-opc.c (FMT*): Remove definitions.
848
849 * mn10300-opc.c (mn10300_opcodes): Fix destination register
850 for shift-by-register opcodes.
851
852 * mn10300-opc.c (mn10300_operands): Break DN, DM, AN, AM
853 into [AD][MN][01] for encoding the position of the register
854 in the opcode.
855
856 Wed Oct 9 11:19:26 1996 Jeffrey A Law (law@cygnus.com)
857
858 * mn10300-opc.c (mn10300_opcodes): Add "extended" instructions,
859 "putx", "getx", "mulq", "mulqu", "sat16", "sat24", "bsch".
860
861 Tue Oct 8 11:55:35 1996 Jeffrey A Law (law@cygnus.com)
862
863 * mn10300-opc.c (mn10300_operands): Remove "REGS" operand.
864 Fix various typos. Add "PAREN" operand.
865 (MEM, MEM2): Define.
866 (mn10300_opcodes): Surround all memory addresses with "PAREN"
867 operands. Fix several typos.
868
869 * mn10300-opc.c (mn10300_opcodes): Fix typos in yesterday's
870 changes.
871
872 Mon Oct 7 16:48:45 1996 Jeffrey A Law (law@cygnus.com)
873
874 * mn10300-opc.c (FMT_XX): Renumber starting at one.
875 (mn10300_operands): Rough cut. Enough to parse "mov" instructions
876 at this time.
877 (mn10300_opcodes): Break opcode format out into its own field.
878 Update many operand fields to deal with signed vs unsigned
879 issues. Fix one or two typos in the "mov" instruction
880 opcode, mask and/or operand fields.
881
882 Mon Oct 7 11:39:49 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
883
884 * m68k-opc.c (plusha): Prefer encoding for m68040up, in case
885 m68851 wasn't reset.
886
887 Thu Oct 3 17:17:02 1996 Ian Lance Taylor <ian@cygnus.com>
888
889 * mn10300-opc.c (mn10300_opcodes): Add opcode & masks for
890 all opcodes. Very rough cut at operands for all opcodes.
891
892 * mn10300-opc.c (mn10300_opcodes): Start fleshing out the
893 opcode table.
894
895 Thu Oct 3 10:06:07 1996 Jeffrey A Law (law@cygnus.com)
896
897 * mn10200-opc.c, mn10300-opc.c: New files.
898 * mn10200-dis.c, mn10300-dis.c: New files.
899 * mn10x00-opc.c, mn10x00-dis.c: Deleted.
900 * disassemble.c: Break mn10x00 support into 10200 and 10300
901 support.
902 * configure.in: Likewise.
903 * configure: Rebuilt.
904
905 Thu Oct 3 15:59:12 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
906
907 * Makefile.in (MOSTLYCLEAN): Move config.log to distclean.
908
909 Wed Oct 2 23:28:42 1996 Jeffrey A Law (law@cygnus.com)
910
911 * mn10x00-opc.c, mn10x00-dis.c: New files for Matsushita
912 MN10x00 processors.
913 * disassemble (ARCH_mn10x00): Define.
914 (disassembler): Handle bfd_arch_mn10x00.
915 * configure.in: Recognize bfd_mn10x00_arch.
916 * configure: Rebuilt.
917
918 Tue Oct 1 10:49:11 1996 Ian Lance Taylor <ian@cygnus.com>
919
920 * i386-dis.c (op_rtn): Change to be a pointer. Adjust uses
921 accordingly. Don't declare functions using op_rtn.
922
923 start-sanitize-v850
924 Fri Sep 27 18:28:59 1996 Stu Grossman (grossman@critters.cygnus.com)
925
926 * v850-dis.c (disassemble): Add memaddr argument. Re-arrange
927 params to be more standard.
928 * (disassemble): Print absolute addresses and symbolic names for
929 branch and jump targets.
930 * v850-opc.c (v850_operand): Add displacement flag to 9 and 22
931 bit operands.
932 * (v850_opcodes): Add breakpoint insn.
933
934 end-sanitize-v850
935 Mon Sep 23 12:32:26 1996 Ian Lance Taylor <ian@cygnus.com>
936
937 * m68k-opc.c: Move the fmovemx data register cases before the
938 other cases, so that they get recognized before the data register
939 does gets treated as a degenerate register list.
940
941 Tue Sep 17 12:06:51 1996 Ian Lance Taylor <ian@cygnus.com>
942
943 * mips-opc.c: Add a case for "div" and "divu" with two registers
944 and a destination of $0.
945
946 Tue Sep 10 16:12:39 1996 Fred Fish <fnf@rtl.cygnus.com>
947
948 * mips-dis.c (print_insn_arg): Add prototype.
949 (_print_insn_mips): Ditto.
950
951 Mon Sep 9 14:26:26 1996 Ian Lance Taylor <ian@cygnus.com>
952
953 * mips-dis.c (print_insn_arg): Print condition code registers as
954 $fccN.
955
956 Tue Sep 3 12:09:46 1996 Doug Evans <dje@canuck.cygnus.com>
957
958 * sparc-opc.c (sparc_opcodes): Add setuw, setsw, setx.
959
960 start-sanitize-v850
961 Tue Sep 3 12:05:25 1996 Jeffrey A Law (law@cygnus.com)
962
963 * v850-dis.c (disassemble): Make static. Provide prototype.
964
965 Sun Sep 1 22:30:40 1996 Jeffrey A Law (law@cygnus.com)
966
967 * v850-opc.c (insert_d9, insert_d22): Fix boundary case
968 in range checks.
969
970 Sat Aug 31 01:27:26 1996 Jeffrey A Law (law@cygnus.com)
971
972 * v850-dis.c (disassemble): Handle insertion of ',', '[' and
973 ']' characters into the output stream.
974 * v850-opc.c (v850_opcodes: Remove size field from all opcodes.
975 Add "memop" field to all opcodes (for the disassembler).
976 Reorder opcodes so that "nop" comes before "mov" and "jr"
977 comes before "jarl".
978
979 * v850-dis.c (print_insn_v850): Fix typo in last change.
980
981 * v850-dis.c (print_insn_v850): Properly handle disassembling
982 a two byte insn at the end of a memory region when the memory
983 region's size is only two byte aligned.
984
985 * v850-dis.c (v850_cc_names): Fix stupid thinkos.
986
987 * v850-dis.c (v850_reg_names): Define.
988 (v850_sreg_names, v850_cc_names): Likewise.
989 (disassemble): Very rough cut at printing operands (unformatted).
990
991 * v850-opc.c (BOP_MASK): Fix.
992 (v850_opcodes): Fix mask for jarl and jr.
993
994 * v850-dis.c: New file. Skeleton for disassembler support.
995 * Makefile.in Remove v850 references, they're not needed here
996 and they weren't being sanitized away.
997 * configure.in: Add v850-dis.o when building v850 toolchains.
998 * configure: Rebuilt.
999 * disassemble.c (disassembler): Call v850 disassembler.
1000
1001 * v850-opc.c (insert_d8_7, extract_d8_7): New functions.
1002 (insert_d8_6, extract_d8_6): New functions.
1003 (v850_operands): Rename D7S to D7; operand for D7 is unsigned.
1004 Rename D8 to D8_7, use {insert,extract}_d8_7 routines.
1005 Add D8_6.
1006 (IF4A, IF4B): Use "D7" instead of "D7S".
1007 (IF4C, IF4D): Use "D8_7" instead of "D8".
1008 (IF4E, IF4F): New. Use "D8_6".
1009 (v850_opcodes): Use IF4A/IF4B for sld.b/sst.b. Use IF4C/IF4D for
1010 sld.h/sst.h. Use IF4E/IF4F for sld.w/sst.w.
1011
1012 * v850-opc.c (insert_d16_15, extract_d16_15): New functions.
1013 (v850_operands): Change D16 to D16_15, use special insert/extract
1014 routines. New new D16 that uses the generic insert/extract code.
1015 (IF7A, IF7B): Use D16_15.
1016 (IF7C, IF7D): New. Use D16.
1017 (v850_opcodes): Use IF7C and IF7D for ld.b and st.b.
1018
1019 * v850-opc.c (insert_d9, insert_d22): Slightly improve error
1020 message. Issue an error if the branch offset is odd.
1021
1022 * v850-opc.c: Add notes about needing special insert/extract
1023 for all the load/store insns, except "ld.b" and "st.b".
1024
1025 * v850-opc.c (insert_d22, extract_d22): New functions.
1026 (v850_operands): Use insert_d22 and extract_d22 for
1027 D22 operands.
1028 (insert_d9): Fix range check.
1029
1030 Fri Aug 30 18:01:02 1996 J.T. Conklin <jtc@hippo.cygnus.com>
1031
1032 * v850-opc.c (v850_operands): Add V850_OPERAND_SIGNED flag
1033 and set bits field to D9 and D22 operands.
1034
1035 Thu Aug 29 11:10:46 1996 Jeffrey A Law (law@cygnus.com)
1036
1037 * v850-opc.c (v850_operands): Define SR2 operand.
1038 (v850_opcodes): "ldsr" uses R1,SR2.
1039
1040 * v850-opc.c (v850_opcodes): Fix opcode specs for
1041 sld.w, sst.b, sst.h, sst.w, and nop.
1042
1043 Wed Aug 28 15:55:43 1996 Jeffrey A Law (law@cygnus.com)
1044
1045 * v850-opc.c (v850_opcodes): Add null opcode to mark the
1046 end of the opcode table.
1047
1048 end-sanitize-v850
1049 Mon Aug 26 13:35:53 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
1050
1051 * d10v-opc.c (pre_defined_registers): Added register pairs,
1052 "r0-r1", "r2-r3", etc.
1053
1054 start-sanitize-v850
1055 Fri Aug 23 00:27:01 1996 Jeffrey A Law (law@cygnus.com)
1056
1057 * v850-opc.c (v850_operands): Make I16 be a signed operand.
1058 Create I16U for an unsigned 16bit mmediate operand.
1059 (v850_opcodes): Use I16U for "ori", "andi" and "xori".
1060
1061 * v850-opc.c (v850_operands): Define EP operand.
1062 (IF4A, IF4B, IF4C, IF4D): Use EP.
1063
1064 * v850-opc.c (v850_opcodes): Fix opcode numbers for "mov"
1065 with immediate operand, "movhi". Tweak "ldsr".
1066
1067 * v850-opc.c (v850_opcodes): Get ld.[bhw] and st.[bhw]
1068 correct. Get sld.[bhw] and sst.[bhw] closer.
1069
1070 * v850-opc.c (v850_operands): "not" is a two byte insn
1071
1072 * v850-opc.c (v850_opcodes): Correct bit pattern for setf.
1073
1074 * v850-opc.c (v850_operands): D16 inserts at offset 16!
1075
1076 * v850-opc.c (two): Get order of words correct.
1077
1078 * v850-opc.c (v850_operands): I16 inserts at offset 16!
1079
1080 * v850-opc.c (v850_operands): Add "SR1" and "SR2" for system
1081 register source and destination operands.
1082 (v850_opcodes): Use SR1 and SR2 for "ldsr" and "stsr".
1083
1084 * v850-opc.c (v850_opcodes): Fix thinko in "jmp" opcode. Fix
1085 same thinko in "trap" opcode.
1086
1087 * v850-opc.c (v850_opcodes): Add initializer for size field
1088 on all opcodes.
1089
1090 * v850-opc.c (v850_operands): D6 -> DS7. References changed.
1091 Add D8 for 8-bit unsigned field in short load/store insns.
1092 (IF4A, IF4D): These both need two registers.
1093 (IF4C, IF4D): Define. Use 8-bit unsigned field.
1094 (v850_opcodes): For "sld.h", "sld.w", "sst.h", "sst.w", use
1095 IF4C & IF4D. For "trap" use I5U, not I5. Add IF1 operand
1096 for "ldsr" and "stsr".
1097 * v850-opc.c (v850_operands): 3-bit immediate for bit insns
1098 is unsigned.
1099
1100 * v850-opc.c (v850_opcodes): Correct short store half (sst.h) and
1101 short store word (sst.w).
1102
1103 Thu Aug 22 16:57:27 1996 J.T. Conklin <jtc@rtl.cygnus.com>
1104
1105 * v850-opc.c (v850_operands): Added insert and extract fields,
1106 pointers to functions that handle unusual operand encodings.
1107
1108 Thu Aug 22 01:05:24 1996 Jeffrey A Law (law@cygnus.com)
1109
1110 * v850-opc.c (v850_opcodes): Enable "trap".
1111
1112 * v850-opc.c (v850_opcodes): Fix order of displacement
1113 and register for "set1", "clr1", "not1", and "tst1".
1114
1115 Wed Aug 21 18:46:26 1996 Jeffrey A Law (law@cygnus.com)
1116
1117 * v850-opc.c (v850_operands): Add "B3" support.
1118 (v850_opcodes): Fix and enable "set1", "clr1", "not1"
1119 and "tst1".
1120
1121 * v850-opc.c (v850_opcodes): "jmp" has only an R1 operand.
1122
1123 * v850-opc.c: Close unterminated comment.
1124
1125 Wed Aug 21 17:31:26 1996 J.T. Conklin <jtc@hippo.cygnus.com>
1126
1127 * v850-opc.c (v850_operands): Add flags field.
1128 (v850_opcodes): add move opcodes.
1129
1130 Tue Aug 20 14:41:03 1996 J.T. Conklin <jtc@hippo.cygnus.com>
1131
1132 * Makefile.in (ALL_MACHINES): Add v850-opc.o.
1133 * configure: (bfd_v850v_arch) Add new case.
1134 * configure.in: (bfd_v850_arch) Add new case.
1135 * v850-opc.c: New file.
1136
1137 end-sanitize-v850
1138 Mon Aug 19 15:21:38 1996 Doug Evans <dje@canuck.cygnus.com>
1139
1140 * sparc-dis.c (print_insn_sparc): Handle little endian sparcs.
1141
1142 Thu Aug 15 13:14:43 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
1143
1144 * d10v-opc.c: Add additional information to the opcode
1145 table to help determinine which instructions can be done
1146 in parallel.
1147
1148 Thu Aug 15 13:11:13 1996 Stan Shebs <shebs@andros.cygnus.com>
1149
1150 * mpw-make.sed: Update editing of include pathnames to be
1151 more general.
1152
1153 Thu Aug 15 16:28:41 1996 James G. Smith <jsmith@cygnus.co.uk>
1154
1155 * arm-opc.h: Added "bx" instruction definition.
1156
1157 Wed Aug 14 17:00:04 1996 Richard Henderson <rth@tamu.edu>
1158
1159 * alpha-opc.c (EV4EXTHWINDEX): Field width should be 8 not 5.
1160
1161 Mon Aug 12 14:30:37 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
1162
1163 * d10v-opc.c (d10v_opcodes): Minor fixes to addi and bl.l.
1164
1165 Fri Aug 9 13:21:59 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
1166
1167 * d10v-opc.c (d10v_opcodes): Correct 'mv' unit entry to EITHER.
1168
1169 Thu Aug 8 12:43:52 1996 Klaus Kaempf <kkaempf@progis.de>
1170
1171 * makefile.vms: Update for alpha-opc changes.
1172
1173 Wed Aug 7 11:55:10 1996 Ian Lance Taylor <ian@cygnus.com>
1174
1175 * i386-dis.c (print_insn_i386): Actually return the correct value.
1176 (ONE, OP_ONE): #ifdef out; not used.
1177
1178 Fri Aug 2 17:47:03 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
1179
1180 * d10v-opc.c (d10v_opcodes): Added 2 accumulator sub instructions.
1181 Changed subi operand type to treat 0 as 16.
1182
1183 Wed Jul 31 16:21:41 1996 Ian Lance Taylor <ian@cygnus.com>
1184
1185 * m68k-opc.c: Add cpushl for the mcf5200. From Ken Rose
1186 <rose@netcom.com>.
1187
1188 Wed Jul 31 14:39:27 1996 James G. Smith <jsmith@cygnus.co.uk>
1189
1190 * arm-opc.h: (arm_opcodes): Added halfword and sign-extension
1191 memory transfer instructions. Add new format string entries %h and %s.
1192 * arm-dis.c: (print_insn_arm): Provide decoding of the new
1193 formats %h and %s.
1194
1195 Fri Jul 26 11:45:04 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
1196
1197 * d10v-opc.c (d10v_operands): Added UNUM4S; a 4-bit accumulator shift.
1198 (d10v_opcodes): Modified accumulator shift instructions to use UNUM4S.
1199
1200 Fri Jul 26 14:01:43 1996 Ian Lance Taylor <ian@cygnus.com>
1201
1202 * alpha-dis.c (print_insn_alpha_osf): Remove.
1203 (print_insn_alpha_vms): Remove.
1204 (print_insn_alpha): Make globally visible. Chose the register
1205 names based on info->flavour.
1206 * disassemble.c: Always return print_insn_alpha for the alpha.
1207
1208 Thu Jul 25 15:24:17 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
1209
1210 * d10v-dis.c (dis_long): Handle unknown opcodes.
1211
1212 Thu Jul 25 12:08:09 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
1213
1214 * d10v-opc.c: Changes to support signed and unsigned numbers.
1215 All instructions with the same name that have long and short forms
1216 now end in ".l" or ".s". Divs added.
1217 * d10v-dis.c: Changes to support signed and unsigned numbers.
1218
1219 Tue Jul 23 11:02:53 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
1220
1221 * d10v-dis.c: Change all functions to use info->print_address_func.
1222
1223 Mon Jul 22 15:38:53 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1224
1225 * m68k-opc.c (m68k_opcodes): Make opcode masks for the ColdFire
1226 move ccr/sr insns more strict so that the disassembler only
1227 selects them when the addressing mode is data register.
1228
1229 Mon Jul 22 11:25:24 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
1230 * d10v-opc.c (pre_defined_registers): Declare.
1231 * d10v-dis.c (print_operand): Now uses pre_defined_registers
1232 to pick a better name for the registers.
1233
1234 Mon Jul 22 13:47:23 1996 Ian Lance Taylor <ian@cygnus.com>
1235
1236 * sparc-opc.c: Fix opcode values for fpack16, and fpackfix. Fix
1237 operands for fexpand and fpmerge. From Christian Kuehnke
1238 <Christian.Kuehnke@arbi.informatik.uni-oldenburg.de>.
1239
1240 Mon Jul 22 13:17:06 1996 Richard Henderson <rth@tamu.edu>
1241
1242 * alpha-dis.c (print_insn_alpha): No longer the user-visible
1243 print routine. Take new regnames and cpumask arguments.
1244 Kill the environment variable nonsense.
1245 (print_insn_alpha_osf): New function. Do OSF/1 style regnames.
1246 (print_insn_alpha_vms): New function. Do VMS style regnames.
1247 * disassemble.c (disassembler): Test bfd flavour to pick
1248 between OSF and VMS routines. Default to OSF.
1249
1250 Thu Jul 18 17:19:34 1996 Ian Lance Taylor <ian@cygnus.com>
1251
1252 * configure.in: Call AC_SUBST (INSTALL_SHLIB).
1253 * configure: Rebuild.
1254 * Makefile.in (install): Use @INSTALL_SHLIB@.
1255
1256 Wed Jul 17 14:39:05 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
1257
1258 * configure: (bfd_d10v_arch) Add new case.
1259 * configure.in: (bfd_d10v_arch) Add new case.
1260 * d10v-dis.c: New file.
1261 * d10v-opc.c: New file.
1262 * disassemble.c (disassembler) Add entry for d10v.
1263
1264 Wed Jul 17 10:12:05 1996 J.T. Conklin <jtc@rtl.cygnus.com>
1265
1266 * m68k-opc.c (m68k_opcodes): Fix bugs in coldfire insns relating
1267 to bcc, trapfl, subxl, and wddata discovered by Andreas Schwab.
1268
1269 Mon Jul 15 16:59:55 1996 Stu Grossman (grossman@critters.cygnus.com)
1270
1271 * i386-dis.c: Get rid of print_insn_i8086. Use info.mach to
1272 distinguish between variants of the instruction set.
1273 * sparc-dis.c: Get rid of print_insn_sparclite. Use info.mach to
1274 distinguish between variants of the instruction set.
1275
1276 Fri Jul 12 10:12:01 1996 Stu Grossman (grossman@critters.cygnus.com)
1277
1278 * i386-dis.c (print_insn_i8086): New routine to disassemble using
1279 the 8086 instruction set.
1280 * i386-dis.c: General cleanups. Make most things static. Add
1281 prototypes. Get rid of static variables aflags and dflags. Pass
1282 them as args (to almost everything).
1283
1284 Thu Jul 11 11:58:44 1996 Jeffrey A Law (law@cygnus.com)
1285
1286 * h8300-dis.c (bfd_h8_disassemble): Handle macregs in ldmac insns.
1287
1288 * h8300-dis.c (bfd_h8_disassemble): Handle "ldm.l" and "stm.l".
1289
1290 * h8300-dis.c (bfd_h8_disassemble): "abs" is implicitly two
1291 if the next arg is marked with SRC_IN_DST. Gross.
1292
1293 * h8300-dis.c (bfd_h8_disassemble): Print "exr" when
1294 we're looking for and find EXR.
1295
1296 * h8300-dis.c (bfd_h8_disassemble): We don't have a match
1297 if we're looking for KBIT and we don't find it.
1298
1299 * h8300-dis.c (bfd_h8_disassemble): Mask off unwanted bits
1300 for L_3 and L_2.
1301
1302 * h8300-dis.c (bfd_h8_disassemble): Don't set plen for
1303 3bit immediate operands.
1304
1305 Tue Jul 9 10:55:20 1996 Ian Lance Taylor <ian@cygnus.com>
1306
1307 * Released binutils 2.7.
1308
1309 * alpha-opc.c: Add new case of "mov". From Klaus Kaempf
1310 <kkaempf@progis.ac-net.de>.
1311
1312 Thu Jul 4 11:42:51 1996 Ian Lance Taylor <ian@cygnus.com>
1313
1314 * alpha-opc.c: Correct second case of "mov" to use OPRL.
1315
1316 Wed Jul 3 16:03:47 1996 Stu Grossman (grossman@critters.cygnus.com)
1317
1318 * sparc-dis.c (print_insn_sparclite): New routine to print
1319 sparclite instructions.
1320
1321 Wed Jul 3 14:21:18 1996 J.T. Conklin <jtc@rtl.cygnus.com>
1322
1323 * m68k-opc.c (m68k_opcodes): Add coldfire support.
1324
1325 Fri Jun 28 15:53:51 1996 Doug Evans <dje@canuck.cygnus.com>
1326
1327 * sparc-opc.c (asi_table): Add #ASI_N, #ASI_N_L, #ASI_NUCLEUS,
1328 #ASI_NUCLEUS_LITTLE. Rename #ASI_AS_IF_USER_{PRIMARY,SECONDARY}_L
1329 to #ASI_AS_IF_USER_{PRIMARY,SECONDARY}_LITTLE.
1330
1331 Tue Jun 25 22:58:31 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
1332
1333 * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir):
1334 Use autoconf-set values.
1335 (docdir, oldincludedir): Removed.
1336 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
1337
1338 Fri Jun 21 13:53:36 1996 Richard Henderson <rth@tamu.edu>
1339
1340 * alpha-opc.c: New file.
1341 * alpha-opc.h: Remove.
1342 * alpha-dis.c: Complete rewrite to use new opcode table.
1343 * configure.in: For bfd_alpha_arch, use alpha-opc.o.
1344 * configure: Rebuild with autoconf 2.10.
1345 * Makefile.in (ALL_MACHINES): Add alpha-opc.o.
1346 (alpha-dis.o): Depend upon $(INCDIR)/opcode/alpha.h, not
1347 alpha-opc.h.
1348 (alpha-opc.o): New target.
1349
1350 Wed Jun 19 15:55:12 1996 Ian Lance Taylor <ian@cygnus.com>
1351
1352 * sparc-dis.c (print_insn_sparc): Remove unused local variable i.
1353 Set imm_added_to_rs1 even if the source and destination register
1354 are not the same.
1355
1356 * sparc-opc.c: Add some two operand forms of the wr instruction.
1357
1358 Tue Jun 18 15:58:27 1996 Jeffrey A. Law <law@rtl.cygnus.com>
1359
1360 * h8300-dis.c (bfd_h8_disassemble): Rename "hmode" argument
1361 to just "mode".
1362
1363 * disassemble.c (disassembler): Handle H8/S.
1364 * h8300-dis.c (print_insn_h8300s): New function for H8/S.
1365
1366 Tue Jun 18 18:06:50 1996 Ian Lance Taylor <ian@cygnus.com>
1367
1368 * sparc-opc.c: Add beq/teq as aliases for be/te.
1369
1370 * ppc-opc.c: Fix fcmpo opcode. From Sergei Steshenko
1371 <sergei@msil.sps.mot.com>.
1372
1373 Tue Jun 18 15:08:54 1996 Klaus Kaempf <kkaempf@progis.de>
1374
1375 * makefile.vms: New file.
1376
1377 * alpha-dis.c (print_insn_alpha): Print lda ra,lit(rz) as mov.
1378
1379 Mon Jun 10 18:50:38 1996 Ian Lance Taylor <ian@cygnus.com>
1380
1381 * h8300-dis.c (bfd_h8_disassemble): Always print ABS8MEM with :8,
1382 regardless of plen.
1383
1384 Tue Jun 4 09:15:53 1996 Doug Evans <dje@canuck.cygnus.com>
1385
1386 * i386-dis.c (OP_OFF): Call append_prefix.
1387
1388 Thu May 23 15:18:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
1389
1390 * ppc-opc.c (instruction encoding macros): Add explicit casts to
1391 unsigned long to silence a warning from the Solaris PowerPC
1392 compiler.
1393
1394 Thu Apr 25 19:33:32 1996 Doug Evans <dje@canuck.cygnus.com>
1395
1396 * sparc-opc.c (sparc_opcodes): Add ultrasparc vis extensions.
1397
1398 Mon Apr 22 17:12:35 1996 Doug Evans <dje@blues.cygnus.com>
1399
1400 * sparc-dis.c (X_IMM,X_SIMM): New macros.
1401 (X_IMM13): Delete.
1402 (print_insn_sparc): Merge cases i,I,j together. New cases X,Y.
1403 * sparc-opc.c (sparc_opcodes): Use X for 5 bit shift constants,
1404 Y for 6 bit shift constants. Rewrite entries for crdcxt, cwrcxt,
1405 cpush, cpusha, cpull sparclet insns.
1406
1407 Wed Apr 17 14:20:22 1996 Doug Evans <dje@canuck.cygnus.com>
1408
1409 * sparc-dis.c (compute_arch_mask): Replace ANSI style def with K&R.
1410
1411 Thu Apr 11 17:30:02 1996 Ian Lance Taylor <ian@cygnus.com>
1412
1413 * sparc-opc.c: Set F_FBR on floating point branch instructions.
1414 Set F_FLOAT on other floating point instructions.
1415
1416 Mon Apr 8 17:02:48 1996 Michael Meissner <meissner@tiktok.cygnus.com>
1417
1418 * ppc-opc.c (PPC860): Macro for 860/821 specific instructions and
1419 registers.
1420 (powerpc_opcodes): Add 860/821 specific SPRs.
1421
1422 Mon Apr 8 14:00:44 1996 Ian Lance Taylor <ian@cygnus.com>
1423
1424 * configure.in: Permit --enable-shared to specify a list of
1425 directories. Set and substitute BFD_PICLIST.
1426 * configure: Rebuild.
1427 * Makefile.in (BFD_PICLIST): Rename from BFD_LIST. Change all
1428 uses. Set to @BFD_PICLIST@.
1429
1430 Fri Apr 5 17:12:27 1996 Jeffrey A Law (law@cygnus.com)
1431
1432 * h8300-dis.c (bfd_h8_disassemble): Use "bit" for L_3 immediates,
1433 not "abs", which may be needed for the absolute in something
1434 like btst #0,@10:8. Print L_3 immediates separately from other
1435 immediates. Change ABSMOV reference to ABS8MEM.
1436
1437 Wed Apr 3 10:40:45 1996 Doug Evans <dje@canuck.cygnus.com>
1438
1439 * sparc-dis.c (opcodes_initialized): Move inside print_insn_sparc.
1440 (current_arch_mask): New static global.
1441 (compute_arch_mask): New static function.
1442 (print_insn_sparc): Delete sparc_v9_p. New static local
1443 current_mach. Resort opcode table if current_mach changes.
1444 Generalize "insn not supported" test.
1445 (compare_opcodes): Prefer supported opcodes to nonsupported ones.
1446 Delete test for v9/!v9.
1447 * sparc-opc.c (MASK_*): Use SPARC_OPCODE_ARCH_MASK.
1448 (v6notlet): Define.
1449 (brfc): Split into CBR and FBR for coprocessor/fp branches.
1450 (brfcx): Renamed to FBRX.
1451 (condfc): Renamed to CONDFC. Pass v6notlet to CBR (standard
1452 coprocessor mnemonics are not supported on the sparclet).
1453 (condf): Renamed to CONDF.
1454 (SLCBCC2): Delete F_ALIAS flag.
1455
1456 Sat Mar 30 21:45:59 1996 Doug Evans <dje@canuck.cygnus.com>
1457
1458 * sparc-opc.c (sparc_opcodes): rd must be 0 for
1459 mov foo,{%y,%psr,%wim,%tbr}. Support mov foo,%asrX.
1460
1461 Fri Mar 29 13:02:40 1996 Ian Lance Taylor <ian@cygnus.com>
1462
1463 * Makefile.in (config.status): Depend upon BFD VERSION file, so
1464 that the shared library version number is set correctly.
1465
1466 Tue Mar 26 15:47:14 1996 Ian Lance Taylor <ian@cygnus.com>
1467
1468 * configure.in: Use AC_CHECK_TOOL to find ar and ranlib. From
1469 Miles Bader <miles@gnu.ai.mit.edu>.
1470 * configure: Rebuild.
1471
1472 Sat Mar 16 13:04:07 1996 Fred Fish <fnf@cygnus.com>
1473
1474 * z8kgen.c (internal, gas): Call xmalloc rather than unchecked
1475 malloc.
1476
1477 Tue Mar 12 12:14:10 1996 Ian Lance Taylor <ian@cygnus.com>
1478
1479 * configure: Rebuild with autoconf 2.8.
1480
1481 Thu Mar 7 15:11:10 1996 Doug Evans <dje@charmed.cygnus.com>
1482
1483 * sparc-dis.c (print_insn_sparc): Handle 'O' operand char like 'r'.
1484 * sparc-opc.c (sparc_opcodes): Use 'O' operand char for `neg reg'.
1485
1486 Tue Mar 5 15:51:57 1996 Ian Lance Taylor <ian@cygnus.com>
1487
1488 * configure.in: Don't set SHLIB or SHLINK to an empty string,
1489 since they appear as targets in Makefile.in.
1490 * configure: Rebuild.
1491
1492 Mon Feb 26 13:03:40 1996 Stan Shebs <shebs@andros.cygnus.com>
1493
1494 * mpw-make.sed: Edit out shared library support bits.
1495
1496 Tue Feb 20 20:48:28 1996 Doug Evans <dje@charmed.cygnus.com>
1497
1498 * sparc-opc.c (v8,v6notv9): Add MASK_SPARCLET.
1499 (sparc_opcode_archs): Add MASK_V8 to sparclet entry.
1500 (sparc_opcodes): Add sparclet insns.
1501 (sparclet_cpreg_table): New static local.
1502 (sparc_{encode,decode}_sparclet_cpreg): New functions.
1503 * sparc-dis.c (print_insn_sparc): Handle sparclet cpregs.
1504
1505 Tue Feb 20 11:02:44 1996 Alan Modra <alan@mullet.Levels.UniSA.Edu.Au>
1506
1507 * i386-dis.c (index16): New static variable.
1508 (putop): Print jecxz for 32 bit case, jcxz for 16 bit, not the
1509 other way around.
1510 (OP_indirE): Return result of OP_E.
1511 (OP_E): Check for 16 bit addressing mode, and disassemble
1512 correctly. Optimised 32 bit case a little. Don't print
1513 "(base,index,scale)" when sib specifies only an offset.
1514
1515 Mon Feb 19 12:32:17 1996 Ian Lance Taylor <ian@cygnus.com>
1516
1517 * configure.in: Set and substitute SHLIB_DEP.
1518 * configure: Rebuild.
1519 * Makefile.in (SHLIB_DEP): New variable.
1520 (LIBIBERTY_LISTS, BFD_LIST): New variables.
1521 (stamp-piclist): Depend upon LIBIBERTY_LISTS and BFD_LIST. If
1522 COMMON_SHLIB, add them to piclist with appropriate modifications.
1523 ($(SHLIB)): Depend upon $(SHLIB_DEP). Don't check COMMON_SHLIB
1524 here: just use piclist.
1525
1526 Mon Feb 19 02:03:50 1996 Doug Evans <dje@charmed.cygnus.com>
1527
1528 * sparc-dis.c (MASK_V9,V9_ONLY_P,V9_P): Define.
1529 (print_insn_sparc): Rewrite v9/not-v9 tests.
1530 (compare_opcodes): Likewise.
1531 * sparc-opc.c (MASK_<ARCH>): Define.
1532 (v6,v7,v8,sparclite,v9,v9a): Redefine.
1533 (sparclet,v6notv9): Define.
1534 (sparc_opcode_archs): Delete member `conflicts'. Add `supported'.
1535 (sparc_opcodes): Delete F_NOTV9, use v6notv9 instead.
1536
1537 Thu Feb 15 14:45:05 1996 Ian Lance Taylor <ian@cygnus.com>
1538
1539 * configure.in: Call AC_PROG_CC before configure.host.
1540 * configure: Rebuild.
1541
1542 * Makefile.in (SONAME): Remove leading ../bfd/ from $(SHLIB).
1543
1544 Wed Feb 14 19:01:27 1996 Alan Modra <alan@spri.levels.unisa.edu.au>
1545
1546 * i386-dis.c (onebyte_has_modrm): New static array.
1547 (twobyte_has_modrm): New static array.
1548 (print_insn_i386): Only fetch the mod/reg/rm byte if it is needed.
1549
1550 Tue Feb 13 15:15:01 1996 Ian Lance Taylor <ian@cygnus.com>
1551
1552 * Makefile.in ($(SHLINK)): Check ts against $(SHLIB), not
1553 $(SHLINK).
1554
1555 Mon Feb 12 16:26:06 1996 Michael Meissner <meissner@tiktok.cygnus.com>
1556
1557 * ppc-opc.c (PPC): Undef, so default defination on Windows NT
1558 doesn't conflict.
1559
1560 Wed Feb 7 13:59:54 1996 Ian Lance Taylor <ian@cygnus.com>
1561
1562 * m68k-opc.c (m68k_opcodes): The bkpt instruction is supported on
1563 m68010up, not just m68020up | cpu32.
1564
1565 * Makefile.in (SONAME): New variable.
1566 ($(SHLINK)): Make a link to the transformed name, as well.
1567 (stamp-tshlink): New target.
1568 (install): Skip stamp-tshlink during install.
1569
1570 Tue Feb 6 12:28:54 1996 Ian Lance Taylor <ian@cygnus.com>
1571
1572 * configure.in: Call AC_ARG_PROGRAM.
1573 * configure: Rebuild.
1574 * Makefile.in (program_transform_name): New variable.
1575 (install): Transform library name before installing it.
1576
1577 Mon Feb 5 16:14:42 1996 Ian Lance Taylor <ian@cygnus.com>
1578
1579 * i960-dis.c (mem): Add HX dcinva instruction.
1580
1581 Support for building as a shared library, based on patches from
1582 Alan Modra <alan@spri.levels.unisa.edu.au>:
1583 * configure.in: Add AC_ARG_ENABLE for shared and commonbfdlib.
1584 New substitutions: ALLLIBS, PICFLAG, SHLIB, SHLIB_CC,
1585 SHLIB_CFLAGS, COMMON_SHLIB, SHLINK.
1586 * configure: Rebuild.
1587 * Makefile.in (ALLLIBS): New variable.
1588 (PICFLAG, SHLIB, SHLIB_CC, SHLIB_CFLAGS): New variables.
1589 (COMMON_SHLIB, SHLINK): New variables.
1590 (.c.o): If PICFLAG is set, compile twice, once PIC, once normal.
1591 (STAGESTUFF): Remove variable.
1592 (all): Depend upon $(ALLLIBS) rather than $(TARGETLIB).
1593 (stamp-piclist, piclist): New targets.
1594 ($(SHLIB), $(SHLINK)): New targets.
1595 ($(OFILES)): Depend upon stamp-picdir.
1596 (disassemble.o): Build twice if PICFLAG is set.
1597 (MOSTLYCLEAN): Add pic/*.o.
1598 (clean): Remove $(SHLIB), $(SHLINK), piclist, and stamp-piclist.
1599 (distclean): Remove pic and stamp-picdir.
1600 (install): Install shared libraries.
1601 (stamp-picdir): New target.
1602
1603 Fri Feb 2 17:15:25 1996 Doug Evans <dje@charmed.cygnus.com>
1604
1605 * sparc-dis.c (print_insn_sparc): Delete DISASM_RAW_INSN support.
1606 Print unknown instruction as "unknown", rather than in hex.
1607
1608 Tue Jan 30 14:06:08 1996 Ian Lance Taylor <ian@cygnus.com>
1609
1610 * dis-buf.c: Include "sysdep.h" before "dis-asm.h".
1611
1612 Thu Jan 25 20:24:07 1996 Doug Evans <dje@charmed.cygnus.com>
1613
1614 * sparc-opc.c (sparc_opcode_archs): Mark v8/sparclite as conflicting.
1615
1616 Thu Jan 25 11:56:49 1996 Ian Lance Taylor <ian@cygnus.com>
1617
1618 * i386-dis.c (print_insn_i386): Only fetch the mod/reg/rm byte
1619 when necessary. From Ulrich Drepper
1620 <drepper@myware.rz.uni-karlsruhe.de>.
1621
1622 Thu Jan 25 03:39:10 1996 Doug Evans <dje@charmed.cygnus.com>
1623
1624 * sparc-dis.c (print_insn_sparc): NUMOPCODES replaced with
1625 sparc_num_opcodes. Update architecture enum values.
1626 * sparc-opc.c (sparc_opcode_archs): Replaces architecture_pname.
1627 (sparc_opcode_lookup_arch): New function.
1628 (sparc_num_opcodes): Renamed from bfd_sparc_num_opcodes.
1629 (sparc_opcodes): Add v9a shutdown insn.
1630
1631 Mon Jan 22 08:29:59 1996 Doug Evans <dje@charmed.cygnus.com>
1632
1633 * sparc-dis.c (print_insn_sparc): Renamed from print_insn.
1634 If DISASM_RAW_INSN, print insn in hex. Handle v9a as opcode
1635 architecture.
1636 (print_insn_sparc64): Deleted.
1637 * disassemble.c (disassembler, case bfd_arch_sparc): Always use
1638 print_insn_sparc.
1639
1640 * sparc-opc.c (architecture_pname): Add v9a.
1641
1642 Fri Jan 12 14:35:58 1996 David Mosberger-Tang <davidm@AZStarNet.com>
1643
1644 * alpha-opc.h (alpha_insn_set): VAX floating point opcode was
1645 incorrectly defined as 0x16 when it should be 0x15.
1646 (FLOAT_FORMAT_MASK): function code is 11 bits, not just 7 bits!
1647 (alpha_insn_set): added cvtst and cvttq float ops. Also added
1648 excb (exception barrier) which is defined in the Alpha
1649 Architecture Handbook version 2.
1650 * alpha-dis.c (print_insn_alpha): Fixed special-case decoding for
1651 OPERATE_FORMAT_CODE type instructions. The bug caused mulq to be
1652 disassembled as or, for example.
1653
1654 Wed Jan 10 12:37:22 1996 Ian Lance Taylor <ian@cygnus.com>
1655
1656 * mips-dis.c (print_insn_arg): Print cases 'i' and 'u' in hex.
1657 (_print_insn_mips): Change i from int to unsigned int.
1658
1659 Thu Jan 4 17:21:10 1996 David Edelsohn <edelsohn@mhpcc.edu>
1660
1661 * ppc-opc.c (powerpc_opcodes): tlbi POWER opcode form different
1662 from tlbie PowerPC opcode. Add PPC603 tlbld and tlbli.
1663
1664 Thu Dec 28 13:29:19 1995 John Hassey <hassey@rtp.dg.com>
1665
1666 * i386-dis.c: Added Pentium Pro instructions.
1667
1668 Tue Dec 19 22:56:35 1995 Michael Meissner <meissner@tiktok.cygnus.com>
1669
1670 * ppc-opc.c (fsqrt{,.}): Duplicate for PowerPC in addition to
1671 being for Power2.
1672
1673 Fri Dec 15 14:14:15 1995 J.T. Conklin <jtc@rtl.cygnus.com>
1674
1675 * sh-opc.h (sh_nibble_type): Added REG_B.
1676 (sh_arg_type): Added A_REG_B.
1677 (sh_table): Added pref and bank reg versions of ldc, ldc.l, stc
1678 and stc.l opcodes.
1679 * sh-dis.c (print_insn_shx): Added cases for REG_B and A_REG_B.
1680
1681 Fri Dec 15 16:44:31 1995 Ian Lance Taylor <ian@cygnus.com>
1682
1683 * disassemble.c (disassembler): Use new bfd_big_endian macro.
1684
1685 Tue Dec 12 12:22:24 1995 Ian Lance Taylor <ian@cygnus.com>
1686
1687 * Makefile.in (distclean): Remove stamp-h. From Ronald
1688 F. Guilmette <rfg@monkeys.com>.
1689
1690 Tue Dec 5 13:42:44 1995 Stan Shebs <shebs@andros.cygnus.com>
1691
1692 From David Mosberger-Tang <davidm@azstarnet.com>:
1693 * alpha-dis.c (print_insn_alpha): fixed decoding of cpys
1694 instruction.
1695
1696 Mon Dec 4 12:29:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
1697
1698 * sh-opc.h (sh_arg_type): Added A_SSR and A_SPC.
1699 (sh_table): Added many SH3 opcodes.
1700 * sh-dis.c (print_insn_shx): Added cases for A_SSR and A_SPC.
1701
1702 Fri Dec 1 07:42:18 1995 Michael Meissner <meissner@tiktok.cygnus.com>
1703
1704 * ppc-opc.c (subfc., subfco): Mark this PPCCOM, not PPC.
1705 (subco,subco.): Mark this PPC, not PPCCOM.
1706
1707 Mon Nov 27 13:09:52 1995 Ian Lance Taylor <ian@cygnus.com>
1708
1709 * configure: Rebuild with autoconf 2.7.
1710
1711 Tue Nov 21 18:28:06 1995 Ian Lance Taylor <ian@cygnus.com>
1712
1713 * configure: Rebuild with autoconf 2.6.
1714
1715 Wed Nov 15 19:02:53 1995 Ken Raeburn <raeburn@cygnus.com>
1716
1717 * configure.in: Sort list of architectures. Accept but do nothing
1718 for alliant, convex, pyramid, romp, and tahoe.
1719
1720 Wed Nov 8 20:18:59 1995 Ian Lance Taylor <ian@cygnus.com>
1721
1722 * a29k-dis.c (print_special): Change num to unsigned int.
1723
1724 Wed Nov 8 20:10:35 1995 Eric Freudenthal <freudenthal@nyu.edu>
1725
1726 * a29k-dis.c (print_insn): Cast insn24 to unsigned long when
1727 shifting it.
1728
1729 Tue Nov 7 15:21:06 1995 Ian Lance Taylor <ian@cygnus.com>
1730
1731 * configure.in: Call AC_CHECK_PROG to find and cache AR.
1732 * configure: Rebuilt.
1733
1734 Mon Nov 6 17:39:47 1995 Harry Dolan <dolan@ssd.intel.com>
1735
1736 * configure.in: Add case for bfd_i860_arch.
1737 * configure: Rebuild.
1738
1739 Fri Nov 3 12:45:31 1995 Ian Lance Taylor <ian@cygnus.com>
1740
1741 * m68k-opc.c (m68k_opcodes): Correct fmoveml operands.
1742 * m68k-dis.c (NEXTSINGLE): Change i to unsigned int.
1743 (NEXTDOUBLE): Likewise.
1744 (print_insn_m68k): Don't match fmoveml if there is more than one
1745 register in the list.
1746 (print_insn_arg): Handle a place of '8' for a type of 'L'.
1747
1748 Thu Nov 2 23:06:33 1995 Ian Lance Taylor <ian@cygnus.com>
1749
1750 * m68k-opc.c: Use #W rather than #w.
1751 * m68k-dis.c (print_insn_arg): Handle new 'W' place.
1752
1753 Wed Nov 1 13:30:24 1995 Ian Lance Taylor <ian@cygnus.com>
1754
1755 * m68k-opc.c (m68k_opcode_aliases): Add dbfw as an alias for dbf,
1756 and likewise for all the dbxx opcodes.
1757
1758 Mon Oct 30 20:50:40 1995 Fred Fish <fnf@cygnus.com>
1759
1760 * arc-dis.c: Include elf-bfd.h rather than libelf.h.
1761
1762 Mon Oct 23 11:11:34 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
1763
1764 * mips-opc.c: Added shorthand (V1) for INSN_4100 manifest. Added
1765 the VR4100 specific instructions to the mips_opcodes structure.
1766
1767 Thu Oct 19 11:05:23 1995 Stan Shebs <shebs@andros.cygnus.com>
1768
1769 * mpw-config.in, mpw-make.sed: Remove ugly workaround for
1770 ugly Metrowerks bug in CW6, is fixed in CW7.
1771
1772 Mon Oct 16 12:59:01 1995 Michael Meissner <meissner@tiktok.cygnus.com>
1773
1774 * ppc-opc.c (whole file): Add flags for common/any support.
1775
1776 Tue Oct 10 11:06:07 1995 Fred Fish <fnf@cygnus.com>
1777
1778 * Makefile.in (BISON): Remove macro.
1779 (FLAGS_TO_PASS): Remove BISON.
1780
1781 Fri Oct 6 16:26:45 1995 Ken Raeburn <raeburn@cygnus.com>
1782
1783 Mon Sep 25 22:49:32 1995 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1784
1785 * m68k-dis.c (print_insn_m68k): Recognize all two-word
1786 instructions that take no args by looking at the match mask.
1787 (print_insn_arg): Always print "%" before register names.
1788 [case 'c']: Use "nc" for the no-cache case, as recognized by gas.
1789 [case '_']: Don't print "@#" before address.
1790 [case 'J']: Use "%s" as format string, not register name.
1791 [case 'B']: Treat place == 'C' like 'l' and 'L'.
1792
1793 Thu Oct 5 22:16:20 1995 Ken Raeburn <raeburn@cygnus.com>
1794
1795 * i386-dis.c: Describe cmpxchg8b operand, and spell the opcode
1796 name correctly.
1797
1798 Tue Oct 3 08:30:20 1995 steve chamberlain <sac@slash.cygnus.com>
1799
1800 From David Mosberger-Tang <davidm@azstarnet.com>
1801
1802 * alpha-opc.h (MEMORY_FUNCTION_FORMAT_MASK): added.
1803 (alpha_insn_set): added definitions for VAX floating point
1804 instructions (Unix compilers don't generate these, but handcoded
1805 assembly might still use them).
1806
1807 * alpha-dis.c (print_insn_alpha): added support for disassembling
1808 the miscellaneous instructions in the Alpha instruction set.
1809
1810 Tue Sep 26 18:47:20 1995 Stan Shebs <shebs@andros.cygnus.com>
1811
1812 * mpw-config.in: Add m68k-opc.c.o to BFD_MACHINES for m68k,
1813 no longer create sysdep.h, sed ppc-opc.c to work around a
1814 serious Metrowerks C bug.
1815 * mpw-make.in: Remove.
1816 * mpw-make.sed: New file, used by mpw-configure to edit
1817 Makefile.in into an MPW makefile.
1818
1819 Wed Sep 20 12:55:28 1995 Ian Lance Taylor <ian@cygnus.com>
1820
1821 * Makefile.in (maintainer-clean): New synonym for realclean.
1822
1823 Tue Sep 19 15:28:36 1995 Ian Lance Taylor <ian@cygnus.com>
1824
1825 * m68k-opc.c: Split pmove patterns which use 'P' into patterns
1826 which use '0', '1', and '2' instead. Specify the proper size for
1827 a pmove immediate operand. Correct the pmovefd patterns to be
1828 moves to a register, not from a register.
1829 * m68k-dis.c (print_insn_arg): Replace 'P' with '0', '1', '2'.
1830
1831 Thu Sep 14 11:58:22 1995 Doug Evans <dje@canuck.cygnus.com>
1832
1833 * sparc-opc.c (sparc_opcodes): Mark all insns that reference
1834 %psr, %wim, %tbr as F_NOTV9.
1835
1836 Fri Sep 8 01:07:38 1995 Ian Lance Taylor <ian@cygnus.com>
1837
1838 * Makefile.in (Makefile): Just rebuild Makefile when running
1839 config.status.
1840 (config.h, stamp-h): New targets.
1841 * configure.in: Call AC_CONFIG_HEADER and AC_CANONICAL_SYSTEM
1842 earlier. Don't bother to call AC_ARG_PROGRAM. Touch stamp-h when
1843 rebuilding config.h.
1844 * configure: Rebuild.
1845
1846 * mips-opc.c: Change unaligned loads and stores with "t,A"
1847 operands to use "t,A(b)".
1848
1849 Thu Sep 7 19:02:46 1995 Jim Wilson <wilson@chestnut.cygnus.com>
1850
1851 * sh-dis.c (print_insn_shx): Add F_FR0 support.
1852
1853 Thu Sep 7 19:02:46 1995 Jim Wilson <wilson@chestnut.cygnus.com>
1854
1855 * sh-dis.c (print_insn_shx): Change loop over op->arg[n] to iterate
1856 until 3 instead of until 2.
1857
1858 Wed Sep 6 21:21:33 1995 Ian Lance Taylor <ian@cygnus.com>
1859
1860 * Makefile.in (ALL_CFLAGS): Define.
1861 (.c.o, disassemble.o): Use $(ALL_CFLAGS).
1862 (MOSTLYCLEAN): Add config.log.
1863 (distclean): Don't remove config.log.
1864 * configure.in: Substitute HDEFINES.
1865 * configure: Rebuild.
1866
1867 Wed Sep 6 15:08:09 1995 Jim Wilson <wilson@chestnut.cygnus.com>
1868
1869 * sh-opc.h (sh_arg_type): Add F_FR0.
1870 (sh_table, case fmac): Add F_FR0 as first argument.
1871
1872 Wed Sep 6 15:08:09 1995 Jim Wilson <wilson@chestnut.cygnus.com>
1873
1874 * sh-opc.h (sh_opcode_info): Increase arg array size to 4.
1875
1876 Tue Sep 5 18:28:10 1995 Doug Evans <dje@canuck.cygnus.com>
1877
1878 * sparc-dis.c: Remove all references to NO_V9.
1879
1880 Tue Sep 5 20:03:26 1995 Ian Lance Taylor <ian@cygnus.com>
1881
1882 * aclocal.m4: Just include ../bfd/aclocal.m4.
1883 * configure: Rebuild.
1884
1885 Tue Sep 5 16:09:59 1995 Doug Evans <dje@canuck.cygnus.com>
1886
1887 * sparc-dis.c (X_DISP19): Define.
1888 (print_insn, case 'G'): Use it.
1889 (print_insn, case 'L'): Sign extend displacement.
1890
1891 Mon Sep 4 14:28:46 1995 Ian Lance Taylor <ian@cygnus.com>
1892
1893 * configure.in: Run ../bfd/configure.host before AC_PROG_CC.
1894 Subsitute CFLAGS and AR. Call AC_PROG_INSTALL. Don't substitute
1895 host_makefile_frag or frags.
1896 * aclocal.m4: New file.
1897 * configure: Rebuild.
1898 * Makefile.in (INSTALL): Set to @INSTALL@.
1899 (INSTALL_PROGRAM): Set to @INSTALL_PROGRAM@.
1900 (INSTALL_DATA): Set to @INSTALL_DATA@.
1901 (AR): Set to @AR@.
1902 (AR_FLAGS): Set to rc rather than qc.
1903 (CC): Define as @CC@.
1904 (CFLAGS): Set to @CFLAGS@.
1905 (@host_makefile_frag@): Remove.
1906 (config.status): Remove dependency upon @frags@.
1907
1908 * configure.in: ../bfd/config.bfd now just sets shell variables.
1909 Use them rather than looking through target Makefile fragments.
1910 * configure: Rebuild.
1911
1912 Thu Aug 31 12:35:32 1995 Jim Wilson <wilson@chestnut.cygnus.com>
1913
1914 * sh-opc.h (ftrc): Change FPUL_N to FPUL_M.
1915
1916 Wed Aug 30 13:52:28 1995 Doug Evans <dje@canuck.cygnus.com>
1917
1918 * sparc-opc.c (sparc_opcodes): Delete duplicate wr %y insn.
1919 Add clrx, iprefetch, signx, clruw, cas, casl, casx, casxl synthetic
1920 sparc64 insns.
1921
1922 * sparc-opc.c (sparc_opcodes): Fix prefetcha insn.
1923 (lookup_{name,value}): New functions.
1924 (prefetch_table): New static local.
1925 (sparc_{encode,decode}_prefetch): New functions.
1926 * sparc-dis.c (print_insn): Handle '*' arg (prefetch function).
1927
1928 Wed Aug 30 11:11:58 1995 Jim Wilson <wilson@chestnut.cygnus.com>
1929
1930 * sh-opc.h: Add blank lines to improve readabililty of sh3e
1931 instructions.
1932
1933 Wed Aug 30 11:09:38 1995 Jim Wilson <wilson@chestnut.cygnus.com>
1934
1935 * sh-dis.c: Correct comment on first line of file.
1936
1937 Tue Aug 29 15:37:18 1995 Doug Evans <dje@canuck.cygnus.com>
1938
1939 * disassemble.c (disassembler): Handle bfd_mach_sparc64.
1940
1941 * sparc-opc.c (asi, membar): New static locals.
1942 (sparc_{encode,decode}_{asi,membar}): New functions.
1943 (sparc_opcodes, membar insn): Fix.
1944 * sparc-dis.c (print_insn): Call sparc_decode_asi.
1945 Support decoding of membar masks.
1946 (X_MEMBAR): Define.
1947
1948 Sat Aug 26 21:22:48 1995 Ian Lance Taylor <ian@cygnus.com>
1949
1950 * m68k-opc.c (m68k_opcode_aliases): Add br, brs, brb, brw, brl.
1951
1952 Mon Aug 21 17:33:36 1995 Ian Lance Taylor <ian@cygnus.com>
1953
1954 * m68k-opc.c (m68k_opcode_aliases): Add bhib as an alias for bhis,
1955 and likewise for the other branches. Add bhs as an alias for bcc,
1956 and likewise for the size variants. Add dbhs as an alias for
1957 dbcc.
1958
1959 Fri Aug 11 13:40:24 1995 Jeff Law (law@snake.cs.utah.edu)
1960
1961 * sh-opc.h (FP sts instructions): Update to match reality.
1962
1963 Mon Aug 7 16:12:58 1995 Ian Lance Taylor <ian@cygnus.com>
1964
1965 * m68k-dis.c: (fpcr_names): Add % before all register names.
1966 (reg_names): Likewise.
1967 (print_insn_arg): Don't explicitly print % before register names.
1968 Add % before register names in static array names. In case 'r',
1969 print data registers as `@(Dn)', not `Dn@'. When printing a
1970 memory address, don't print @# before it.
1971 (print_indexed): Change base_disp and outer_disp from int to
1972 bfd_vma. Print using MIT syntax, not mutant invalid Motorola
1973 syntax. Sign extend 8 byte displacement correctly.
1974 (print_base): Print using MIT syntax. Print zpc when appropriate.
1975 Change parameter disp from int to bfd_vma.
1976
1977 * m68k-opc.c (m68k_opcode_aliases): Add jsrl and jsrs as aliases
1978 for jsr.
1979
1980 Mon Aug 7 02:21:40 1995 Jeff Law (law@snake.cs.utah.edu)
1981
1982 * sh-dis.c (print_insn_shx): Handle new operand types F_REG_N,
1983 F_REG_M, FPSCR_M, FPSCR_N, FPUL_M and FPUL_N.
1984 * sh-opc.h (sh_arg_type): Add new operand types.
1985 (sh_table): Add new opcodes from SH3E Floating Point ISA.
1986
1987 Sat Aug 5 16:50:14 1995 Fred Fish <fnf@cygnus.com>
1988
1989 * Makefile.in (distclean): Remove generated file config.h.
1990
1991 Sat Aug 5 16:50:14 1995 Fred Fish <fnf@cygnus.com>
1992
1993 * Makefile.in (distclean): Remove generated file config.h.
1994
1995 Wed Aug 2 18:33:40 1995 Ian Lance Taylor <ian@cygnus.com>
1996
1997 * m68k-opc.c: New file, holding tables from include/opcode/m68k.h.
1998 Clean up tables.
1999 * m68k-dis.c: Remove BREAK_UP_BIG_DECL stuff.
2000 (opcode): Remove.
2001 (print_insn_m68k): Change d to be const. Use m68k_numopcodes
2002 rather than numopcodes. Use m68k_opcodes rather than removed
2003 opcode function. Don't check F_ALIAS.
2004 (print_insn_arg): Change first parameter to be const char *.
2005 * Makefile.in (ALL_MACHINES): Add m68k-opc.o.
2006 (m68k-opc.o): New target.
2007 * configure.in: Build m68k-opc.o for bfd_m68k_arch.
2008 * configure: Rebuild.
2009
2010 Wed Aug 2 08:23:38 1995 Doug Evans <dje@canuck.cygnus.com>
2011
2012 * sparc-dis.c (HASH_SIZE, HASH_INSN): Define.
2013 (opcode_bits, opcode_hash_table): New variables.
2014 (opcodes_initialized): Renamed from opcodes_sorted.
2015 (build_hash_table): New function.
2016 (is_delayed_branch): Use hash table.
2017 (print_insn): Renamed from print_insn_sparc, made static.
2018 Build and use hash table. If !sparc64, ignore sparc64 insns,
2019 and vice-versa if sparc64.
2020 (print_insn_sparc, print_insn_sparc64): New functions.
2021 (compare_opcodes): Move sparc64 opcodes to end.
2022 Print commutative insns with constant second.
2023 * sparc-opc.c (all non-v9 insns): Use flag F_NOTV9 instead of F_ALIAS.
2024
2025 Tue Aug 1 00:12:49 1995 Ian Lance Taylor <ian@cygnus.com>
2026
2027 * sh-dis.c (print_insn_shx): Remove unused local dslot. Use
2028 print_address_func for A_BDISP12 and A_BDISP8. Correct test which
2029 avoids printing a delay slot in a delay slot.
2030 * sh-opc.h (sh_table): Fully bracket last entry.
2031
2032 Mon Jul 31 12:04:47 1995 Doug Evans <dje@canuck.cygnus.com>
2033
2034 * sparc-opc.c (sllx, srax, srlx): Fix disassembly.
2035
2036 Wed Jul 12 00:59:34 1995 Ken Raeburn <raeburn@kr-pc.cygnus.com>
2037
2038 * configure.in: Get host_makefile_frag from ${srcdir}.
2039
2040 * configure.in: Autoconfiscated. Check for string[s].h. Create
2041 config.h from config.in. Don't set up sysdep.h link.
2042 * sysdep.h: New file.
2043 * configure, config.in: New files, generated from configure.in.
2044 * Makefile.in: Updated to be processed autoconf-style.
2045 (distclean): Keep sysdep.h. Remove config.log and config.cache.
2046 (Makefile): Depend on config.status.
2047 (config.status): New rule.
2048 * configure.bat: Update Makefile substitutions.
2049
2050 Tue Jul 11 14:23:37 1995 Jeff Spiegel <jeffs@lsil.com>
2051
2052 * mips-opc.c (L1): Define.
2053 (mips_opcodes): Add R4010 instructions: flushi, flushd, flushid,
2054 addciu, madd, maddu, ffc, ffs, msub, msubu, selsi, selsr, waiti,
2055 and wb.
2056
2057 Tue Jul 11 11:49:49 1995 Ian Lance Taylor <ian@cygnus.com>
2058
2059 * mips-opc.c (mips_opcodes): For the move pseudo-op, prefer daddu
2060 if ISA 3 and addu otherwise, replacing or, since some MIPS chips
2061 have multiple add units but only a single logical unit.
2062
2063 * ppc-opc.c (powerpc_operands): Change CR to use a bitsize of 3,
2064 shifted by 18, without any insertion or extraction function.
2065 (insert_cr, extract_cr): Remove.
2066
2067 start-sanitize-arc
2068 Mon Jul 3 11:54:31 1995 Ian Lance Taylor <ian@cygnus.com>
2069
2070 * Makefile.in (ALL_MACHINES): Add arc-dis.o and arc-opc.o.
2071
2072 end-sanitize-arc
2073 Wed Jun 21 20:05:39 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
2074
2075 * m68k-dis.c (print_insn_arg, print_indexed): Print "%" before
2076 register names.
2077
2078 Thu Jun 15 17:23:31 1995 Stan Shebs <shebs@andros.cygnus.com>
2079
2080 * mpw-config.in: Add sh and i386 configs, remove sparc config.
2081 * sh-opc.h: Add copyright.
2082
2083 Mon Jun 5 03:30:43 1995 Ken Raeburn <raeburn@kr-laptop.cygnus.com>
2084
2085 * Makefile.in (crunch-m68k): Delete extra target accidentally
2086 checked in a while ago.
2087
2088 Wed May 24 16:22:13 1995 Jim Wilson <wilson@chestnut.cygnus.com>
2089
2090 * sh-opc.h (sh_table): Add SH3 support.
2091
2092 Wed May 24 14:16:08 1995 Steve Chamberlain <sac@slash.cygnus.com>
2093
2094 * sh-opc.h: Added bsrf and braf.
2095
2096 Wed May 10 14:28:16 1995 Richard Earnshaw (rearnsha@armltd.co.uk)
2097
2098 * arm-opc.h (arm_opcodes): Add 64-bit multiply patterns. Delete
2099 bogus [ls]fm{ea,fd} patterns.
2100
2101 * arm-opc.h (arm_opcodes): Correct typos in stm, ldm, std, and ldc.
2102 * arm-dis.c (print_insn_arm): Make GIVEN a parameter, don't try and
2103 initialize it from memory. Make function static.
2104 (print_insn_{big,little}_arm): New functions.
2105 * disassemble.c (disassembler, case bfd_arch_arm): Disassemble for
2106 the correct endianness.
2107
2108 start-sanitize-arc
2109 Sat Apr 29 23:20:05 1995 Doug Evans <dje@chestnut.cygnus.com>
2110
2111 * arc-opc.c (arc_opcodes): Add ARC_OPCODE_CONDITIONAL_BRANCH flag.
2112 (arc_suffixes): Use ARC_DELAY_{NONE,NORMAL,JUMP}.
2113 end-sanitize-arc
2114
2115 Mon Apr 24 14:18:05 1995 Jason Molenda (crash@phydeaux.cygnus.com>
2116
2117 * sh-opc.h (sh_nibble_type, sh_arg_type): remove trailing , from
2118 enum list.
2119
2120 Wed Apr 19 14:07:03 1995 Michael Meissner <meissner@tiktok.cygnus.com>
2121
2122 * m68k-dis.c (opcode): Finish change made by Kung Hsu on April
2123 17th, so that it builds again using GCC as the compiler.
2124
2125 Tue Apr 18 12:14:51 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
2126
2127 * mips-dis.c (print_insn_little_mips): Cast return value from
2128 bfd_getl32 from bfd_vma to unsigned long, because _print_insn_mips
2129 expects an unsigned long, and that might be fewer words of
2130 argument storage (e.g., if bfd_vma is long long on a 32-bit
2131 machine).
2132 (print_insn_big_mips): Likewise with bfd_getb32 value.
2133 (_print_insn_mips): Now static.
2134
2135 Mon Apr 17 12:23:28 1995 Kung Hsu <kung@rtl.cygnus.com>
2136
2137 * m68k-dis.c: Take out #define BREAK_UP_BIG_DECL kludge, because
2138 gcc memory hog problem with initializer is fixed.
2139
2140 start-sanitize-arc
2141 Wed Apr 12 09:04:12 1995 Doug Evans <dje@canuck.cygnus.com>
2142
2143 * arc-opc.c (NULL): Define.
2144 (arc_operands, insn fields u,s): Delete.
2145 (arc_operands, insn fields a,b,c): Mark as signed.
2146 (arc_opcodes): No longer const, links computed at run-time.
2147 (arc_opcodes, mac/mul insns): Breakout suffixes as we don't handle
2148 suffixes that affect the insn code.
2149 (arc_opcodes): Resort table to macros are first.
2150 (arc_opcodes, ld [b,c] entry): Add %Q to prevent shimms.
2151 (arc_opcodes, st [b] entry): Likewise.
2152 (arc_opcodes, st [b,d] entry): Fix mask, value.
2153 (arc_reg_names): Add entries for r29, r30, r31, r60.
2154 (opcode_map, icode_map): New static globals.
2155 (arc_opcode_init_tables): Initialize them.
2156 (arc_opcode_lookup_asm, arc_opcode_lookup_dis): New functions.
2157 (insert_shimmoffset): Signal error if register present.
2158 Validate constant.
2159 * arc-dis.c (print_insn): Call arc_opcode_lookup_dis.
2160 end-sanitize-arc
2161
2162 Mon Apr 10 15:55:01 1995 Stan Shebs <shebs@andros.cygnus.com>
2163
2164 Merge in support for Mac MPW as a host.
2165 (Old change descriptions retained for informational value.)
2166
2167 * mpw-config.in (archname): Compute from the config.
2168 (BFD_MACHINES, ARCHDEFS): Put into mk.tmp.
2169
2170 * mpw-config.in (target_arch): Compute from canonical target.
2171 (m68k, mips, powerpc, sparc): Add architectures.
2172 * mpw-make.in (disassemble.c.o): Add.
2173 (ALL_CFLAGS): Remove special flags (-mc68020 -mc68881 -model far).
2174
2175 * mpw-config.in (BFD_MACHINES): Set to a default value.
2176 * mpw-make.in (BFD_MACHINES): Remove wired-in value.
2177
2178 * mpw-make.in (CSEARCH): Add extra-include to search path.
2179
2180 * mpw-config.in (varargs.h): Don't create.
2181 (sysdep.h): Create using forward-include.
2182 * mpw-make.in (CSEARCH): Add include/mpw to search path.
2183
2184 * mpw-config.in: New file, MPW version of configure.in.
2185 * mpw-make.in: New file, MPW version of Makefile.in.
2186
2187 start-sanitize-arc
2188 Thu Apr 6 20:36:08 1995 Doug Evans <dje@chestnut.cygnus.com>
2189
2190 * arc-dis.c (print_insn): New parameter `big_p'. Callers updated.
2191 Call arc_get_opcode_mach to map bfd mach number to opcode value.
2192 (print_insn_*): Pass bfd mach number, not opcode version.
2193 * arc-opc.c (arc_get_opcode_mach): New function.
2194 end-sanitize-arc
2195
2196 Fri Mar 31 14:23:38 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
2197
2198 * alpha-dis.c (print_insn_alpha): Put empty statement after
2199 default label.
2200
2201 Tue Mar 21 10:51:40 1995 Jeff Law (law@snake.cs.utah.edu)
2202
2203 * hppa-dis.c (sign_extend): Delete, redundant with libhppa.h version.
2204 (low_sign_extend): Likewise.
2205 (get_field): Delete unused function.
2206 (set_field, deposit_14, deposit_21): Likewise.
2207
2208 Fri Mar 17 15:55:53 1995 J.T. Conklin <jtc@rtl.cygnus.com>
2209
2210 * i386-dis.c: Support for more pentium opcodes. From Guy Harris
2211 (guy@netapp.com).
2212
2213 Tue Mar 14 00:52:57 1995 Ken Raeburn (raeburn@kr-pc.cygnus.com)
2214
2215 Sat Feb 11 17:22:41 1995 Klaus Kaempf (kkaempf@didymus.rmi.de)
2216
2217 * alpha-opc.h (OSF_ASMCODE): define
2218 print pal-code names as defined in App C of the
2219 Alpha Architecture Reference Manual
2220
2221 * alpha-dis.c: cleaned up output
2222 print stylized code forms as defined in App A.4.3 of the
2223 Alpha Architecture Reference Manual
2224
2225 Wed Mar 8 15:21:14 1995 Ian Lance Taylor <ian@cygnus.com>
2226
2227 * mips-opc.c: Add new mips4 instructions. Don't set INSN_RFE for
2228 `rfe'.
2229 * mips-dis.c (print_insn_arg): Handle new argument types 'h', 'R',
2230 'N', and 'M'.
2231
2232 Wed Mar 8 02:54:05 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
2233
2234 * m68k-dis.c (opcode): New function. Returns address of opcode
2235 table entry given index, even if the opcode table was split to
2236 work around gcc bugs.
2237 (print_insn_m68k): Call opcode instead of referencing m68k_opcodes
2238 directly.
2239 (BREAK_UP_BIG_DECL): Make secondary array static and const.
2240 (reg_names): Now const.
2241 (print_insn_arg): Arrays cacheFieldName and names now const.
2242 (print_indexed): Array scales now const.
2243
2244 start-sanitize-arc
2245 Tue Mar 7 21:14:14 1995 Doug Evans <dje@chestnut.cygnus.com>
2246
2247 * arc-dis.c (print_insn_arc_base): Split into big and little fns.
2248 (print_insn_arc_{host,graphics,audio}): Likewise.
2249 (print_insn): Add prototype.
2250 (arc_get_disassembler): New arg `big_p'. Return little or big
2251 print fn accordingly.
2252 * arc-opc.c (arc_opcode_init_tables): Init arc_operand_map once.
2253 (arc_opcode_supported): Use ARC_OPCODE_CPU to ignore byte order.
2254 (arc_opval_supported): Likewise.
2255 * disassemble.c (disassembler): Pass big endian flag to
2256 arc_get_disassembler.
2257 end-sanitize-arc
2258
2259 Tue Mar 7 16:41:21 1995 Ian Lance Taylor <ian@cygnus.com>
2260
2261 * ppc-opc.c: Sort recently added instructions by minor opcode
2262 number within major opcode number.
2263
2264 Mon Mar 6 10:04:36 1995 Jeff Law (law@snake.cs.utah.edu)
2265
2266 * hppa-dis.c: Include libhppa.h.
2267
2268 Fri Feb 24 19:15:36 1995 Ian Lance Taylor <ian@cygnus.com>
2269
2270 * mips-opc.c: Change dli to use M_DLI, and add dla.
2271
2272 Mon Feb 20 23:54:38 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2273
2274 * Makefile.in (ALL_MACHINES): Add w65-dis.o.
2275
2276 start-sanitize-arc
2277 Fri Feb 17 12:42:25 1995 Doug Evans <dje@chestnut.cygnus.com>
2278
2279 * arc-dis.c (arc_get_disassembler): Change argument to int,
2280 one of bfd_mach_arc_xxx. All callers updated.
2281 end-sanitize-arc
2282
2283 Thu Feb 16 17:34:41 1995 Ian Lance Taylor <ian@cygnus.com>
2284
2285 * mips-opc.c: Add r4650 mul instruction.
2286
2287 Wed Feb 15 15:45:20 1995 Ian Lance Taylor <ian@cygnus.com>
2288
2289 * mips-opc.c: Add uld and usd macros for unaligned double load and
2290 store.
2291
2292 Tue Feb 14 13:17:37 1995 Michael Meissner <meissner@tiktok.cygnus.com>
2293
2294 * ppc-opc.c (powerpc_opcodes): Add 403GA opcodes rfci, dccci,
2295 mfdcr, mtdcr, icbt, iccci.
2296
2297 start-sanitize-arc
2298 Mon Feb 13 11:09:17 1995 Doug Evans <dje@canuck.cygnus.com>
2299
2300 * arc-dis.c (print_insn): Handle ARC_OPERAND_ADDRESS.
2301 * arc-opc.c (arc_operands): New operand 'J' for jump addresses.
2302 ('L' operand): Mark as ARC_OPERAND_ADDRESS.
2303 (arc_opcodes, j insn): Use 'J' operand type, not 'L'.
2304 (arc_opcodes, ld/st insns): Fix address writeback operand letter.
2305 (insert_absaddr): New function.
2306
2307 Thu Feb 9 19:19:23 1995 Doug Evans <dje@canuck.cygnus.com>
2308
2309 * arc-dis.c (print_insn_arc): Rename to print_insn and make static.
2310 New argument `cpu', pass it to arc_opcode_init_tables.
2311 Document byte order dependencies. Ignore unsupported insns.
2312 (arc_get_disassembler): New function.
2313 (print_insn_arc_base, print_insn_arc_host, print_insn_arc_graphics,
2314 print_insn_arc_audio): New functions.
2315 * arc-opc.c (MULTSHIFT operand): Delete.
2316 (UNSIGNED, SATURATION): New operands.
2317 (mac, mul, mul64, mulu64): New insns.
2318 (ext. asl, asr, lsr, ror): Only available on host and graphics cpus.
2319 (padc, padd, pmov, pand, psbc, psub, swap): New insns.
2320 (host,graphics,audio extended and auxiliary regs): Define.
2321 (ss, sc, mh, ml): New suffixes.
2322 (arc_opcode_supported, arc_opval_supported): New functions.
2323 (insert_multshift, extract_multshift): Deleted.
2324 * disassemble.c (disassembler, case bfd_arch_arc): Call
2325 arc_get_disassembler to get disassembler routine.
2326 end-sanitize-arc
2327
2328 Thu Feb 9 12:28:13 1995 Stan Shebs <shebs@andros.cygnus.com>
2329
2330 * i960-dis.c (struct tabent, struct sparse_tabent): Change the
2331 signed char fields to shorts, more portable.
2332
2333 Wed Feb 8 17:29:29 1995 Stan Shebs <shebs@andros.cygnus.com>
2334
2335 * i960-dis.c (struct tabent, struct sparse_tabent): Declare the
2336 char fields as signed chars, since they may have negative values.
2337
2338 Mon Feb 6 10:52:06 1995 J.T. Conklin <jtc@rtl.cygnus.com>
2339
2340 * i386-dis.c (dis386_twobyte): Add cpuid, From Charles Hannum
2341 (mycroft@netbsd.org).
2342
2343 Mon Jan 30 12:38:00 1995 Ian Lance Taylor <ian@cygnus.com>
2344
2345 From "Logg, Ed" <elogg@ea.com>:
2346 * ppc-opc.c (extract_bdm): Correct parenthezisation.
2347 * ppc-dis.c (print_insn_powerpc): Print .long before unrecognized
2348 value.
2349
2350 Thu Jan 26 18:32:08 1995 Ian Lance Taylor <ian@cygnus.com>
2351
2352 * ppc-opc.c: Changes based on patch from David Edelsohn
2353 <edelsohn@mhpcc.edu>.
2354 (powerpc_operands): Add operands SPRBAT and SPRG. Split TBR out of
2355 SPR.
2356 (FXM_MASK): Define.
2357 (insert_tbr): New static function.
2358 (extract_tbr): New static function.
2359 (XFXFXM_MASK, XFXM): Define.
2360 (XSPRBAT_MASK, XSPRG_MASK): Define.
2361 (powerpc_opcodes): Add instructions to access special registers by
2362 name. Add mtcr and mftbu.
2363
2364 Tue Jan 17 10:56:43 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
2365
2366 * mips-opc.c (P3): Define.
2367 (mips_opcodes): Add mad and madu.
2368
2369 Sun Jan 15 16:32:59 1995 Steve Chamberlain <sac@splat>
2370
2371 * configure.in: Add W65 support.
2372 * disassemble.c: Likewise.
2373 * w65-opc.h, w65-dis.c: New files.
2374
2375 Wed Dec 28 22:15:33 1994 Steve Chamberlain (sac@jonny.cygnus.com)
2376
2377 * h8300-dis.c (bfd_h8_disassemble): Add support for 2 bit
2378 immediates.
2379
2380 start-sanitize-arc
2381 Tue Dec 20 10:36:55 1994 Doug Evans <dje@canuck.cygnus.com>
2382
2383 * arc-dis.c (print_insn_arc): Branch offsets are relative to delay
2384 slot.
2385 * arc-opc.c (extract_reladdr): New function.
2386 (insert_reladdr): Store address right-shifted by 2.
2387 end-sanitize-arc
2388
2389 Tue Dec 20 11:25:12 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
2390
2391 * mips-opc.c: Add dli as a synonym for li.
2392
2393 start-sanitize-arc
2394 Mon Dec 19 12:35:51 1994 Doug Evans <dje@canuck.cygnus.com>
2395
2396 * arc-opc.c (insertion fns): Pass pointer to value's table entry.
2397 All uses changed.
2398 (extraction fns): Insn argument now array of two words. Return pointer
2399 to value's table entry. All uses changed.
2400 (arc_opcode_lookup_suffix): Exported for arc-dis.c.
2401 (insert_multshift, extract_multshift): New fns.
2402 (arc_operands): Add support for cache bypass suffix. Add support for
2403 predefined aux regs. Modifier bits moved to flags field.
2404 (arc_opcodes): Likewise.
2405 Add mul/mulu/shift insns. Syntax of zero/sign extension insns changed.
2406 New insn rlc. Update to syntax in programmer's manual.
2407 (arc_reg_names): Fix typo in lp_count. Add predefined aux regs.
2408 (arc_suffixes): New synonyms lo,hs for cs,cc. New suffix for cache
2409 bypass.
2410 (arc_opcode_init_tables): New argument to indicate cpu type.
2411 (insert_reg): Handle predefined aux regs.
2412 (extract_reg): Likewise.
2413 (lookup_register): New fn.
2414 * arc-dis.c (arc_condition_codes): Deleted.
2415 (print_insn_arc): Handle insns with 32 bit immediate constants better.
2416 Clean up modifier handling. Handle predefined aux regs.
2417 end-sanitize-arc
2418
2419 Thu Dec 8 18:23:31 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
2420
2421 * alpha-dis.c (print_insn_alpha): Handle call_pal instruction, and
2422 print something for reserved opcode values, even if it won't
2423 assemble again.
2424
2425 * mips-dis.c (_print_insn_mips): When initializing, shift right
2426 and mask, to avoid sign extension problems on the Alpha.
2427
2428 * m68k-dis.c (print_insn_arg, case 'J'): Handle buscr and pcr
2429 control registers.
2430
2431 start-sanitize-arc
2432 Tue Nov 29 18:02:43 1994 Doug Evans <dje@canuck.cygnus.com>
2433
2434 * configure.in: Add ARC support.
2435 * disassemble.c: Likewise.
2436 * arc-dis.c, arc-opc.c: New files.
2437 end-sanitize-arc
2438
2439 Wed Nov 23 22:34:51 1994 Steve Chamberlain (sac@jonny.cygnus.com)
2440
2441 * sh-opc.h (mov.l gbr): Get direction right.
2442 * sh-dis.c (print_insn_shx): New function.
2443 (print_insn_shl, print_insn_sh): Call print_insn_shx to
2444 print opcodes with right byte order.
2445
2446 Thu Nov 3 19:32:22 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
2447
2448 * ns32k-dis.c (struct ns32k_option): Renamed from struct option,
2449 to avoid conflicts with getopt.
2450
2451 Mon Oct 31 18:48:10 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
2452
2453 * hppa-dis.c (print_insn_hppa): Read the instruction using
2454 bfd_getb32, so that it works on a little endian or 64 bit host.
2455 Remove unused local variable op.
2456
2457 Tue Oct 25 17:07:57 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
2458
2459 * mips-opc.c: Use or instead of addu for pseudo-op move, since
2460 addu does not work correctly if -mips3.
2461
2462 Wed Oct 19 13:40:16 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
2463
2464 * a29k-dis.c (print_special): Add special register names defined
2465 on 29030, 29040 and 29050.
2466 (print_insn): Handle new operand type 'I'.
2467
2468 Wed Oct 12 11:59:55 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
2469
2470 * Makefile.in (INSTALL): Use top level install.sh script.
2471
2472 Wed Oct 5 19:16:29 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
2473
2474 * sparc-dis.c: Rewrite to use bitfields, rather than a union, so
2475 that it works on a little endian host.
2476
2477 Tue Oct 4 12:14:21 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
2478
2479 * configure.in: Use ${config_shell} when running config.bfd.
2480
2481 Wed Sep 21 18:49:12 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
2482
2483 * mips-opc.c (mips_opcodes): "dabs" is only available with -mips3.
2484
2485 Thu Sep 15 16:30:22 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
2486
2487 * a29k-dis.c (print_insn): Print the opcode.
2488
2489 Wed Sep 14 17:52:14 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
2490
2491 * mips-opc.c (mips_opcodes): Set WR_t for sc and scd.
2492
2493 Sun Sep 11 22:32:17 1994 Jeff Law (law@snake.cs.utah.edu)
2494
2495 * hppa-dis.c (reg_names): Use r26-r23 for arg0-arg3.
2496
2497 Tue Sep 6 11:37:12 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
2498
2499 * mips-opc.c: Set INSN_STORE_MEMORY flag for all instructions
2500 which store a value into memory.
2501
2502 Sun Sep 04 17:58:10 1994 Richard Earnshaw (rwe@pegasus.esprit.ec.org)
2503
2504 * configure.in, Makefile.in, disassemble.c: Add support for the ARM.
2505 * arm-dis.c, arm-opc.h: New files.
2506
2507 Fri Aug 5 14:00:05 1994 Stan Shebs (shebs@andros.cygnus.com)
2508
2509 * Makefile.in (ns32k-dis.o): Add dependency.
2510 * ns32k-dis.c (print_insn_arg): Declare initialized local as
2511 string, not as array of chars.
2512
2513 Thu Jul 28 18:14:16 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
2514
2515 * sparc-dis.c (print_insn_sparc): Handle new operand type 'x'.
2516
2517 * sparc-opc.c: Added sparclite extended FP operations, and
2518 versions of v9 impdep* instructions permitting specification of
2519 the OPF field.
2520
2521 Tue Jul 26 16:36:03 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
2522
2523 * i960-dis.c (reg_names): Now const.
2524 (struct sparse_tabent): New type, copied from array type in mem
2525 function.
2526 (ctrl): Local static array ctrl_tab now const.
2527 (cobr): Local static array cobr_tab now const.
2528 (mem): Local variables reg1, reg2, reg3 now point to const. Local
2529 static variable mem_tab no longer explicitly initialized. Changed
2530 mem_init to const array of struct sparse_tabent.
2531 (reg): Local static variable reg_tab no longer explicitly
2532 initialized. Changed reg_init to const array of struct
2533 sparse_tabent.
2534 (ea): Local static array scale_tab now const.
2535
2536 * i960-dis.c (reg): Added i960JX instructions to reg_init table.
2537 (REG_MAX): Updated.
2538
2539 Tue Jul 19 21:00:00 1994 DJ Delorie (dj@ctron.com)
2540
2541 * configure.bat: the disassember needs to be enabled for
2542 "objdump -d" to work in djgpp.
2543
2544 Wed Jul 13 18:01:58 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
2545
2546 * ns32k-dis.c: Deleted all code in "#ifdef GDB".
2547 (invalid_float): Enabled general version, doesn't require running
2548 on ns32k host. Changed to take char* argument, and test for
2549 explicitly specified sizes, instead of using sizeof() on host CPU
2550 types.
2551 (INVALID_FLOAT): Cast first argument.
2552 (opt_u, opt_U, opt_O, opt_C, opt_S, list_P532, list_M532,
2553 list_P032, list_M032): Now const.
2554 (optlist, list_search): Made appropriate arguments now point to
2555 const.
2556 (print_insn_arg): Changed static array of one-character-string
2557 pointers into a static const array of characters; fixed sprintf
2558 statement accordingly.
2559
2560 Sun Jul 10 00:27:47 1994 Ian Dall (dall@hfrd.dsto.gov.au)
2561
2562 * opcodes/ns32k-dis.c: Semi-new file. Had apparently been dropped
2563 from distribution. A ns32k-dis.c from a previous distribution has
2564 been brought up to date and supports the new interface.
2565
2566 * disassemble.c: define ARCH_ns32k and add case bfd_arch_ns32k.
2567
2568 * configure.in: add bfd_ns32k_arch target support.
2569
2570 * Makefile.in: add ns32k-dis.o to ALL_MACHINES.
2571 Add ns32k-dis.c to CFILES. Add dependencies for ns32k-dis.o.
2572
2573 Wed Jun 29 22:10:37 1994 Steve Chamberlain (sac@cygnus.com)
2574
2575 * h8300-dis.c (bfd_h8_disassemble): Get 16bit branch
2576 disassembly right.
2577
2578 Tue Jun 28 13:22:06 1994 Stan Shebs (shebs@andros.cygnus.com)
2579
2580 * h8300-dis.c, mips-dis.c: Don't use true and false.
2581
2582 Thu Jun 23 12:53:19 1994 David J. Mackenzie (djm@rtl.cygnus.com)
2583
2584 * configure.in: Change --with-targets to --enable-targets.
2585
2586 Wed Jun 22 13:38:32 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
2587
2588 * mips-dis.c (_print_insn_mips): Build a static hash table mapping
2589 opcodes to the first instruction with that opcode, to speed
2590 disassembly of large files. From ralphc@pyramid.com (Ralph
2591 Campbell).
2592
2593 Tue Jun 7 12:49:44 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2594
2595 * Makefile.in (mostlyclean): Fix typo (was mostyclean).
2596
2597 Wed May 11 22:32:00 1994 DJ Delorie (dj@ctron.com)
2598
2599 * configure.bat: update to latest makefile.in
2600
2601 Sat May 7 17:13:21 1994 Steve Chamberlain (sac@cygnus.com)
2602
2603 * a29k-dis.c (print_insn): Print 'x' type operand in hex.
2604 * h8300-dis.c (bfd_h8_disassemble): Print 16bit rels correctly.
2605 * sh-dis.c (print_insn_sh): Don't recur endlessly if delay
2606 slot insn is in a delay slot.
2607 * z8k-opc.h: (resflg): Fix patterns.
2608 * h8500-opc.h Fix CR insn patterns.
2609
2610 Fri May 6 14:34:46 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2611
2612 * ppc-opc.c (powerpc_opcodes): Put PowerPC versions of "cmp" and
2613 "cmpl" before POWER versions, so that gas -many uses them.
2614
2615 Thu Apr 28 18:32:36 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
2616
2617 * disassemble.c: New file.
2618 * Makefile.in (OFILES): Add disassemble.o.
2619 (disassemble.o): Provide dependencies; compile with $(ARCHDEFS).
2620 * configure.in: Define ARCHDEFS in Makefile. Code taken from
2621 binutils/configure.in.
2622
2623 * m68k-dis.c (print_insn_m68k): If F_ALIAS flag is set, skip the
2624 opcode being examined.
2625
2626 Thu Apr 21 17:08:40 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2627
2628 * ppc-opc.c (powerpc_operands): Added RAL, RAM and RAS.
2629 (insert_ral, insert_ram, insert_ras): New functions.
2630 (powerpc_opcodes): Use RAL for load with update, RAM for lmw, and
2631 RAS for store with update.
2632
2633 Sat Apr 16 23:41:44 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2634
2635 * ppc-opc.c (powerpc_opcodes): Correct fcir. From David Edelsohn
2636 (edelsohn@npac.syr.edu).
2637
2638 Wed Apr 6 17:11:45 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2639
2640 * mips-opc.c (mips_opcodes): Correct operands of "nor" with an
2641 immediate argument.
2642
2643 Mon Apr 4 16:30:46 1994 Doug Evans (dje@canuck.cygnus.com)
2644
2645 * sparc-opc.c (sparc_opcodes): Fix "rd %fprs,%l0".
2646
2647 Mon Apr 4 13:22:00 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2648
2649 * ppc-opc.c (powerpc_operands): The signedp field has been
2650 removed, so don't initialize it. Set the PPC_OPERAND_SIGNED flag
2651 instead. Add new operand SISIGNOPT.
2652 (powerpc_opcodes): For lis, liu, addis, and cau use SISIGNOPT.
2653 Based on patch from David Edelsohn (edelsohn@npac.syr.edu).
2654 * ppc-dis.c (print_insn_powerpc): Check PPC_OPERAND_SIGNED rather
2655 than signedp field.
2656
2657 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2658
2659 * i386-dis.c (struct private): Renamed to dis_private. `private'
2660 is a reserved word for dynix cc.
2661
2662 Mon Mar 28 13:00:15 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2663
2664 * configure.in: Change error message to refer to bfd/config.bfd
2665 rather than bfd/configure.in.
2666
2667 Mon Mar 28 12:28:30 1994 David Edelsohn (edelsohn@npac.syr.edu)
2668
2669 * ppc-opc.c: Define POWER2 as short alias flag.
2670 (powerpc_opcodes): Add POWER/2 opcodes lfq*, stfq*, fcir[z], and
2671 fsqrt.
2672
2673 Wed Mar 23 12:23:05 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2674
2675 * i960-dis.c (print_insn_i960): Don't read a second word for
2676 opcodes 0, 1, 2 and 3.
2677
2678 Wed Mar 16 15:37:58 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2679
2680 * configure.in: Don't build m68881-ext.o for bfd_m68k_arch.
2681
2682 Mon Mar 14 14:53:50 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2683
2684 * m68881-ext.c: Removed; no longer used.
2685 * Makefile.in: Changed accordingly.
2686
2687 * m68k-dis.c (ext_format_68881): Don't declare.
2688 (print_insn_m68k): If an instruction uses place 'i', it uses at
2689 least four fixed bytes.
2690 (print_insn_arg): Don't bump p by 2 for case 'I', place 'i'. For
2691 extended float, convert to double using floatformat_to_double, not
2692 ieee_extended_to_double, and fetch the data before converting it.
2693
2694 Tue Mar 8 18:12:25 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2695
2696 * mips-opc.c: It's sqrt.s, not sqrt.w. From
2697 davidj@ICSI.Berkeley.EDU (David Johnson).
2698
2699 Tue Feb 8 16:55:27 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2700
2701 * ppc-opc.c (powerpc_opcodes): The POWER uses bdn[l][a] where the
2702 PowerPC uses bdnz[l][a].
2703
2704 Tue Feb 8 00:32:28 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2705
2706 * dis-buf.c, i386-dis.c: Include sysdep.h.
2707
2708 Mon Feb 7 19:22:23 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2709
2710 * configure.in (bfd_powerpc_arch): Use ppc-dis.o and ppc-opc.o.
2711
2712 * ppc-opc.c (powerpc_opcodes): Mark POWER instructions supported
2713 by Motorola PowerPC 601 with PPC_OPCODE_601.
2714 * ppc-dis.c (print_insn_big_powerpc, print_insn_little_powerpc):
2715 Disassemble Motorola PowerPC 601 instructions as well as normal
2716 PowerPC instructions.
2717
2718 Sun Feb 6 07:45:17 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2719
2720 * i960-dis.c (reg, mem): Just use a static array instead of
2721 calling xmalloc.
2722
2723 Sat Feb 5 00:04:02 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
2724
2725 * hppa-dis.c (print_insn_hppa): For '?' and '@' only adjust the
2726 condition name index if this is for a negated condition.
2727
2728 * hppa-dis.c (print_insn_hppa): No space before 'H' operand.
2729 Floating point format for 'H' operand is backwards from normal
2730 case (0 == double, 1 == single). For '4', '6', '7', '9', and '8'
2731 operands (fmpyadd and fmpysub), handle bizarre register
2732 translation correctly for single precision format.
2733
2734 * hppa-dis.c (print_insn_hppa): Do not emit a space after 'F'
2735 or 'I' operands if the next format specifier is 'M' (fcmp
2736 condition completer).
2737
2738 Feb 4 23:38:03 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2739
2740 * ppc-opc.c (powerpc_operands): New operand type MBE to handle a
2741 single number giving a bitmask for the MB and ME fields of an M
2742 form instruction. Change NB to accept 32, and turn it into 0;
2743 also turn 0 into 32 when disassembling. Seperated SH from NB.
2744 (insert_mbe, extract_mbe): New functions.
2745 (insert_nb, extract_nb): New functions.
2746 (SC_MASK): Mask out SA and LK bits.
2747 (powerpc_opcodes): Change "cal" to use RT, D, RA rather than RT,
2748 RA, SI. Change "liu" and "cau" to use UI rather than SI. Mark
2749 "bctr" and "bctrl" as accepted by POWER. Change "rlwimi",
2750 "rlimi", "rlwimi.", "rlimi.", "rlwinm", "rlinm", "rlwinm.",
2751 "rlinm.", "rlmi", "rlmi.", "rlwnm", "rlnm", "rlwnm.", "rlnm." to
2752 use MBE rather than MB. Add "mfmq" and "mtmq" POWER instructions.
2753 (powerpc_macros): Define table of macro definitions.
2754 (powerpc_num_macros): Define.
2755
2756 * ppc-dis.c (print_insn_powerpc): Don't skip optional operands
2757 if PPC_OPERAND_NEXT is set.
2758
2759 Sat Jan 22 23:10:07 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2760
2761 * i960-dis.c (print_insn_i960): Make buffer bfd_byte instead of
2762 char. Retrieve contents using bfd_getl32 instead of shifting.
2763
2764 Fri Jan 21 19:01:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2765
2766 * ppc-opc.c: New file. Opcode table for PowerPC, including
2767 opcodes for POWER (RS/6000).
2768 * ppc-dis.c: New file. PowerPC and Power (RS/6000) disassembler.
2769 * Makefile.in (ALL_MACHINES): Add ppc-dis.o and ppc-opc.o.
2770 (CFILES): Add ppc-dis.c.
2771 (ppc-dis.o, ppc-opc.o): New targets.
2772 * configure.in: Build ppc-dis.o and ppc-opc.o for bfd_rs6000_arch.
2773
2774 Mon Jan 17 20:05:49 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
2775
2776 * hppa-dis.c (print_insn_hppa): Handle 'N' in assembler template.
2777 No space before 'u', 'f', or 'N'.
2778
2779 Sun Jan 16 14:20:16 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
2780
2781 * i386-dis.c (print_insn_i386): Add FIXME comment regarding reading
2782 farther than we should.
2783
2784 * i386-dis.c (dis386): Use Yb and Yv for scasb and scasS.
2785
2786 Thu Jan 6 12:38:05 1994 David J. Mackenzie (djm@thepub.cygnus.com)
2787
2788 * sparc-dis.c m68k-dis.c alpha-dis.c a29k-dis.c: Fix comments.
2789
2790 Wed Jan 5 11:56:21 1994 David J. Mackenzie (djm@thepub.cygnus.com)
2791
2792 * i960-dis.c (print_insn_i960): Only read word2 if the instruction
2793 needs it, to prevent reading past the end of a section.
2794
2795 Wed Nov 17 17:20:12 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2796
2797 * mips-opc.h: Use macro for j instruction, to support SVR4 PIC.
2798 Removed t,A case for la; always use t,A(b) case.
2799
2800 Mon Nov 8 12:37:36 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2801
2802 From Ted Lemen <mellon@pepper.ncd.com>
2803 * mips-dis.c (print_insn_arg): Handle 'k'.
2804 * mips-opc.c: Make cache use k, not t.
2805
2806 Sun Nov 7 23:52:34 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2807
2808 * alpha-opc.h, alpha-dis.c (print_insn_alpha): Add
2809 FLOAT_MEMORY_FORMAT_CODE, FLOAT_BRANCH_FORMAT_CODE, correct
2810 FLOAT_FORMAT_CODE to put out floating point register names.
2811
2812 Mon Nov 1 18:17:51 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2813
2814 * mips-opc.c: Use macros for jal variants, to support SVR4 PIC.
2815
2816 Thu Oct 28 17:42:23 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2817
2818 * a29k-dis.c (print_insn): Use 0x%08x, not 0x%8x.
2819
2820 Wed Oct 27 11:48:01 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2821
2822 * mips-opc.c (dsll, dsra, dsrl): Added '>' cases for shift counts
2823 larger than 32. Moved dsxx32 variants first for disassembler.
2824
2825 Mon Oct 25 11:33:14 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
2826
2827 * z8kgen.c, z8k-opc.h: Add full lda information.
2828
2829 Tue Oct 19 12:39:25 1993 Jeffrey A Law (law@cs.utah.edu)
2830
2831 * hppa-dis.c (print_insn_hppa): Do not emit a space after
2832 movb instructions. Any necessary space will be emitted by
2833 the code to handle nullification completers.
2834
2835 Wed Oct 13 16:19:07 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2836
2837 * mips-opc.c: Moved l.d down so that it disassembles as ldc1.
2838
2839 Fri Oct 8 02:34:21 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2840
2841 * alpha-opc.h: Add ldl_l, fix typo for ldq_u.
2842 * alpha-dis.c (print_insn_alpha): Add code for PAL_FORMAT_CODE.
2843
2844 Tue Oct 5 17:47:53 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2845
2846 * mips-opc.c: Correct lwu opcode value (book had it wrong).
2847
2848 Thu Sep 30 11:26:18 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
2849
2850 * z8k-dis.c (FETCH_DATA): get just the right amount of data.
2851 (unpack_instr): Cope with ARG_IMM4M1 type instructions.
2852
2853 Wed Sep 29 16:24:49 1993 K. Richard Pixley (rich@sendai.cygnus.com)
2854
2855 * m88k-dis.c (m88kdis): comment change. Remove space after
2856 printing mnemonic.
2857 (printop): handle new arg types DEC and XREG for m88110.
2858
2859 Tue Sep 28 19:20:16 1993 Jeffrey A Law (law@snake.cs.utah.edu)
2860
2861 * hppa-dis.c (print_insn_hppa): Handle 'z' operand
2862 type for absolute branch addresses. Delete special
2863 "ble" and "be" code in 'W' operand code.
2864
2865 Fri Sep 24 14:08:33 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2866
2867 * mips-opc.c: Set hazard information correctly for branch
2868 likely instructions.
2869
2870 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2871
2872 * alpha-dis.c (print_insn_alpha), alpha-opc.h: Fix bugs, use
2873 info->fprintf_func for printing and info->print_address_func for
2874 address output.
2875
2876 Wed Sep 15 12:12:07 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2877
2878 * mips-opc.c: Set INSN_TRAP for tXX instructions.
2879
2880 Thu Sep 9 10:11:27 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2881
2882 * mips-opc.c: From davidj@ICSI.Berkeley.EDU (David Johnson):
2883 Corrected second case of "b" for disassembler.
2884
2885 Tue Sep 7 14:25:15 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2886
2887 * mips-dis.c, m88k-dis.c: Don't include libbfd.h. Changed calls
2888 to BFD swapping routines to correspond to BFD name changes.
2889
2890 Thu Sep 2 10:35:25 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2891
2892 * mips-opc.c: Change div machine instruction to be z,s,t rather
2893 than s,t. Change div macro to be d,v,t rather than d,s,t.
2894 Likewise for divu, ddiv, ddivu. Added z,s,t case for drem, dremu,
2895 rem and remu which generates only the corresponding div
2896 instruction. This is for compatibility with the MIPS assembler,
2897 which only generates the simple machine instruction when an
2898 explicit destination of $0 is used.
2899 * mips-dis.c (print_insn_arg): Handle 'z' (always register zero).
2900
2901 Thu Aug 26 17:41:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2902
2903 * mips-opc.c: From davidj@ICSI.Berkeley.EDU (David Johnson): Set
2904 WR_31 hazard for bal, bgezal, bltzal.
2905
2906 Thu Aug 26 17:20:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2907
2908 * hppa-dis.c (print_insn_hppa): Use print function
2909 from within the disassemble_info, not fprintf_filtered.
2910
2911 Wed Aug 25 13:51:40 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
2912
2913 * hppa-dis.c (print_insn_hppa): Handle '|' like '>'. (From Jeff
2914 Law, law@cs.utah.edu.)
2915
2916 Mon Aug 23 12:44:05 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2917
2918 * mips-opc.c ("absu"): Removed.
2919 ("dabs"): Added.
2920
2921 Fri Aug 20 10:52:52 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2922
2923 * mips-opc.c: Added r6000 and r4000 instructions and macros.
2924 Changed hazard information to distinguish between memory load
2925 delays and coprocessor load delays.
2926
2927 Wed Aug 18 15:39:23 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2928
2929 * mips-opc.c: li.d uses "T,L", not "S,F". Added li.s.
2930
2931 Tue Aug 17 09:44:42 1993 David J. Mackenzie (djm@thepub.cygnus.com)
2932
2933 * configure.in: Don't pass cpu to config.bfd.
2934
2935 Tue Aug 17 12:23:52 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2936
2937 * m88k-dis.c (m88kdis): Make class unsigned.
2938
2939 Thu Aug 12 15:08:18 1993 Ian Lance Taylor (ian@cygnus.com)
2940
2941 * alpha-dis.c (print_insn_alpha): One branch format case was
2942 missing the instruction name.
2943
2944 Wed Aug 11 19:29:39 1993 David J. Mackenzie (djm@thepub.cygnus.com)
2945
2946 * Makefile.in (ALL_MACHINES): Renamed from DIS_LIBS.
2947 Add the arch-specific auxiliary files.
2948 (OFILES): Remove the arch-specific auxiliary files
2949 and use BFD_MACHINES instead of DIS_LIBS.
2950 * configure.in: Set BFD_MACHINES based on --with-targets option.
2951
2952 Thu Aug 12 12:04:53 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2953
2954 * mips-opc.c: Added lwc1 E,A(b) to go with lwc1 T,A(b). Similarly
2955 for swc1.
2956
2957 Sun Aug 8 15:09:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2958
2959 * sparc-opc.c: Change CONST to const to deal with gcc
2960 -Dconst=__const -traditional.
2961
2962 Fri Aug 6 10:58:55 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2963
2964 * mips-opc.c: From davidj@ICSI.Berkeley.EDU (David Johnson): Took
2965 coprocessor instructions out of #if 0, and made them use new
2966 argument type "C".
2967
2968 Thu Aug 5 17:11:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2969
2970 * sparc-dis.c: Include ansidecl.h before opcodes/sparc.h.
2971
2972 Fri Jul 30 18:48:15 1993 John Gilmore (gnu@cygnus.com)
2973
2974 * sparc-opc.c: Add F_JSR, F_UNBR, or F_CONDBR flags to each branch
2975 instruction, for use by the disassembler.
2976
2977 * sparc-dis.c (SEX): Add sign extension macro. Replace many
2978 hand-coded sign extensions that depended on 32-bit host ints.
2979 FIXME, we still depend on big-endian host bitfield ordering.
2980 (sparc_print_insn): Set the insn_info_valid field, and the
2981 other fields that describe the instruction being printed.
2982
2983 Tue Jul 27 17:04:58 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
2984
2985 * sparc-opc.c (call): Accept all 6 addressing modes valid for
2986 `jmp' instead of just one of them.
2987
2988 Wed Jul 21 11:43:32 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
2989
2990 * hppa-dis.c: Move floating registers from reg_names to fp_reg_names.
2991 (fput_fp_reg_r): Renamed from fput_reg_r.
2992 (fput_fp_reg): New function.
2993 (print_insn_hppa): Use fput_fp_reg{,_r} where appropriate.
2994
2995 * hppa-dis.c (print_insn_hppa, cases 'a', 'd'): Print space afterwards.
2996
2997 * hppa-dis.c (print_insn_hppa, case 'd'): Use GET_COND not GET_FIELD.
2998
2999 Mon Jul 19 13:52:21 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
3000
3001 * hppa-dis.c (print_insn_hppa): Use extract_5r_store for 'r'.
3002
3003 * hppa-dis.c (print_insn_hppa, case '>'): If next character is 'n',
3004 don't output a space.
3005
3006 * hppa-dis.c (float_format_names): 10 is undefined, and 11 is quad.
3007
3008 Sun Jul 18 16:30:02 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
3009
3010 * mips-opc.c: New file, containing opcode table from
3011 ../include/opcode/mips.h.
3012 * Makefile.in: Add it.
3013
3014 Thu Jul 15 12:37:05 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
3015
3016 * m88k-dis.c: New file, moved in from gdb and changed to use the
3017 new dis-asm.h disassembler interface.
3018 * Makefile.in (DIS_LIBS): Added m88k-dis.o.
3019 (m88k-dis.o): New target.
3020
3021 Tue Jul 13 10:04:16 1993 Ian Lance Taylor (ian@cygnus.com)
3022
3023 * mips-dis.c (print_insn_arg, _print_insn_mips): Made pointer to
3024 argument string const char * to correspond to opcode/mips.h.
3025
3026 Tue Jul 6 15:18:37 1993 Ian Lance Taylor (ian@cygnus.com)
3027
3028 * mips-dis.c: Updated to account for name changes in new version
3029 of opcode/mips.h.
3030 * Makefile.in: Added header file dependencies.
3031
3032 Sat Jul 3 23:47:56 1993 Doug Evans (dje@canuck.cygnus.com)
3033
3034 * h8300-dis.c (bfd_h8_disassemble): Correct fetching of instruction.
3035
3036 Thu Jul 1 12:23:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3037
3038 * m68k-dis.c (NEXTWORD, NEXTLONG): Use ((x) ^ 0x8000) - 0x8000 to sign
3039 extend, rather than shifts.
3040
3041 Sun Jun 20 20:56:56 1993 Ken Raeburn (raeburn@poseidon.cygnus.com)
3042
3043 * Makefile.in: Undo 15 June change.
3044
3045 Fri Jun 18 14:15:15 1993 Per Bothner (bothner@deneb.cygnus.com)
3046
3047 * m68k-dis.c (print_insn_arg): Change return value to byte count
3048 or error code.
3049 * m68k-dis.c: Re-write to detect invalid operands before
3050 printing anything, so we can handle this the same way we
3051 handle invalid opcodes.
3052
3053 Thu Jun 17 15:01:36 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
3054
3055 * sh-dis.c, sh-opc.h: Understand some more opcodes.
3056
3057 Wed Jun 16 13:48:05 1993 Ian Lance Taylor (ian@cygnus.com)
3058
3059 * hppa-dis.c: Include <ansidecl.h> and sysdep.h before other
3060 header files.
3061
3062 Tue Jun 15 21:45:26 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
3063
3064 * sparc-dis.c: Don't declare qsort, since sysdep.h might.
3065
3066 * configure.in: Do make sysdep.h link.
3067 * Makefile.in: Search ../include. Don't search ../bfd.
3068
3069 Tue Jun 15 13:36:10 1993 Stu Grossman (grossman@cygnus.com)
3070
3071 Changes from Jeff Law, law@cs.utah.edu:
3072 * hppa-dis.c: Fix typo. 'a' and 'd' were reversed.
3073 Do not print a space before the completers specified by
3074 'a' and 'd'.
3075
3076 Fri Jun 11 18:40:21 1993 Ken Raeburn (raeburn@cygnus.com)
3077
3078 * mips-dis.c: No longer need to bomb out if HOST_64_BIT is
3079 defined, since gdb has been fixed.
3080
3081 Changes from Jeff Law, law@cs.utah.edu:
3082 * hppa-dis.c (print_insn_hppa): Last argument to fput_reg,
3083 fput_reg_r, fput_creg, fput_const, and fputs_filtered should
3084 be a *disassemble_info, not a *FILE.
3085 * hppa-dis.c: Support 'd', '!', and 'a'.
3086 * hppa-dis.c: Support 's' to extract a 2 bit space register.
3087 * hppa-dis.c: Delete cases which are no longer needed.
3088
3089 Fri Jun 11 07:53:48 1993 Jim Kingdon (kingdon@cygnus.com)
3090
3091 * m68k-dis.c (print_insn_{m68k,arg}): Add MMU codes.
3092
3093 Tue Jun 8 12:25:01 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
3094
3095 * h8300-dis.c: New file, removed from bfd/cpu-h8300.c, with
3096 H8/300-H opcodes.
3097
3098 Mon Jun 7 12:58:49 1993 Per Bothner (bothner@rtl.cygnus.com)
3099
3100 * Makefile.in (CSEARCH): Add -I../bfd for sysdep.h and bfd.h.
3101 * configure.in: No longer need to configure to get sysdep.h.
3102
3103 Thu Jun 3 15:56:49 1993 Stu Grossman (grossman@cygnus.com)
3104
3105 * Patches from Jeffrey Law <law@cs.utah.edu>.
3106 * hppa-dis.c: Support 'I', 'J', and 'K' in output
3107 templates for 1.1 FP computational instructions.
3108
3109 Tue May 25 13:05:48 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
3110
3111 * h8500-dis.c (print_insn_h8500): Address argument is type
3112 bfd_vma.
3113 * z8k-dis.c (print_insn_z8k, print_insn_z8001, print_insn_z8002):
3114 Ditto.
3115
3116 * h8500-opc.h (addr_class_type): No comma at end of enumerator.
3117 * sh-opc.h (sh_nibble_type, sh_arg_type): Ditto.
3118
3119 * sparc-dis.c (compare_opcodes): Move static declaration to
3120 top-level.
3121
3122 Fri May 21 14:17:37 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3123
3124 * sparc-dis.c (print_insn_sparc): Implement 'n' argument for unimp
3125 instruction, remove unimp hack from 'l' argument.
3126
3127 Wed May 19 15:35:54 1993 Stu Grossman (grossman@cygnus.com)
3128
3129 * z8k-dis.c (fetch_data): Use unsigned char to make ancient gcc's
3130 happy.
3131
3132 Fri May 14 15:22:46 1993 Ian Lance Taylor (ian@cygnus.com)
3133
3134 * Based on patches from davidj@ICSI.Berkeley.EDU (David Johnson):
3135 * mips-dis.c (print_insn_arg): Handle 'C' for general coprocessor
3136 instructions.
3137
3138 Fri May 14 00:09:14 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
3139
3140 * hppa-dis.c: Include dis-asm.h before sysdep.h. Changed some
3141 arrays of string pointers to 2-d arrays of chars, to save
3142 space.
3143
3144 Thu May 6 20:51:17 1993 Fred Fish (fnf@cygnus.com)
3145
3146 * a29k-dis.c, alpha-dis.c, i960-dis.c, sparc-dis.c, z8k-dis.c:
3147 Cast second arg to read_memory_func to "bfd_byte *", as necessary.
3148
3149 Tue May 4 20:31:10 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
3150
3151 * hppa-dis.c: New file from Utah, adapted to new disassembler
3152 calling interface.
3153 * Makefile.in: Include it.
3154
3155 Mon Apr 26 18:17:42 1993 Steve Chamberlain (sac@thepub.cygnus.com)
3156
3157 * sh-dis.c, sh-opc.h: New files.
3158
3159 Fri Apr 23 18:51:22 1993 Steve Chamberlain (sac@thepub.cygnus.com)
3160
3161 * alpha-dis.c, alpha-opc.h: New files.
3162
3163 Tue Apr 6 12:54:08 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3164
3165 * mips-dis.c: Sign extend 'j' and 'b' arguments, delta is a signed
3166 value.
3167
3168 Mon Apr 5 17:37:37 1993 John Gilmore (gnu@cygnus.com)
3169
3170 * sparc-dis.c: Make "ta" the default trap instruction, "t" the alias.
3171
3172 Fri Apr 2 07:24:27 1993 Ian Lance Taylor (ian@cygnus.com)
3173
3174 * a29k-dis.c, sparc-dis.c, sparc-opc.c: Use CONST rather than
3175 const.
3176
3177 Thu Apr 1 11:20:43 1993 Jim Kingdon (kingdon@cygnus.com)
3178
3179 * sparc-dis.c: Use fprintf_func a few places where I forgot,
3180 and double percent signs a few places.
3181
3182 * a29k-dis.c, i960-dis.c: New, merged from gdb and binutils.
3183
3184 * i386-dis.c, m68k-dis.c, mips-dis.c, sparc-dis.c:
3185 Use info->print_address_func not print_address.
3186
3187 * dis-buf.c (generic_print_address): New function.
3188
3189 Wed Mar 31 10:07:04 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3190
3191 * Makefile.in: Add sparc-dis.c.
3192 sparc-dis.c: New file, merges binutils and gdb versions as follows:
3193 From GDB:
3194 Add `add' instruction to the set that get checked
3195 for a preceding `sethi' in order to print an absolute address.
3196 * (print_insn): Disassembly prefers real instructions.
3197 (is_delayed_branch): Speed up.
3198 * sparc-opcode.h: Add ALIAS bit to aliases. Fix up opcode tables.
3199 Still missing some float ops, and needs testing.
3200 * sparc-pinsn.c (print_insn): Eliminate 'set' test, subsumed by
3201 F_ALIAS. Use printf, not fprintf, when not passing a file
3202 pointer...
3203 (compare_opcodes): Check that identical instructions have
3204 identical opcodes, complain otherwise.
3205 From binutils:
3206 * New 'm' arg.
3207 * Include reg_names.
3208 From neither:
3209 Use dis-asm.h/read_memory_func interface.
3210
3211 Wed Mar 31 20:49:06 1993 K. Richard Pixley (rich@rtl.cygnus.com)
3212
3213 * h8500-dis.c, i386-dis.c, m68k-dis.c, z8k-dis.c (fetch_data):
3214 deliberately return non-zero to setjmp from longjmp. Otherwise
3215 this code fails to compile.
3216
3217 Wed Mar 31 17:04:31 1993 Stu Grossman (grossman@cygnus.com)
3218
3219 * m68k-dis.c: Fix prototype for fetch_arg().
3220
3221 Wed Mar 31 10:07:04 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3222
3223 * dis-buf.c: New file, for new read_memory_func interface.
3224 Makefile.in (OFILES): Include it.
3225 m68k-dis.c, i386-dis.c, h8500-dis.c, mips-dis.c, z8k-dis.c:
3226 Use new read_memory_func interface.
3227
3228 Mon Mar 29 14:02:17 1993 Steve Chamberlain (sac@thepub.cygnus.com)
3229
3230 * h8500-dis.c (print_insn_h8500): Get sign of fp offsets right.
3231 * h8500-opc.h: Fix couple of opcodes.
3232
3233 Wed Mar 24 02:03:36 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
3234
3235 * Makefile.in: add dvi & installcheck targets
3236
3237 Mon Mar 22 18:55:04 1993 John Gilmore (gnu@cygnus.com)
3238
3239 * Makefile.in: Update for h8500-dis.c.
3240
3241 Fri Mar 19 14:27:17 1993 Steve Chamberlain (sac@thepub.cygnus.com)
3242
3243 * h8500-dis.c, h8500-opc.h: New files
3244
3245 Thu Mar 18 14:12:37 1993 Per Bothner (bothner@rtl.cygnus.com)
3246
3247 * mips-dis.c, z8k-dis.c: Converted to use interface defined in
3248 ../include/dis-asm.h.
3249 * m68k-dis.c: New file (merge of ../binutils/m68k-pinsn.c
3250 and ../gdb/m68k-pinsn.c).
3251 * i386-dis.c: New file (merge of ../binutils/i386-pinsn.c
3252 and ../gdb/i386-pinsn.c).
3253 * m68881-ext.c: New file. Moved definition of
3254 ext_format ext_format_68881 from ../gdb/m68k-tdep.c.
3255 * Makefile.in: Adjust for new files.
3256 * i386-dis.c: Patches from John Hassey (hassey@dg-rtp.dg.com).
3257 * m68k-dis.c: Recognize '9' placement code, so (say) pflush
3258 can be dis-assembled.
3259
3260 Wed Feb 17 09:19:47 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
3261
3262 * mips-dis.c (print_insn_arg): Now returns void.
3263
3264 Mon Jan 11 16:09:16 1993 Fred Fish (fnf@cygnus.com)
3265
3266 * mips-dis.c (ansidecl.h): Include for benefit of sysdep.h
3267 files that use the macros.
3268
3269 Thu Jan 7 13:15:17 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
3270
3271 * mips-dis.c: New file, from gdb/mips-pinsn.c.
3272 * Makefile.in (DIS_LIBS): Added mips-dis.o.
3273 (CFILES): Added mips-dis.c.
3274
3275 Thu Jan 7 07:36:33 1993 Steve Chamberlain (sac@thepub.cygnus.com)
3276
3277 * z8k-dis.c (print_insn_z8001, print_insn_z8002): new routines
3278 * z8kgen.c, z8k-opc.h: fix sizes of some shifts.
3279
3280 Tue Dec 22 15:42:44 1992 Per Bothner (bothner@rtl.cygnus.com)
3281
3282 * Makefile.in: Improve *clean rules.
3283 * configure.in: Allow a default host.
3284
3285 Tue Nov 17 19:53:54 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
3286
3287 * Makefile.in: also use -I$(srcdir)/../bfd, since some sysdep
3288 files include other sysdep files
3289
3290 Thu Nov 12 16:10:37 1992 Steve Chamberlain (sac@thepub.cygnus.com)
3291
3292 * z8k-dis.c z8k-opc.h z8kgen.c: checkpoint
3293
3294 Fri Oct 9 04:56:05 1992 John Gilmore (gnu@cygnus.com)
3295
3296 * configure.in: For host support, use ../bfd/configure.host
3297 so it stays in sync with the ../bfd/hosts database.
3298
3299 Thu Oct 1 23:38:54 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
3300
3301 * configure.in: use cpu-vendor-os triple instead of nested cases
3302
3303 Wed Sep 30 16:09:20 1992 Michael Werner (mtw@cygnus.com)
3304
3305 * z8k-dis.c (unparse_instr): fix bug where opcode returned was
3306 *always* the wrong one.
3307
3308 Wed Sep 30 07:42:17 1992 Steve Chamberlain (sac@thepub.cygnus.com)
3309
3310 * z8kgen.c: added copyright info
3311
3312 Tue Sep 29 12:20:21 1992 Steve Chamberlain (sac@thepub.cygnus.com)
3313
3314 * z8k-dis.c (unparse_instr): prettier tabs
3315 * z8kgen.c -> z8k-opc.h: bug fixes in tables
3316
3317 Fri Sep 25 12:50:32 1992 Stu Grossman (grossman at cygnus.com)
3318
3319 * configure.in: Add ncr* configuration.
3320 * z8k-dis.c (struct instr_data_s): Make instr_asmsrc char to make
3321 picayune ANSI compilers happy.
3322
3323 Sep 20 08:50:55 1992 Fred Fish (fnf@cygnus.com)
3324
3325 * configure.in (i386): Make i386 and i486 synonymous for now.
3326 * configure.in (i[34]86-*-sysv4): Add my_host definition.
3327
3328 Fri Sep 18 17:01:23 1992 Ken Raeburn (raeburn@cambridge.cygnus.com)
3329
3330 * Makefile.in (install): Fix typo.
3331
3332 Fri Sep 18 02:04:24 1992 John Gilmore (gnu@cygnus.com)
3333
3334 * Makefile.in (make): Remove obsolete crud.
3335 (sparc-opc.o): Avoid Sun Make VPATH bug.
3336
3337 Tue Sep 8 17:29:27 1992 K. Richard Pixley (rich@sendai.cygnus.com)
3338
3339 * Makefile.in: since there are no SUBDIRS, remove rule and
3340 references of subdir_do.
3341
3342 Tue Sep 8 17:02:58 1992 Ken Raeburn (raeburn@cambridge.cygnus.com)
3343
3344 * Makefile.in (install): Get the library name right here too.
3345 Don't install bfd.h, since it's unrelated to this library. No
3346 subdirs to recurse into, either.
3347 (CFILES): The source file has a .c suffix, not .o.
3348
3349 * sparc-opc.c: New file, moved from BFD.
3350 * Makefile.in (OFILES): Build it.
3351
3352 Thu Sep 3 16:59:20 1992 Michael Werner (mtw@cygnus.com)
3353
3354 * z8k-dis.c: fixed forward refferences of some declarations.
3355
3356 Mon Aug 31 16:09:45 1992 Michael Werner (mtw@cygnus.com)
3357
3358 * Makefile.in: get the name of the library right
3359
3360 Mon Aug 31 13:47:35 1992 Steve Chamberlain (sac@thepub.cygnus.com)
3361
3362 * z8k-dis.c: knows how to disassemble z8k stuff
3363 * z8k-opc.h: new file full of z8000 opcodes
3364
3365 \f
3366 Local Variables:
3367 version-control: never
3368 End: