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