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