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