be2f8a0869975b9bd2ed3f77db371d418829c2cb
[deliverable/binutils-gdb.git] / opcodes / ChangeLog
1 2003-08-06 Nick Clifton <nickc@redhat.com>
2
3 * po/fr.po: Updated French translation.
4
5 2003-08-05 Nick Clifton <nickc@redhat.com>
6
7 * configure.in (ALL_LINGUAS): Add nl.
8 * configure: Regenerate.
9 * po/nl.po: New Dutch translation.
10
11 2003-07-30 Jason Eckhardt <jle@rice.edu>
12
13 * i860-dis.c: Convert to ISO C90. Remove superflous prototypes.
14
15 2003-07-30 Nick Clifton <nickc@redhat.com>
16
17 * po/ro.po: Updated Romanian translation.
18
19 2003-07-29 Jakub Jelinek <jakub@redhat.com>
20
21 * ppc-opc.c (insert_mbe, extract_mbe): Shift 1L instead of 1 up.
22
23 2003-07-24 Nick Clifton <nickc@redhat.com>
24
25 * po/fr.po: Updated French translation.
26
27 2003-07-18 Nick Clifton <nickc@redhat.com>
28
29 * arm-dis.c (parse_arm_disassembler_option): Do not expect
30 option string to be NUL terminated.
31 (parse_disassembler_options): Allow options to be space or
32 comma separated.
33
34 2003-07-17 Nick Clifton <nickc@redhat.com>
35
36 * po/es.po: New Spanish translation.
37 * po/sv.po: New Swedish translation.
38 * po/opcodes.pot: Regenerate.
39
40 2003-07-15 Richard Sandiford <rsandifo@redhat.com>
41
42 * mips-dis.c (mips_arch_choices): Add rm7000 and rm9000 entries.
43
44 2003-07-14 Nick Clifton <nickc@redhat.com>
45
46 * po/tr.po: Update with latest version.
47 * po/POTFILES.in: Regenerate.
48 * Makefile.in: Regenerate.
49
50 2003-07-11 Alan Modra <amodra@bigpond.net.au>
51
52 * po/opcodes.pot: Regenerate.
53
54 2003-07-09 Alexandre Oliva <aoliva@redhat.com>
55
56 2000-05-25 Alexandre Oliva <aoliva@cygnus.com>
57 * m10300-dis.c (disassemble): Negate negative accumulator's shift.
58 2000-05-24 Alexandre Oliva <aoliva@cygnus.com>
59 * m10300-dis.c (disassemble, case FSREG, FDREG): Don't assume
60 32-bit longs when sign-extending operands.
61 2000-04-20 Alexandre Oliva <aoliva@cygnus.com>
62 * m10300-opc.c: Remove MN10300_OPERAND_RELAX from all FSREGs.
63 * m10300-dis.c (HAVE_AM33_2): Define.
64 (disassemble): Use it.
65 (HAVE_AM33): Redefine.
66 (print_insn_mn10300): Fix mask for 5-byte extended insns.
67 2000-04-01 Alexandre Oliva <aoliva@cygnus.com>
68 * m10300-opc.c: Renamed AM332 to AM33_2.
69 2000-03-31 Alexandre Oliva <aoliva@cygnus.com>
70 * m10300-opc.c: Defined AM33 2.0 register operands. Added support
71 for AM33 2.0 `imm8,(abs16)' addressing mode for btst, bset and
72 bclr. Implemented `fbCC', `flCC', `dcpf' and all FP insns.
73 * m10300-dis.c (print_insn_mn10300): Recognize 5byte extended
74 insn code of AM33 2.0.
75 (disassemble): Recognize FMT_D3. Print out FP register names.
76
77 2003-07-09 Chris Demetriou <cgd@broadcom.com>
78
79 * mips-dis.c (set_default_mips_dis_options): Get BFD from
80 the disassembler_info's section, rather than from the
81 disassembler_info's symbols pointer.
82
83 2003-07-07 Alan Modra <amodra@bigpond.net.au>
84
85 * ppc-opc.c: Remove NULL pointer checks. Formatting. Remove
86 extraneous ATTRIBUTE_UNUSED.
87 * ppc-dis.c (print_insn_powerpc): Always pass a valid address to
88 operand->extract.
89
90 2003-07-04 Alan Modra <amodra@bigpond.net.au>
91
92 * ppc-opc.c: Convert to C90, removing unnecessary prototypes and
93 casts. Formatting.
94
95 * ppc-opc.c: Remove PARAMS from prototypes.
96 (FXM4): Define.
97 (insert_fxm): New function, used by both FXM and FXM4.
98 (extract_fxm): Likewise.
99 (XFXFXM_MASK): Remove 1 << 20 term.
100 (powerpc_opcodes): Add Power4 version of "mfcr". Simplify "mtcr" mask.
101
102 2003-07-01 Martin Schwidefsky <schwidefsky@de.ibm.com>
103
104 * s390-dis.c (s390_extract_operand): Add support for long displacements.
105 * s390-mkopc.c (s390_opcode_cpu_val): Add support for cpu type z990.
106 * s390-opc.c (D20_20): Add define for 20 bit displacements.
107 (INSTR_RRF_R0RR, INSTR_RSL_R0RD, INSTR_RSY_RRRD, INSTR_RSY_RURD,
108 INSTR_RSY_AARD, INSTR_RXY_RRRD, INSTR_RXY_FRRD, INSTR_SIY_URD): Add
109 new instruction formats.
110 (MASK_RRF_R0RR, MASK_RSL_R0RD, MASK_RSY_RRRD, MASK_RSY_RURD,
111 MASK_RSY_AARD, MASK_RXY_RRRD, MASK_RXY_FRRD, MASK_SIY_URD): Likewise.
112 (s390_opformats): Likewise.
113 * s390-opc.txt: Add new instructions for cpu type z990. Add missing
114 hfp instructions. Add missing instructions pgin, pgout and xsch.
115
116 2003-06-23 H.J. Lu <hongjiu.lu@intel.com>
117
118 * i386-dis.c (PNI_Fixup): New. Fix up "mwait" and "monitor" in
119 Intel Precott New Instructions.
120 (PREGRP27): New. Added for "addsubpd" and "addsubps".
121 (PREGRP28): New. Added for "haddpd" and "haddps".
122 (PREGRP29): New. Added for "hsubpd" and "hsubps".
123 (PREGRP30): New. Added for "movsldup" and "movddup".
124 (PREGRP31): New. Added for "movshdup" and "movhpd".
125 (PREGRP32): New. Added for "lddqu".
126 (dis386_twobyte): Use PREGRP30 to replace the "movlpX" entry.
127 Use PREGRP31 to replace the "movhpX" entry. Use PREGRP28 for
128 entry 0x7c. Use PREGRP29 for entry 0x7d. Use PREGRP27 for
129 entry 0xd0. Use PREGRP32 for entry 0xf0.
130 (twobyte_has_modrm): Updated.
131 (twobyte_uses_SSE_prefix): Likewise.
132 (grps): Use PNI_Fixup in the "sidtQ" entry.
133 (prefix_user_table): Add PREGRP27, PREGRP28, PREGRP29, PREGRP30,
134 PREGRP31 and PREGRP32.
135 (float_mem): Use "fisttp{l||l|}" in entry 1 in opcode 0xdb.
136 Use "fisttpll" in entry 1 in opcode 0xdd.
137 Use "fisttp" in entry 1 in opcode 0xdf.
138
139 2003-06-19 Christian Groessler <chris@groessler.org>
140
141 * z8k-dis.c (instr_data_s): Change tabl_index from long to int.
142 (print_insn_z8k): Correctly check return value from
143 z8k_lookup_instr call.
144 (unparse_instr): Handle CLASS_IRO case.
145 * z8kgen.c: Fix function definitions. Fix formatting.
146 (opt): Add brk opcode alias for non-simulator breakpoint. Add
147 missing and fix existing in/out and sin/sout opcode definitions.
148 (args): "@ri", "@ro" - add CLASS_IRO register usage for in/out
149 opcodes.
150 (internal): Check p->flags for non-zero before dereferencing it.
151 (gas): Add CLASS_IRO line. Insert new OPC_xxx lines for the added
152 opcodes and renumber the remaining lines repectively.
153 (main): Remove "-d" command line switch.
154 * z8k-opc.h: Regenerate with new z8kgen.c.
155
156 2003-06-11 H.J. Lu <hongjiu.lu@intel.com>
157
158 * po/Make-in (DESTDIR): New.
159 (install-data-yes): Support $(DESTDIR).
160 (uninstall): Likewise.
161
162 2003-06-11 Alan Modra <amodra@bigpond.net.au>
163
164 * Makefile.am: Run "make dep-am".
165 * Makefile.in: Regenerate.
166 * po/POTFILES.in: Regenerate.
167
168 2003-06-10 Doug Evans <dje@sebabeach.org>
169
170 * cgen-asm.in (@arch@_cgen_assemble_insn): CGEN_INSN_RELAX renamed to
171 CGEN_INSN_RELAXED.
172 * fr30-asm.c,fr30-desc.c,fr30-desc.h: Regenerate.
173 * frv-asm.c,frv-desc.c,frv-desc.h: Regenerate.
174 * ip2k-asm.c,ip2k-desc.c,ip2k-desc.h: Regenerate.
175 * iq2000-asm.c,iq2000-desc.c,iq2000-desc.h: Regenerate.
176 * m32r-asm.c,m32r-desc.c,m32r-desc.h,m32r-opc.c: Regenerate.
177 * openrisc-asm.c,openrisc-desc.c,openrisc-desc.h: Regenerate.
178 * xstormy16-asm.c,xstormy16-desc.c,xstormy16-desc.h: Regenerate.
179
180 2003-06-10 Gary Hade <garyhade@us.ibm.com>
181 Alan Modra <amodra@bigpond.net.au>
182
183 * ppc-opc.c (DQ, RAQ, RSQ, RTQ): Define.
184 (insert_dq, extract_dq, insert_raq, insert_rtq, insert_rsq): New.
185 (powerpc_opcodes): Add "attn", "lq" and "stq".
186
187 2003-06-10 Richard Sandiford <rsandifo@redhat.com>
188
189 * h8300-dis.c (bfd_h8_disassemble): Don't print brackets round
190 rts/l and rte/l register lists.
191
192 2003-06-03 Nick Clifton <nickc@redhat.com>
193
194 * frv-desc.c: Regenerate.
195 * frv-opc.c: Regenerate.
196 * frv-asm.c: Regenerate.
197 * frv-desc.h: Regenerate.
198 * frv-dis.c: Regenerate.
199 * frv-ibld.c: Regenerate.
200 * frv-opc.h: Regenerate.
201 * po/opcodes.pot: Regenerate.
202
203 2003-06-03 Michael Snyder <msnyder@redhat.com>
204 and Bernd Schmidt <bernds@redhat.com>
205 and Alexandre Oliva <aoliva@redhat.com>
206
207 * disassemble.c (disassembler): Add support for h8300sx.
208 * h8300-dis.c: Ditto.
209
210 2003-06-03 Nick Clifton <nickc@redhat.com>
211
212 * frv-desc.c: Regenerate.
213 * frv-opc.c: Regenerate.
214
215 * aclocal.m4: Regenerate.
216 * config.in: Regenerate.
217 * configure: Regenerate.
218 * iq2000-asm.c: Regenerate.
219 * iq2000-desc.c: Regenerate.
220 * iq2000-desc.h: Regenerate.
221 * iq2000-dis.c: Regenerate.
222 * iq2000-ibld.c: Regenerate.
223 * iq2000-opc.c: Regenerate.
224 * iq2000-opc.h: Regenerate.
225 * po/POTFILES.in: Regenerate.
226 * po/opcodes.pot: Regenerate.
227
228 2003-05-23 Jason Eckhardt <jle@rice.edu>
229
230 * i860-dis.c (crnames): Add bear, ccr, p0, p1, p2, p3.
231 (print_insn_i860): Grab 4 bits of the control register field
232 instead of 3.
233
234 2003-05-18 Jason Eckhardt <jle@rice.edu>
235
236 * i860-dis.c (print_insn_i860): Instruction shrd has a dual bit,
237 print it.
238
239 2003-05-17 Andreas Jaeger <aj@suse.de>
240
241 * Makefile.am (libopcodes_la_LIBADD): Add libbfd.la.
242 (libopcodes_la_DEPENDENCIES): Add libbfd.la.
243 * Makefile.in: Regenerated.
244
245 2003-05-16 Nick Clifton <nickc@redhat.com>
246
247 * configure.in (ALL_LINGUAS): Add Romanian translation.
248 * configure: Regenerate.
249 * po/ro.po: New file: Romanian translation.
250
251 2003-05-12 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
252
253 * disassemble.c (disassembler): Add support for h8300hn and h8300sn.
254
255 2003-05-09 Alan Modra <amodra@bigpond.net.au>
256
257 * i386-dis.c (print_insn): Test intel_syntax against (char) -1 in
258 case char is unsigned.
259
260 2003-05-01 Christian Groessler <chris@groessler.org>
261
262 * z8k-dis.c (z8k_lookup_instr): Optimize FETCH_DATA calls.
263 (unpack_instr): Fix representation of segmented addresses.
264 (intr_name): Added, contains names of the parameters to the EI/DI
265 instructions.
266 (unparse_instr): Fix display of EI/DI parameters.
267
268 2003-04-22 Doug Evans <dje@sebabeach.org>
269
270 * fr30-desc.c,fr30-desc.h,fr30-opc.c,fr30-opc.h: Regenerate.
271 * frv-desc.c,frv-desc.h,frv-opc.c,frv-opc.h: Regenerate.
272 * ip2k-desc.c,ip2k-desc.h,ip2k-opc.c,ip2k-opc.h: Regenerate.
273 * m32r-desc.c,m32r-desc.h,m32r-opc.c,m32r-opc.h: Regenerate.
274 * m32r-opinst.c: Regenerate.
275 * openrisc-desc.c,openrisc-desc.h,openrisc-opc.c,openrisc-opc.h: Regenerate.
276 * xstormy16-desc.c,xstormy16-desc.h,xstormy16-opc.c,xstormy16-opc.h: Regenerate.
277
278 2003-04-15 Rohit Kumar Srivastava <rohits@kpitcummins.com>
279
280 * h8500-opc.c: Replace occurrances of 'Hitachi' with 'Renesas'.
281
282 2003-04-07 James E Wilson <wilson@tuliptree.org>
283
284 * ia64-ic.tbl (fr-readers): Add mem-writers-fp.
285 * ia64-asmtab.c: Regenerate.
286
287 2003-04-08 Alexandre Oliva <aoliva@redhat.com>
288
289 * mips-dis.c (mips_gpr_names_newabi): Reverted previous patch.
290
291 2003-04-07 Alexandre Oliva <aoliva@redhat.com>
292
293 * mips-dis.c (mips_gpr_names_newabi): $12-$15 are named $t4-$t7.
294
295 2003-04-04 Svein E. Seldal <Svein.Seldal@solidas.com>
296
297 * tic4x-dis.c: Namespace cleanup. Replace s/c4x/tic4x and
298 s/c3x/tic3x/
299
300 2003-04-01 Nick Clifton <nickc@redhat.com>
301
302 * arm-dis.c: Remove presence of (r) and (tm) symbols.
303 * arm-opc.h: Remove presence of (r) and (tm) symbols.
304
305 2003-03-25 Stan Cox <scox@redhat.com>
306 Nick Clifton <nickc@redhat.com>
307
308 Contribute support for Intel's iWMMXt chip - an ARM variant:
309
310 * arm-dis.c (regnames): Add iWMMXt register names.
311 (set_iwmmxt_regnames): New function.
312 (print_insn_arm): Handle iWMMXt formatters.
313 * arm-opc.h: Document iWMMXt formatters.
314 (arm_opcod): Add iWMMXt instructions.
315
316 2003-03-22 Doug Evans <dje@sebabeach.org>
317
318 * i386-dis.c (dis386): Recognize icebp (0xf1).
319
320 2003-03-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
321
322 * s390-dis.c (init_disasm): Rename S390_OPCODE_ESAME to
323 S390_OPCODE_ZARCH.
324 (print_insn_s390): Use new modes field of s390_opcodes.
325 * s390-mkopc.c (ARCHBITS_ESAONLY, ARCHBITS_ESA, ARCHBITS_ESAME): Remove.
326 (s390_opcode_mode_val, s390_opcode_cpu_val): New enums.
327 (struct op_struct): Remove archbits. Add mode_bits and min_cpu.
328 (insertOpcode): Replace archbits by min_cpu and mode_bits.
329 (dumpTable): Write mode_bits and min_cpu instead of archbits.
330 (main): Adapt to new format in s390-opcode.txt.
331 * s390-opc.c (s390_opformats): Replace archbits by min_cpu and
332 mode_bits.
333 * s390-opc.txt: Replace archbits by min_cpu and mode_bits.
334
335 2003-03-17 Nick Clifton <nickc@redhat.com>
336
337 * ppc-opc.c: Fix formatting. Update copyright date.
338
339 2003-03-14 Daniel Jacobowitz <drow@mvista.com>
340
341 * ppc-opc.c (powerpc_opcodes): Readd tlbre for PPC403.
342
343 2003-02-25 Alan Modra <amodra@bigpond.net.au>
344
345 * hppa-dis.c: Formatting.
346
347 2003-02-25 Matthew Wilcox <willy@debian.org>
348
349 * hppa-dis.c (print_insn_hppa): Implement fcnv instruction modifiers.
350
351 * hppa-dis.c (print_insn_hppa <2 bit space register>): Do not print
352 the space register when the value is zero.
353
354 2003-02-23 Elias Athanasopoulos <elathan@phys.uoa.gr>
355
356 * mips-dis.c (print_mips_disassembler_options): Make 'i' unsigned,
357 use ARRAY_SIZE in loops.
358
359 2003-02-12 Dave Brolley <brolley@redhat.com>
360
361 * fr30-desc.c: Regenerate.
362
363 2003-02-06 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com>
364
365 * i386-dis.c (dq_mode, Edq): Define.
366 (dis386_twobyte): Correct movd operands.
367 (OP_E): Handle dq_mode case.
368
369 2003-01-29 Henric Jungheim <henric@attbi.com>
370
371 * sparc-dis.c (print_insn_sparc): When examining values added in
372 to rs1, make sure that there are previous instructions.
373
374 2003-01-23 Nick Clifton <nickc@redhat.com>
375
376 * Add sh2e support:
377
378 2002-04-02 Alexandre Oliva <aoliva@redhat.com>
379
380 * sh-dis.c (print_insn_shx): Handle bfd_mach_sh2e.
381 * sh-opc.h (arch_sh2e, arch_sh2e_up): New.
382 (arch_sh2_up): Added sh2e.
383 (sh_table): Replaced all occurrences of arch_sh3e_up with
384 arch_sh2e_up, except in fsqrt.
385
386 2003-01-23 Alan Modra <amodra@bigpond.net.au>
387
388 * sh64-dis.c: Include elf32-sh64.h.
389 * Makefile.am: Run "make dep-am".
390 * Makefile.in: Regenerate.
391
392 2003-01-17 Richard Henderson <rth@redhat.com>
393
394 * alpha-opc.c (alpha_opcodes): Add bugchk, rduniq, wruniq, gentrap
395 PAL entry points.
396
397 2003-01-16 Alan Modra <amodra@bigpond.net.au>
398
399 * Makefile.am: Run "make dep-am".
400 * Makefile.in: Regenerate.
401 * po/POTFILES.in: Regenerate.
402
403 2003-01-08 Klee Dienes <kdienes@apple.com>
404
405 * Makefile.am (ALL_MACHINES): Add msp430-dis.lo.
406 * Makefile.in: Regenerate.
407
408 2003-01-08 Alan Modra <amodra@bigpond.net.au>
409
410 * ppc-opc.c (powerpc_macros <extrwi>): Accept a shift of 32.
411
412 2002-01-02 Ben Elliston <bje@redhat.com>
413 Jeff Johnston <jjohnstn@redhat.com>
414
415 * iq2000-asm.c: New file.
416 * iq2000-desc.c: Likewise.
417 * iq2000-desc.h: Likewise.
418 * iq2000-dis.c: Likewise.
419 * iq2000-ibld.c: Likewise.
420 * iq2000-opc.c: Likewise.
421 * iq2000-opc.h: Likewise.
422 * Makefile.am (HFILES): Add iq2000-desc.h, iq2000-opc.h.
423 (CFILES): Add iq2000-asm.c, iq2000-desc.c, iq2000-dis.c,
424 iq2000-ibld.c, iq2000-opc.c.
425 (ALL_MACHINES): Add iq2000-asm.lo, iq2000-desc.lo, iq2000-dis.lo,
426 iq2000-ibld.lo, iq2000-opc.lo.
427 (CLEANFILES): Add stamp-iq2000.
428 (IQ2000_DEPS): New macro.
429 (stamp-iq2000): New target.
430 * Makefile.in: Regenerate.
431 * configure.in: Handle bfd_iq2000_arch.
432 * configure: Regenerate.
433
434 2003-01-02 Chris Demetriou <cgd@broadcom.com>
435
436 * mips-dis.c (print_insn_args): Use position extracted by "+A"
437 to calculate size for "+B". Redo code for "+C" so it shares
438 the same style as "+A" and "+B" now do.
439
440 2003-01-02 Chris Demetriou <cgd@broadcom.com>
441
442 * mips-dis.c: Update copyright years.
443 (print_insn_arg): Rename to...
444 (print_insn_args): This, returning void. Process the whole
445 string of args rather than a single one. Reindent.
446 (print_insn_mips): Update to match the above.
447
448 2002-12-31 Chris Demetriou <cgd@broadcom.com>
449
450 * mips-opc.c (mips_builtin_opcodes): Move "di" into the
451 right order alphabetically, and make all hex constants use
452 lower-case letters.
453
454 2002-12-31 Chris Demetriou <cgd@broadcom.com>
455
456 * mips-dis.c (mips_cp0sel_name): New structure.
457 (mips_cp0sel_names_mips3264, mips_cp0sel_names_mips3264r2)
458 (mips_cp0sel_names_sb1): New arrays.
459 (mips_arch_choice): New structure members "cp0sel_names" and
460 "cp0sel_names_len".
461 (mips_arch_choices): Add references to new cp0sel_names arrays
462 as appropriate, and make all existing entries reference
463 appropriate mips_XXX_names_numeric arrays rather than simply
464 using NULL.
465 (mips_cp0sel_names, mips_cp0sel_names_len): New variables.
466 (lookup_mips_cp0sel_name): New function.
467 (set_default_mips_dis_options): Set mips_cp0sel_names and
468 mips_cp0sel_names_len as appropriate. Remove now-unnecessary
469 checks for NULL register name arrays.
470 (parse_mips_dis_option): Likewise.
471 (print_insn_arg): Handle "+D" operand type.
472 * mips-opc.c (mips_builtin_opcodes): Add new "+D" variants
473 of mfc0, mtc0, dmfc0, and dmtc0 to print CP0+sel register
474 names symbolically.
475
476 2002-12-30 Chris Demetriou <cgd@broadcom.com>
477
478 * mips-dis.c (mips_cp0_names_mips3264r2, mips_hwr_names_numeric)
479 (mips_hwr_names_mips3264r2): New arrays.
480 (mips_arch_choice): New "hwr_names" member.
481 (mips_arch_choices): Adjust for structure change, and add a new
482 entry for "mips32r2" ISA.
483 (mips_hwr_names): New variable.
484 (set_default_mips_dis_options): Set mips_hwr_names.
485 (parse_mips_dis_option): New "hwr-names" option which sets
486 mips_hwr_names, and adjust "reg-names=ARCH" to set mips_hwr_names.
487 (print_insn_arg): Change return type to "int"
488 and use that to indicate number of characters consumed.
489 Add support for "+" operand extension character, "+A", "+B",
490 "+C", and "K" operands.
491 (print_insn_mips): Adjust for changes to print_insn_arg.
492 (print_mips_disassembler_options): Adjust for "hwr-names"
493 addition and "reg-names" change.
494 * mips-opc (I33): New define (shorthand for INSN_ISA32R2).
495 (mips_builtin_opcodes): Note that "nop" and "ssnop" are special
496 forms of "sll". Add new MIPS32 Release 2 instructions: ehb,
497 di, ei, ext, ins, jr.hb, jalr.hb, mfhc1, mfhc2, mthc1, mthc2,
498 rdhwr, rdpgpr, seb, seh, synci, wrpgpr, wsbh.
499 Note that hardware rotate instructions (ror, rorv) can be
500 used on MIPS32 Release 2, and add the official mnemonics
501 for them (rotr, rotrv) and the similar "rotl" mnemonic for
502 left-rotate.
503
504 2002-12-30 Dmitry Diky <diwil@mail.ru>
505
506 * configure.in: Add msp430 target.
507 * configure: Regenerate.
508 * disassemble.c: Add entry for msp430 disassembly.
509 * msp430-dis.c: New file: msp430 disassembler.
510
511 2002-12-27 Chris Demetriou <cgd@broadcom.com>
512
513 * disassemble.c (disassembler_usage): Add invocation of
514 print_mips_disassembler_options.
515 * mips-dis.c: Include libiberty.h.
516 (print_mips_disassembler_options, set_default_mips_dis_options)
517 (parse_mips_dis_option, parse_mips_dis_options, choose_abi_by_name)
518 (choose_arch_by_name, choose_arch_by_number): New functions.
519 (mips_abi_choice, mips_arch_choice): New structures.
520 (mips32_reg_names, mips64_reg_names, reg_names): Remove.
521 (mips_gpr_names_numeric, mips_gpr_names_oldabi)
522 (mips_gpr_names_newabi, mips_fpr_names_numeric)
523 (mips_fpr_names_32, mips_fpr_names_n32, mips_fpr_names_64)
524 (mips_cp0_names_numeric, mips_cp0_names_mips3264)
525 (mips_cp0_names_sb1, mips_abi_choices, mips_arch_choices)
526 (mips_processor, mips_isa, mips_gpr_names, mips_fpr_names)
527 (mips_cp0_names): New variables.
528 (print_insn_args): Use new variables to print GPR, FPR, and CP0
529 register names.
530 (mips_isa_type): Remove.
531 (print_insn_mips): Remove ISA and CPU setup since it is now done...
532 (_print_insn_mips): Here. Remove register setup code, and
533 call set_default_mips_dis_options and parse_mips_dis_options
534 instead.
535 (print_mips16_insn_arg): Use mips_gpr_names instead of mips32_names.
536
537 2002-12-23 Alan Modra <amodra@bigpond.net.au>
538
539 * Makefile.in: Regenerate.
540
541 2002-12-19 Nick Kelsey <nickk@ubicom.com>
542
543 * cgen-asm.c (cgen_parse_keyword): Added underscore to symbol character
544 check to fix false keyword trigger with names such as <keyword>_foo.
545
546 2002-12-19 Doug Evans <dje@sebabeach.org>
547
548 * Makefile.am (CGEN_CPUS): New variable.
549 (run-cgen-all): New rule.
550 * Makefile.in: Regenerate.
551
552 2002-12-18 Chris Demetriou <cgd@broadcom.com>
553
554 * mips-opc.c (mips_builtin_opcodes): Remove one "ror" and two
555 "dror" entries, and reorder the remaining "dror" and "ror" entries.
556
557 2002-12-16 DJ Delorie <dj@delorie.com>
558
559 * xstormy16-asm.c (parse_immediate16): Add prototype.
560
561 2002-12-16 Andrew MacLeod <amacleod@redhat.com>
562
563 * xstormy16-asm.c: Regenerate.
564
565 2002-12-16 Alan Modra <amodra@bigpond.net.au>
566
567 * ns32k-dis.c (print_insn_ns32k): Constify "d", remove register
568 keyword.
569
570 2002-12-13 Alan Modra <amodra@bigpond.net.au>
571
572 * h8500-opc.h (h8500_table): Add missing initializers to quiet
573 warnings.
574 * pj-dis.c (print_insn_pj): Adjust for pj_opc_info_t change.
575 * pj-opc.c (pj_opc_info): Add braces around union initializer.
576 * z8kgen.c: Include "libiberty.h".
577 (opt, args, toks): Fix initializer warnings.
578 (chewname): Make "name" a char **. Return mnemonic trimmed of
579 operands.
580 (gas): Improve emitted "DO NOT EDIT" warning. Format emitted
581 opcode_entry_type, and make "nicename" and "name" const. Make
582 z8k_table const too. Formatting. Generate idx as gas needs it.
583 * z8k-opc.h: Regenerate.
584
585 2002-12-08 Stephane Carrez <stcarrez@nerim.fr>
586
587 * m68hc11-dis.c (print_indexed_operand): Fix PC-relative address
588 for 9 and 16-bit PC-relative addressing mode.
589
590 2002-12-05 Aldy Hernandez <aldyh@redhat.com>
591
592 * ppc-opc.c: Delete evsabs, evsnabs, evsneg, evsadd, evssub,
593 evsmul, evsdiv, evscmpgt, evsgmplt, evststgt, evtstlt, evststeq,
594 evscfui, evscfsi, evscfuf, evscfsf, evsctui, evsctuiz, evsctsi,
595 evsctsiz, evsctuf, evsctsf, evmwhssfaa, evmwhssmaa, evmwhsmfaa,
596 evmwhsmiaa, evmwhusiaa, evmwhumiaa, evmwhssfan, evmwhssian,
597 evmwhsmfan, evmwhsmian, evmwhusian, evmwhumian, evmwhgssfaa,
598 evmwhgsmfaa, evmwhgsmiaa, evmwhgumiaa, evmwhgssfan, evmwhgsmfan,
599 evmwhgsmian, evmwhgumian.
600 (mftb): Add to opcode table.
601 (mtspefscr): Change RT to RS in opcode table.
602
603 2002-12-05 Aldy Hernandez <aldyh@redhat.com>
604
605 * ppc-opc.c: Move mbar and msync up. Change mask for mbar and
606 msync.
607
608 2002-12-04 David Mosberger <davidm@hpl.hp.com>
609
610 * ia64-opc-d.c (ia64_opcodes_d): Add "hint" instruction.
611 * ia64-opc-b.c: Add "hint.b" instruction.
612 * ia64-opc-f.c: Add "hint.f" instruction.
613 * ia64-opc-i.c: Add "hint.i" instruction.
614 * ia64-opc-m.c: Add "hint.m", "fc.i", "ld16", "st16", and
615 "cmp8xchg16" instructions.
616 * ia64-opc-x.c: Add "hint.x" instruction.
617
618 * ia64-opc.h (AR_CSD): New macro.
619
620 * ia64-ic.tbl: Update according to SDM2.1.
621 * ia64-raw.tbl: Ditto.
622 * ia64-waw.tbl: Ditto.
623
624 * ia64-gen.c (in_iclass): Handle "hint" like "nop".
625 (lookup_regindex): Recognize AR[FCR], AR[EFLAG], AR[CSD],
626 AR[SSD], AR[CFLG], AR[FSR], AR[FIR], and AR[FDR].
627 * ia64-asmtab.c: Regenerate.
628
629 2002-11-25 Aldy Hernandez <aldyh@redhat.com>
630
631 * ppc-opc.c: Remove evmwlssf, evmwlssfa, evmwlsmf, evmwlsmfa,
632 evmwlssfaaw, evmwlsmfaaw, evmwlssfanw, evmwlsfanw.
633
634 2002-12-04 Aldy Hernandez <aldyh@redhat.com>
635
636 * ppc-opc.c (PMRN): Remove.
637 (RA): Set to NB + 1.
638 (powerpc_opcodes): Change PMRN to SPR.
639 Change all RD to RS.
640 Change mftb to look like mftbl.
641 Move mftb before mftbl.
642 Add mfbbtar.
643 Add mtbbtar.
644 Change mfpmr to use PMR.
645 Change mtpmr to use PMR.
646 (RD): Remove.
647 (insert_ev2): Fix mask and shift.
648 (extract_ev2): Same.
649 (insert_ev4): Same.
650 (extract_ev4): Same.
651 (PMR): Define.
652 (extract_pmrn): Remove.
653 (insert_pmrn): Remove.
654
655 2002-12-03 Richard Henderson <rth@redhat.com>
656
657 * ia64-opc-m.c: Add ld8.mov.
658 * ia64-asmtab.c: Regenerate.
659
660 2002-12-02 Alan Modra <amodra@bigpond.net.au>
661
662 * arm-dis.c (print_insn_arm): Constify "insn". Formatting.
663 (print_insn_thumb): Likewise.
664 * h8500-dis.c (print_insn_h8500): Constify "opcode".
665 * mcore-dis.c (print_insn_mcore): Constify "op". Formatting.
666 * ns32k-dis.c (print_insn_arg <case 'F'>): Use a union to avoid
667 type-punned pointer warnings.
668 <case 'L'>: Likewise. Fix error message too.
669 * pdp11-dis.c (print_reg): Warning fix.
670 * sh-dis.c (print_movxy): Constify "op" param.
671 (print_insn_ddt): Constify sh_opcode_info vars.
672 (print_insn_ppi): Likewise.
673 (print_insn_sh): Likewise.
674 * tic30-dis.c (cnvt_tmsfloat_ieee): Use a union to avoid
675 type-punned pointer warnings.
676 * w65-dis.c (print_insn_w65): Constify "op".
677
678 2002-12-01 Stephane Carrez <stcarrez@nerim.fr>
679
680 * m68hc11-dis.c (PC_REGNUM): Define.
681 (print_indexed_operand): Need an adjustment for some PC-relative
682 operand modes; print the final address of PC-relative modes.
683 (print_insn): Take into account movw/movb to adjust the PC-relative
684 operand addresses.
685
686 2002-11-30 Alan Modra <amodra@bigpond.net.au>
687
688 *arm-dis.c, cris-dis.c, h8300-dis.c, mips-dis.c, mmix-dis.c, sh-dis.c,
689 sh64-dis.c, v850-dis.c: Replace boolean with bfd_boolean, true with
690 TRUE, false with FALSE. Simplify comparisons of bfd_boolean vars
691 with TRUE/FALSE. Formatting.
692
693 2002-11-25 DJ Delorie <dj@redhat.com>
694
695 * xstormy16-opc.c: Regenerate.
696
697 2002-11-25 Jim Wilson <wilson@redhat.com>
698
699 * ia64-dis.c (print_insn_ia64): Correct handling of IA64_OPND_TGT64.
700
701 2002-11-15 DJ Delorie <dj@redhat.com>
702
703 * xstormy16-desc.c: Regenerate.
704 * xstormy16-opc.c: Regenerate.
705 * xstormy16-opc.h: Regenerate.
706
707 2002-11-18 Klee Dienes <kdienes@apple.com>
708
709 * avr-dis.c: Include libiberty.h (for xmalloc).
710 (struct avr_opcodes_s): Remove 'bin_mask' field (it's
711 automatically computed in the init routine).
712 (AVR_INSN): No longer provide bin_mask field in initializer.
713 (avr_opcodes_s): Declare as const.
714 (print_insn_avr): Store the bin_mask field in a separate table
715 (allocated with xmalloc); iterate through it at the same time as
716 we iterate through the opcodes.
717
718 2002-11-18 Klee Dienes <kdienes@apple.com>
719
720 * h8300-dis.c: Include libiberty.h (for xmalloc).
721 (struct h8_instruction): New type, used to wrap h8_opcodes with a
722 length field (computed at run-time).
723 (h8_instructions): New variable.
724 (bfd_h8_disassemble_init): Allocate the storage for
725 h8_instructions. Fill h8_instructions with pointers to the
726 appropriate opcode and the correct value for the length field.
727 (bfd_h8_disassemble): Iterate through h8_instructions instead of
728 h8_opcodes.
729
730 2002-11-18 Klee Dienes <kdienes@apple.com>
731
732 * arc-opc.c (arc_ext_opcodes): Define.
733 (arc_ext_operands): Define.
734 * i386-dis.c (Suffix3DNow): Declare as const.
735 * arm-opc.h (arm_opcodes): Declare as const.
736 (thumb_opcodes): Declare as const.
737 * h8500-opc.h (h8500_table): Declare as const.
738 (h8500_table): Use a NULL for the opcode in the terminator, so
739 that code testing (opcode->name) behaves correctly.
740 * mcore-opc.h (mcore_table): Declare as const.
741 * sh-opc.h (sh_table): Declare as const.
742 * w65-opc.h (optable): Declare as const.
743 * z8k-opc.h (z8k_table): Declare as const.
744
745 2002-11-18 Svein E. Seldal <Svein.Seldal@solidas.com>
746
747 * tic4x-dis.c: Added support for enhanced and special insn.
748 (c4x_print_op): Added insn class 'i' and 'j'
749 (c4x_hash_opcode_special): Add to support special insn
750 (c4x_hash_opcode): Update to support the new opcode-list
751 format. Add support for the new special insns.
752 (c4x_disassemble): New opcode-list support.
753
754 2002-11-16 Klee Dienes <kdienes@apple.com>
755
756 * m88k-dis.c: Include libiberty.h (for xmalloc).
757 (HASHTAB): New type, used to build instruction hash tables.
758 Contains a pointer to an INSTAB and a pointer to the next hash
759 chain entry.
760 (instructions): Move definition from m88k.h; remove initialization
761 of 'next' field.
762 (hashtable): Now an aray of pointer-to-HASHTAB, not INSTAB.
763 (printop): Mark pointer to OPSPEC as const.
764 (install): Remove; fold into init_disasm.
765 (m88kdis): Update to ihashtab_initialized to 1 after calling
766 init_disasm. entry_ptr now iterates through HASHTABs, not
767 INSTABs.
768 (init_disasm): Iterate through the instructions and add to
769 hashtable[].
770
771 2002-11-16 Svein E. Seldal <Svein.Seldal@solidas.com>
772
773 * tic4x-dis.c: (c4x_print_op): Add support for the new argument
774 format. Fix bug in 'N' register printer.
775
776 2002-11-12 Segher Boessenkool <segher@koffie.nl>
777
778 * ppc-dis.c (print_insn_powerpc): Correct condition register display.
779
780 2002-11-07 Aldy Hernandez <aldyh@redhat.com>
781
782 * ppc-opc.c (EVUIMM_4): Change bit size to 32.
783 (EVUIMM_2): Same.
784 (EVUIMM_8): Same.
785
786 2002-11-07 Klee Dienes <kdienes@apple.com>
787
788 * Makefile.am (ia64-asmtab.c): Update to use the new '--srcdir'
789 argument to ia64-gen.
790 Regenerate dependencies for ia64-len.lo.
791 * Makefile.in: Regenerate.
792 * ia64-gen.c: Convert to use getopt(). Add the standard GNU
793 options, as well as '--srcdir', which controls the directory in
794 which ia64-gen looks for the sources it uses to generate the
795 output table. Add a 'const' to the declaration of the final
796 output table. Call xmalloc_set_program_name to set the program
797 name.
798 * ia64-asmtab.c: Regenerate.
799
800 2002-11-07 Nick Clifton <nickc@redhat.com>
801
802 * ia64-gen.c: Fix comment formatting and compile time warnings.
803 * ia64-opc-a.c: Fix compile time warnings.
804 * ia64-opc-b.c: Likewise.
805 * ia64-opc-d.c: Likewise.
806 * ia64-opc-f.c: Likewise.
807 * ia64-opc-i.c: Likewise.
808 * ia64-opc-m.c: Likewise.
809 * ia64-opc-x.c: Likewise.
810
811 2002-11-06 Aldy Hernandez <aldyh@redhat.com>
812
813 * ppc-opc.c: Change RD to RS for evmerge*.
814
815 2002-10-07 Nathan Tallent <eraxxon@alumni.rice.edu>
816
817 * sparc-opc.c (sparc_opcodes) <fb, fba, fbe, fbz, fbg, fbge,
818 fbl, fble, fblg, fbn, fbne, fbnz, fbo, fbu, fbue, fbug, fbuge,
819 fbul, fbule>: Add conditional/unconditional branch
820 classification.
821
822 2002-10-13 Stephane Carrez <stcarrez@nerim.fr>
823
824 * m68hc11-dis.c (print_insn): Treat bitmask and branch operands
825 at the end.
826
827 2002-09-30 Gavin Romig-Koch <gavin@redhat.com>
828 Ken Raeburn <raeburn@cygnus.com>
829 Aldy Hernandez <aldyh@redhat.com>
830 Eric Christopher <echristo@redhat.com>
831 Richard Sandiford <rsandifo@redhat.com>
832
833 * mips-dis.c (print_insn_arg): Handle '[', ']', 'e' and '%'.
834 (mips_isa_type): Handle bfd_mach_mips4120, bfd_mach_mips5400
835 and bfd_mach_mips5500.
836 * mips-opc.c (V1): Include INSN_4111 and INSN_4120.
837 (N411, N412, N5, N54, N55): New convenience defines.
838 (mips_builtin_opcodes): Add vr4120, vr5400 and vr5500 opcodes.
839 Change dmadd16 and madd16 from V1 to N411.
840
841 2002-09-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
842
843 * mips-dis.c (print_insn_mips): Always allow disassembly of
844 32-bit jalx opcode.
845
846 2002-09-24 Nick Clifton <nickc@redhat.com>
847
848 * po/de.po: Updated German translation.
849
850 2002-09-21 Alan Modra <amodra@bigpond.net.au>
851
852 * Makefile.am: Run "make dep-am".
853 * Makefile.in: Regenerate.
854 * po/POTFILES.in: Regenerate.
855
856 2002-09-20 Nick Clifton <nickc@redhat.com>
857
858 * ppc-opc.c (CRFD, CRFS): Add PPC_OPERAND_CR flag so that cr
859 register names are accepted.
860
861 2002-09-17 Svein E. Seldal <Svein.Seldal@solidas.com>
862
863 * tic4x-dis.c: Add function declarations and ATTRIBUTE_UNUSED.
864 Convert functions to K&R format.
865
866 2002-09-13 Nick Clifton <nickc@redhat.com>
867
868 * ppc-opc.c (MFDEC2): Include Book-E.
869 (PPCCHLK64): New opcode mask.
870 (evsubw, evsubiw, evmr, evnot, isellt, iselgt, iseleq, mfpid,
871 mfcsrr0, mfcsrr1, mfdear, mfesr, mfivpr, mfusprg0, mftbl,
872 mftbu, mfpir, mfdbsr, mfdbcr0, mfdbcr1, mfdbcr2, mfiac1,
873 mfiac2, mfiac3, mfiac4, mfdac1, mfdac2, mfdvc1, mfdvc2, mftsr,
874 mftcr, mfivor0, mfivor1, mfivor2, mfivor3, mfivor4, mfivor5,
875 mfivor6, mfivor7, mfivor8, mfivor9, mfivor10, mfivor11,
876 mfivor12, mfivor13, mfivor14, mfivor15, mfbbear, mfmcsrr0,
877 mfmcsrr1, mfmcsr, mtpid, mtdecar, mtcsrr0, mtcsrr1, mtdear,
878 mtesr, mtivpr, mtusprg0, mtsprg4, mtsprg5, mtsprg6, mtsprg7,
879 mtdbsr, mtdbcr0, mtdbcr1, mtdbcr2, mtiac1, mtiac2, mtiac3,
880 mtiac4, mtdac1, mtdac2, mtdvc1, mtdvc2, mttsr, mttcr, mtivor0,
881 mtivor1, mtivor2, mtivor3, mtivor4, mtivor5, mtivor6, mtivor7,
882 mtivor8, mtivor9, mtivor10, mtivor11, mtivor12, mtivor13,
883 mtivor14, mtivor15, mtbbear, mtmcsrr0, mtmcsrr1, mtmcsr): New
884 Book-E instructions.
885 (evfsneg): Fix opcode value.
886 (dcbtstlse, dcbtlse, icblce, dcblce, icbtsle): Use PPCCHLK64
887 mask.
888 (mcrxr64, tlbivaxe, tlbsxe, tlbsxe.): Restrict to 64-bit
889 Book-E.
890 (extsw): Restrict to 64-bit PPC instruction sets.
891 (extsw.): Does not exist in 64-bit Book-E.
892 (powerpc_macro): Remove mftbl, mftbu and mftb Book-E macros as
893 they are no longer needed.
894
895 2002-09-12 Gary Hade <garyhade@us.ibm.com>
896
897 * ppc-dis.c (powerpc_dialect): Add missing PPC_OPCODE_CLASSIC.
898
899 2002-09-11 Nick Clifton <nickc@redhat.com>
900
901 * po/da.po: Updated Danish translation file.
902
903 2002-09-04 Nick Clifton <nickc@redhat.com>
904
905 * ppc-opc.c (extsw, extsw.): Do not allow for the BookE32.
906
907 2002-09-04 Nick Clifton <nickc@redhat.com>
908
909 * disassemble.c (disassembler_usage): Add invocation of
910 print_ppc_disassembler_options.
911 * ppc-dis.c (print_ppc_disassembler_options): New function.
912
913 2002-09-04 Nick Clifton <nickc@redhat.com>
914
915 * ppc-opc.c: The BookE implementations of the TLBWE and TLBRE
916 instructions do not take any arguments.
917
918 2002-09-02 Nick Clifton <nickc@redhat.com>
919
920 * v850-opc.c: Remove redundant references to V850EA architecture.
921
922 2002-09-02 Alan Modra <amodra@bigpond.net.au>
923
924 * arc-opc.c: Include bfd.h.
925 (arc_get_opcode_mach): Subtract off base bfd_mach value.
926
927 2002-08-30 Alan Modra <amodra@bigpond.net.au>
928
929 * v850-dis.c (disassemble): Remove bfd_mach_v850ea case.
930
931 * mips-dis.c (_print_insn_mips): Don't use hard-coded mach constants.
932
933 2002-08-28 Svein E. Seldal <Svein.Seldal@solidas.com>
934
935 * configure.in: Added bfd_tic4x_arch.
936 * configure: Regenerate.
937 * Makefile.am: Added tic4x-dis.o target.
938 * Makefile.in: Regenerate.
939
940 2002-08-28 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
941
942 * disassemble.c: Added tic4x target and c4x
943 disassembler routine.
944 * tic4x-dis.c: New file.
945
946 2002-08-16 Christian Groessler <chris@groessler.org>
947
948 * z8k-dis.c (unparse_instr): case CLASS_BA: Designate hex
949 values as those.
950 * z8kgen.c (opt): Fix definition of "in rd,imm16" opcode.
951 * z8k-opc.h: Regenerated with new z8kgen.c.
952
953 2002-08-19 Elena Zannoni <ezannoni@redhat.com>
954
955 From matthew green <mrg@redhat.com>
956
957 * ppc-dis.c (powerpc_dialect): Support `-m500', `-m500x2' and
958 `-mefs'. Turn off AltiVec for E500 and efs.
959 (print_insn_powerpc): Don't print an AltiVec instruction if the
960 dialect is not efs.
961
962 * ppc-opc.c (insert_pmrn, extract_pmrn, insert_ev2, extract_ev2,
963 insert_ev4, extract_ev4, insert_ev8, extract_ev8): New functions
964 for extracting pmrn/evld/evstd/etc operands.
965 (CRB, CRFD, CRFS, DC, RD): New instruction fields.
966 (CT): Make this equal to RD + 1.
967 (PMRN): New operand.
968 (RA): Update.
969 (EVUIMM, EVUIMM_2, EVUIMM_4, EVUIMM_8): New operands.
970 (WS): Update.
971 (EVSEL, EVSEL_MASK): New instruction form and mask for EVSEL.
972 (ISEL, ISEL_MASK): New instruction form and mask for ISEL.
973 (XISEL, XISEL_MASK): New instruction form and mask for ISEL.
974 (CTX, CTX_MASK): New instruction form and mask for context cache
975 instructions.
976 (UCTX, UCTX_MASK): New instruction form and mask for user context
977 cache instructions.
978 (XC, XC_MASK, XUC, XUC_MASK): New instruction forms.
979 (CLASSIC): New define.
980 (PPCESPE): New define.
981 (PPCISEL, , PPCBRLK, PPCPMR, PPCCHLK, PPCRFMI): New
982 defines for integer select, cache control, branch
983 locking, power management, cache locking and machine check
984 APU instructions, respectively.
985 (efsabs, efsnabs, efsneg, efsadd, efssub, efsmul,
986 efsdiv, efscmpgt, efscmplt, efscmpeq, efststgt, efststlt,
987 efststeq, efscfui, efsctuiz, efscfsi, efscfuf, efscfsf,
988 efsctui, efsctsi, efsctsiz, efsctuf, efsctsf,
989 evaddw, evaddiw, evsubfw, evsubifw, evabs, evneg, evextsb,
990 evextsh, evrndw, evcntlzw, evcntlsw, brinc, evand, evandc, evor,
991 evorc, evxor, eveqv, evnand, evnor, evrlw, evrlwi, evslw, evslwi,
992 evsrws, evsrwu, evsrwis, evsrwiu, evsplati, evsplatfi, evmergehi,
993 evmergelo, evmergehilo, evmergelohi, evcmpgts, evcmpgtu, evcmplts,
994 evcmpltu, evcmpeq, evsel, evldd, evlddx, evldw, evldwx, evldh,
995 evldhx, evlwhe, evlwhex, evlwhou, evlwhoux, evlwhos, evlwhosx,
996 evlwwsplat, evlwwsplatx, evlwhsplat, evlwhsplatx, evlhhesplat,
997 evlhhesplatx, evlhousplat, evlhousplatx, evlhossplat, evlhossplatx,
998 evstdd, evstddx, evstdw, evstdwx, evstdh, evstdhx, evstwwe,
999 evstwwex, evstwwo, evstwwox, evstwhe, evstwhex, evstwho, evstwhox,
1000 evfsabs, evfsnabs, evfsneg, evfsadd, evfssub, evfsmul, evfsdiv,
1001 evfscmpgt, evfscmplt, evfscmpeq, evfststgt, evfststlt, evfststeq,
1002 evfscfui, evfsctuiz, evfscfsi, evfscfuf, evfscfsf, evfsctui,
1003 evfsctsi, evfsctsiz, evfsctuf, evfsctsf, evsabs, evsnabs, evsneg,
1004 evsadd, evssub, evsmul, evsdiv, evscmpgt, evsgmplt, evsgmpeq,
1005 evststgt, evststlt, evststeq, evscfui, evscfsi, evscfuf, evscfsf,
1006 evsctui, evsctuiz, evsctsi, evsctsiz, evsctuf, evsctsf, evmhossf,
1007 evmhossfa, evmhosmf, evmhosmfa, evmhosmi, evmhosmia, evmhoumi,
1008 evmhoumia, evmhessf, evmhessfa, evmhesmf, evmhesmfa, evmhesmi,
1009 evmhesmia, evmheumi, evmheumia, evmhossfaaw, evmhossiaaw,
1010 evmhosmfaaw, evmhosmiaaw, evmhousiaaw, evmhoumiaaw, evmhessfaaw,
1011 evmhessiaaw, evmhesmfaaw, evmhesmiaaw, evmheusiaaw, evmheumiaaw,
1012 evmhossfanw, evmhossianw, evmhosmfanw, evmhosmianw, evmhousianw,
1013 evmhoumianw, evmhessfanw, evmhessianw, evmhesmfanw, evmhesmianw,
1014 evmheusianw, evmheumianw, evmhogsmfaa, evmhogsmiaa, evmhogumiaa,
1015 evmhegsmfaa, evmhegsmiaa, evmhegumiaa, evmhogsmfan, evmhogsmian,
1016 evmhogumian, evmhegsmfan, evmhegsmian, evmhegumian, evmwhssf,
1017 evmwhssfa, evmwhssfaa, evmwhssmaa, evmwhsmfaa, evmwhsmiaa,
1018 evmwhusiaa, evmwhumiaa, evmwhssfan, evmwhssian, evmwhsmfan,
1019 evmwhsmian, evmwhusian, evmwhumian, evmwhgssfaa, evmwhgsmfaa,
1020 evmwhgsmiaa, evmwhgumiaa, evmwhgssfan, evmwhgsmfan, evmwhgsmian,
1021 evmwhgumian, evmwhsmf, evmwhsmfa, evmshsmi, evmshsmia, evmshumi,
1022 evmshumia, evmmlssf, evmmlssfa, evmwlsmf, evmwlsmfa, evmwlumi,
1023 evmwlumia, evmwlssfaaw, evmwlssiaaw, evmwlsmfaaw, evmwlsmiaaw,
1024 evmwlusiaaw, evmwlumiaaw, evmwissfanw, evmwissianw, evmwlsmfanw,
1025 evmwlsmianw, evmwlusianw, evmwlumianw, evmwssf, evmwssfa,
1026 evmwsmf, evmwsmfa, evmwsmi, evmwsmia, evmwumi, evmwumia,
1027 evmwssfaa, evmwsmfaa, evmwsmiaa, evmwumiaa, evmwssfan, evmwsmfan,
1028 evmwsmian, evmwumian, evaddssiaaw, evaddsmiaaw, evaddusiaaw,
1029 evaddumiaaw, evsubfssiaaw, evsubfsmiaaw, evsubfusiaaw,
1030 evsubfumiaaw, evmra, evdivws, evdivws): New e500x2 Core Complex
1031 instructions.
1032 (rfmci): New machine check APU instruction.
1033 (isel): New integer select APU instructino.
1034 (icbtls, icbtlse, icblc, icblce, dcbtls, dcbtlse, dcbtstls,
1035 dcbtstlse, dcblc, dcblce): New cache control APU instructions.
1036 (mtspefscr, mfspefscr): New instructions.
1037 (mfpmr, mtpmr): New performance monitor APU instructions.
1038 (savecontext): New context cache APU instructions.
1039 (bblels, bbelr): New branch locking APU instructions.
1040 (bblels, bbelr): New instructions.
1041 (mftbl, mftbu, mftb): Set as CLASSIC instructions. Add BOOKE alias.
1042
1043 2002-08-13 Stephane Carrez <stcarrez@nerim.fr>
1044
1045 * m68hc11-opc.c: Update call operand to accept the page definition.
1046 Identify instructions that are branches and calls to generate a
1047 RL_JUMP relocation.
1048
1049 2002-08-13 Stephane Carrez <stcarrez@nerim.fr>
1050
1051 * m68hc11-dis.c (print_insn): Take into account 68HC12 memory
1052 banks and fix disassembling of call instruction.
1053 (print_indexed_operand): New param to tell whether
1054 it was an indirect addressing operand (for disassembling call).
1055
1056 2002-08-09 Nick Clifton <nickc@redhat.com>
1057
1058 * po/sv.po: Updated Swedish translation.
1059
1060 2002-08-08 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1061
1062 * mips-opc.c (mips_builtin_opcodes): Remove "dla" and "la" as
1063 aliases to "daddiu" and "addiu".
1064
1065 2002-07-30 Nick Clifton <nickc@redhat.com>
1066
1067 * po/sv.po: Updated Swedish translation.
1068
1069 2002-07-25 Nick Clifton <nickc@redhat.com>
1070
1071 * po/sv.po: Updated Swedish translation.
1072 * po/es.po: Updated Spanish translation.
1073 * po/pr_BR.po: Updated Brazilian Portuguese translation.
1074 * po/tr.po: Updated Turkish translation.
1075 * po/fr.po: Updated French translation.
1076
1077 2002-07-24 Nick Clifton <nickc@redhat.com>
1078
1079 * po/sv.po: Updated Swedish translation.
1080 * po/es.po: Updated Spanish translation.
1081 * po/pr_BR.po: Updated Brazilian Portuguese translation.
1082
1083 2002-07-23 Alan Modra <amodra@bigpond.net.au>
1084
1085 * Makefile.am: Run "make dep-am".
1086 * Makefile.in: Regenerate.
1087 * po/POTFILES.in: Regenerate.
1088
1089 2002-07-23 Nick Clifton <nickc@redhat.com>
1090
1091 * po/fr.po: Updated French translation.
1092 * po/pr_BR.po: New Brazilian Portuguese translation.
1093 * po/id.po: Updated Indonesian translation.
1094 * configure.in (LINGUAS): Add pr_BR.
1095 * configure: Regenerate.
1096
1097 2002-07-18 Denis Chertykov <denisc@overta.ru>
1098 Frank Ch. Eigler <fche@redhat.com>
1099 Alan Lehotsky <alehotsky@cygnus.com>
1100 matthew green <mrg@redhat.com>
1101
1102 * configure.in: Add support for ip2k.
1103 * configure: Regenerate.
1104 * Makefile.am: Add support for ip2k.
1105 * Makefile.in: Regenerate.
1106 * disassemble.c: Add support for ip2k.
1107 * ip2k-asm.c: New generated file.
1108 * ip2k-desc.c: New generated file.
1109 * ip2k-desc.h: New generated file.
1110 * ip2k-dis.c: New generated file.
1111 * ip2k-ibld.c: New generated file.
1112 * ip2k-opc.c: New generated file.
1113 * ip2k-opc.h: New generated file.
1114
1115 2002-07-17 David Mosberger <davidm@hpl.hp.com>
1116
1117 * ia64-opc-b.c (bWhc): New macro.
1118 (mWhc): Ditto.
1119 (OpPaWhcD): Ditto.
1120 (ia64_opcodes_b): Correct patterns for indirect call
1121 instructions to use 3-bit "wh" field.
1122 * ia64-asmtab.c: Regnerate.
1123
1124 2002-07-09 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1125
1126 * mips-dis.c (mips_isa_type): Add MIPS16 insn handling.
1127 * mips-opc.c (I16): New define.
1128 (mips_builtin_opcodes): Make jalx an I16 insn.
1129
1130 2002-06-18 Dave Brolley <brolley@redhat.com>
1131
1132 * po/POTFILES.in: Add frv-*.[ch].
1133 * disassemble.c (ARCH_frv): New macro.
1134 (disassembler): Handle bfd_arch_frv.
1135 * configure.in: Support frv_bfd_arch.
1136 * Makefile.am (HFILES): Add frv-*.h.
1137 (CFILES): Add frv-*.c
1138 (ALL_MACHINES): Add frv-*.lo.
1139 (CLEANFILES): Add stamp-frv.
1140 (FRV_DEPS): New variable.
1141 (stamp-frv): New target.
1142 (frv-asm.lo): New target.
1143 (frv-desc.lo): New target.
1144 (frv-dis.lo): New target.
1145 (frv-ibld.lo): New target.
1146 (frv-opc.lo): New target.
1147 (frv-*.[ch]): New files.
1148
1149 2002-06-18 Ben Elliston <bje@redhat.com>
1150
1151 * Makefile.am (CGENDEPS): Remove unnecessary stamp-cgen.
1152 * Makefile.in: Regenerate.
1153
1154 2002-06-08 Alan Modra <amodra@bigpond.net.au>
1155
1156 * a29k-dis.c: Replace CONST with const.
1157 * h8300-dis.c: Likewise.
1158 * m68k-dis.c: Likewise.
1159 * or32-dis.c: Likewise.
1160 * sparc-dis.c: Likewise.
1161
1162 2002-06-04 Jason Thorpe <thorpej@wasabisystems.com>
1163
1164 * configure.in: Add "sh5*-*" to list of targets which include
1165 sh64 support.
1166 * configure: Regenerate.
1167
1168 2002-05-31 Chris G. Demetriou <cgd@broadcom.com>
1169
1170 * mips-opc.c: Clean up a few whitespace issues, and sort a
1171 few entries understanding that 'x' follows 'w' in the alphabet.
1172
1173 2002-05-31 Chris G. Demetriou <cgd@broadcom.com>
1174 Ed Satterthwaite <ehs@broadcom.com>
1175
1176 * mips-opc.c: Add support for SB-1 MDMX subset and extensions.
1177
1178 2002-05-31 Alan Modra <amodra@bigpond.net.au>
1179
1180 * Makefile.am: Run "make dep-am".
1181 * Makefile.in: Regenerate.
1182 * po/POTFILES.in: Regenerate.
1183
1184 2002-05-30 Chris G. Demetriou <cgd@broadcom.com>
1185 Ed Satterthwaite <ehs@broadcom.com>
1186
1187 * mips-dis.c (print_insn_arg): Add support for 'O', 'Q', 'X', 'Y',
1188 and 'Z' formats, for MDMX.
1189 (mips_isa_type): Add MDMX instructions to the ISA
1190 bit mask for bfd_mach_mipsisa64.
1191 * mips-opc.c: Add support for MDMX instructions.
1192 (MX): New definition.
1193
1194 * mips-dis.c: Update copyright years to include 2002.
1195
1196 2002-05-30 Diego Novillo <dnovillo@redhat.com>
1197
1198 * d10v-opc.c (d10v_opcodes): `btsti' does not modify its
1199 arguments.
1200
1201 2002-05-28 Kuang Hwa Lin <kuang@sbcglobal.net>
1202
1203 * configure.in: Add DLX configuraton support.
1204 * configure: Regenerate.
1205 * Makefile.am: Add DLX configuraton support.
1206 * Makefile.in: Regenerate.
1207 * disassemble.c: Add DLX support.
1208 * dlx-dis.c: New file.
1209
1210 2002-05-25 Alan Modra <amodra@bigpond.net.au>
1211
1212 * Makefile.am (sh-dis.lo): Don't put make commands in deps.
1213 * Makefile.in: Regenerate.
1214 * arc-dis.c: Use #include "" instead of <> for local header files.
1215 * m68k-dis.c: Likewise.
1216
1217 2002-05-22 J"orn Rennecke <joern.rennecke@superh.com>
1218
1219 * Makefile.am (sh-dis.lo): Compile with @archdefs@.
1220 * Makefile.in: regenerate.
1221
1222 * sh-dis.c (print_insn_sh): If coff and bfd_mach_sh, use arch_sh4
1223 for disassembly.
1224
1225 2002-05-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1226
1227 * mips-opc.c (mips_builtin_opcodes): Add drol, dror macros.
1228
1229 2002-05-17 J"orn Rennecke <joern.rennecke@superh.com>
1230
1231 * disassemble.c (disassembler): Just use print_insn_sh for bfd_arch_sh.
1232 * sh-dis.c (LITTLE_BIT): Delete.
1233 (print_insn_sh, print_insn_shl): Deleted.
1234 (print_insn_shx): Renamed to
1235 (print_insn_sh). No longer static. Handle SHmedia instructions.
1236 Use info->endian to determine endianness.
1237 * sh64-dis.c (print_insn_sh64, print_insn_sh64l): Delete.
1238 (print_insn_sh64x): No longer static. Renamed to
1239 (print_insn_sh64). Removed pfun_compact and endian arguments.
1240 If we got an uneven address to indicate SHmedia, adjust it.
1241 Return -2 for SHcompact instructions.
1242
1243 2002-05-17 Alan Modra <amodra@bigpond.net.au>
1244
1245 * acinclude.m4 (AM_INSTALL_LIBBFD): Fake to fool autotools.
1246 * configure.in: Invoke AM_INSTALL_LIBBFD.
1247 * Makefile.am (install-data-local): Move to..
1248 (install_libopcodes): .. New target.
1249 (uninstall_libopcodes): Likewise.
1250 (install-bfdlibLTLIBRARIES): Likewise.
1251 (uninstall-bfdlibLTLIBRARIES): Likewise.
1252 (bfdlibdir): New.
1253 (bfdincludedir): New.
1254 (lib_LTLIBRARIES): Rename to bfdlib_LTLIBRARIES.
1255 * aclocal.m4: Regenerate.
1256 * configure: Regenerate.
1257 * Makefile.in: Regenerate.
1258
1259 2002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
1260
1261 * fr30-asm.c: Regenerate.
1262 * fr30-desc.c: Regenerate.
1263 * fr30-dis.c: Regenerate.
1264 * m32r-asm.c: Regenerate.
1265 * m32r-desc.c: Regenerate.
1266 * m32r-dis.c: Regenerate.
1267 * openrisc-asm.c: Regenerate.
1268 * openrisc-desc.c: Regenerate.
1269 * openrisc-dis.c: Regenerate.
1270 * xstormy16-asm.c: Regenerate.
1271 * xstormy16-desc.c: Regenerate.
1272 * xstormy16-dis.c: Regenerate.
1273
1274 2002-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1275
1276 * mips-dis.c (is_newabi): EABI is not a NewABI.
1277
1278 2002-05-13 Jason Thorpe <thorpej@wasabisystems.com>
1279
1280 * configure.in (shle-*-*elf*): Include sh64 support.
1281 * configure: Regenerate.
1282
1283 2002-04-28 Jason Thorpe <thorpej@wasabisystems.com>
1284
1285 * vax-dis.c (print_insn_arg): Pass the insn info to print_insn_mode.
1286 (print_insn_mode): Print some basic info about floating point values.
1287
1288 2002-05-09 Anton Blanchard <anton@samba.org>
1289
1290 * ppc-opc.c: Add "tlbiel" for POWER4.
1291
1292 2002-05-07 Graydon Hoare <graydon@redhat.com>
1293
1294 * cgen-dis.in: (print_insn_@arch@): Cache list of opened CPUs rather
1295 than just most-recently-opened.
1296
1297 2002-05-01 Alan Modra <amodra@bigpond.net.au>
1298
1299 * ppc-opc.c: Add "tlbsx." and "tlbsxe." for booke.
1300
1301 2002-04-24 Christian Groessler <chris@groessler.org>
1302
1303 * z8k-dis.c (print_insn_z8k): Set disassemble_info to 2
1304 bytes_per_chunk, 6 bytes_per_line for nicer display of the hex
1305 codes.
1306 (z8k_lookup_instr): CLASS_IGNORE case added.
1307 (output_instr): Don't print hex codes, they are already
1308 printed.
1309 (unpack_instr): ARG_NIM4 case added. ARG_NIM8 case
1310 fixed. Support CLASS_BIT_1OR2 and CLASS_IGNORE cases.
1311 (unparse_instr): Fix base and indexed addressing disassembly:
1312 The index is inside the brackets.
1313 * z8kgen.c (gas): Add ARG_NIM4 and CLASS_IGNORE defines.
1314 (opt): Fix shift left/right arithmetic/logical byte defines:
1315 The high byte of the immediate word is ignored by the
1316 processor.
1317 Fix n parameter of ldm opcodes: The opcode contains (n-1).
1318 (args): Fix "n" entry.
1319 (toks): Add "nim4" and "iiii" entries.
1320 * z8k-opc.h: Regenerated with new z8kgen.c.
1321
1322 2002-04-24 Nick Clifton <nickc@cambridge.redhat.com>
1323
1324 * po/id.po: New Indonesian translation.
1325 * configure.in (ALL_LIGUAS): Add id.po
1326 * configure: Regenerate.
1327
1328 2002-04-17 matthew green <mrg@redhat.com>
1329
1330 * ppc-opc.c (powerpc_opcode): Fix dssall operand list.
1331
1332 2002-04-04 Alan Modra <amodra@bigpond.net.au>
1333
1334 * dep-in.sed: Cope with absolute paths.
1335 * Makefile.am (dep.sed): Subst TOPDIR.
1336 Run "make dep-am".
1337 * Makefile.in: Regenerate.
1338 * ppc-opc.c: Whitespace.
1339 * s390-dis.c: Fix copyright date.
1340
1341 2002-03-23 matthew green <mrg@redhat.com>
1342
1343 * ppc-opc.c (vmaddfp): Fix operand order.
1344
1345 2002-03-21 Alan Modra <amodra@bigpond.net.au>
1346
1347 * Makefile.am: Run "make dep-am".
1348 * Makefile.in: Regenerate.
1349
1350 2002-03-21 Anton Blanchard <anton@samba.org>
1351
1352 * ppc-opc.c: Add optional field to mtmsrd.
1353 (MTMSRD_L, XRLARB_MASK): Define.
1354
1355 2002-03-18 Jan Hubicka <jh@suse.cz>
1356
1357 * i386-dis.c (prefix_name): Fix handling of 32bit address prefix
1358 in 64bit mode.
1359 (print_insn) Likewise.
1360 (putop): Fix handling of 'E'
1361 (OP_E, OP_OFF): handle 32bit addressing mode in 64bit.
1362 (ptr_reg): Likewise.
1363
1364 2002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
1365
1366 * po/fr.po: Updated version.
1367
1368 2002-03-16 Chris Demetriou <cgd@broadcom.com>
1369
1370 * mips-opc.c (M3D): Tweak comment.
1371 (mips_builtin_op): Add comment indicating that opcodes of the
1372 same name must be placed together in the table, and sort
1373 the "recip.fmt", "recip1.fmt", "recip2.fmt", "rsqrt.fmt",
1374 "rsqrt1.fmt", and "rsqrt2.fmt" opcodes by name.
1375
1376 2002-03-16 Nick Clifton <nickc@cambridge.redhat.com>
1377
1378 * Makefile.am: Tidy up sh64 rules.
1379 * Makefile.in: Regenerate.
1380
1381 2002-03-15 Chris G. Demetriou <cgd@broadcom.com>
1382
1383 * mips-dis.c: Update copyright years.
1384
1385 2002-03-15 Chris G. Demetriou <cgd@broadcom.com>
1386
1387 * mips-dis.c (mips_isa_type): Add MIPS3D instructions to the ISA
1388 bit masks for bfd_mach_mips_sb1 and bfd_mach_mipsisa64. Add
1389 comments for bfd_mach_mipsisa32 and bfd_mach_mipsisa64 that
1390 indicate that they should dissassemble all applicable
1391 MIPS-specified ASEs.
1392 * mips-opc.c: Add support for MIPS-3D instructions.
1393 (M3D): New definition.
1394
1395 * mips-opc.c: Update copyright years.
1396
1397 2002-03-15 Chris G. Demetriou <cgd@broadcom.com>
1398
1399 * mips-opc.c (mips_builtin_opcodes): Sort bc<N> opcodes by name.
1400
1401 2002-03-15 Chris Demetriou <cgd@broadcom.com>
1402
1403 * mips-dis.c (is_newabi): Fix ABI decoding.
1404
1405 2002-03-14 Chris G. Demetriou <cgd@broadcom.com>
1406
1407 * mips-dis.c (mips_isa_type): Fix formatting of bfd_mach_mipsisa32
1408 and bfd_mach_mipsisa64 cases to match the rest.
1409
1410 2002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
1411
1412 * po/fr.po: Updated version.
1413
1414 2002-03-13 Alan Modra <amodra@bigpond.net.au>
1415
1416 * ppc-opc.c: Add optional `L' field to tlbie.
1417 (XRTLRA_MASK): Define.
1418
1419 2002-03-06 Chris Demetriou <cgd@broadcom.com>
1420
1421 * mips-opc.c (mips_builtin_opcodes): Mark "pref" as being
1422 present on I4.
1423
1424 * mips-opc.c (mips_builtin_opcodes): Add "movn.ps" and "movz.ps".
1425
1426 2002-03-05 Paul Koning <pkoning@equallogic.com>
1427
1428 * pdp11-opc.c: Fix "mark" operand type. Fix operand types
1429 for float opcodes that take float operands. Add alternate
1430 names (xxxD vs. xxxF) for float opcodes.
1431 * pdp11-dis.c (print_operand): Clean up formatting for mode 67.
1432 (print_foperand): New function to handle float opcode operands.
1433 (print_insn_pdp11): Use print_foperand to disassemble float ops.
1434
1435 2002-02-27 Nick Clifton <nickc@cambridge.redhat.com>
1436
1437 * po/de.po: Updated.
1438
1439 2002-02-26 Brian Gaeke <brg@dgate.org>
1440
1441 * Makefile.am (install-data-local): Install dis-asm.h.
1442
1443 2002-02-26 Nick Clifton <nickc@cambridge.redhat.com>
1444
1445 * configure.in (LINGUAS): Add de.po.
1446 * configure: Regenerate.
1447 * po/de.po: New file.
1448
1449 2002-02-25 Alan Modra <amodra@bigpond.net.au>
1450
1451 * ppc-dis.c (powerpc_dialect): Handle power4 option.
1452 * ppc-opc.c (insert_bdm): Correct description of "at" branch
1453 hints. Test PPC_OPCODE_POWER4 to determine branch hint flavour.
1454 (extract_bdm, insert_bdp, extract_bdp, valid_bo): Likewise.
1455 (BOFM64, BOFP64, BOTM64, BOFP64): Rename to BOFM4, BOFP4 etc.
1456 (BODNZM64, BODNZP64, BODZM64, BODZP64): Likewise.
1457 (PPCCOM32, PPCCOM64): Delete.
1458 (NOPOWER4, POWER4): Define.
1459 (powerpc_opcodes): Replace occurences of PPCCOM32 with NOPOWER4,
1460 and PPCCOM4 with POWER4 so that "at" style branch hint opcodes
1461 are enabled for power4 rather than ppc64.
1462
1463 2002-02-20 Tom Rix <trix@redhat.com>
1464
1465 * ppc-opc.c (powerpc_operands): Add WS field. Use for tlbre, tlbwe.
1466
1467 2002-02-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
1468
1469 * s390-dis.c (init_disasm): Use renamed architecture defines.
1470
1471 2002-02-19 matthew green <mrg@redhat.com>
1472
1473 * ppc-opc.c (powerpc_dialect): Fix comment; BookE is not Motorola
1474 specific.
1475
1476 2002-02-18 Nick Clifton <nickc@cambridge.redhat.com>
1477
1478 * po/tr.po: Updated translation.
1479
1480 2002-02-15 Richard Henderson <rth@redhat.com>
1481
1482 * alpha-opc.c (alpha_opcodes): Fix thinko in ret pseudo
1483 disassembly mask.
1484
1485 2002-02-15 Richard Henderson <rth@redhat.com>
1486
1487 * alpha-opc.c (alpha_opcodes): Add simple pseudos for
1488 lda, ldah, jmp, ret.
1489
1490 2002-02-14 Nick Clifton <nickc@cambridge.redhat.com>
1491
1492 * po/da.po: Updated translation.
1493
1494 2002-02-12 Graydon Hoare <graydon@redhat.com>
1495
1496 * cgen-asm.in (parse_insn_normal): Change call from
1497 @arch@_cgen_parse_operand to cd->parse_operand, to
1498 facilitate CGEN_ASM_INIT_HOOK doing useful work.
1499
1500 2002-02-11 Alexandre Oliva <aoliva@redhat.com>
1501
1502 * sparc-dis.c (print_insn_sparc): Make sure 0xFFFFFFFF is not
1503 sign-extended.
1504
1505 2002-02-11 Alan Modra <amodra@bigpond.net.au>
1506
1507 * Makefile.am: "make dep-am".
1508 * Makefile.in: Regenerate.
1509 * aclocal.m4: Regenerate.
1510 * config.in: Regenerate.
1511 * configure: Regenerate.
1512
1513 2002-02-10 Hans-Peter Nilsson <hp@bitrange.com>
1514
1515 * configure.in <bfd_sh_arc>: For sh-* and shl-*, enable sh64
1516 support only for sh-*-*elf*, shl-*-*elf*, sh-*-linux* and
1517 shl-*-linux*.
1518 * configure: Regenerate.
1519
1520 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
1521
1522 * cgen-dis.c: Add prototypes for count_decodable_bits
1523 and add_insn_to_hash_chain.
1524
1525 2002-02-08 Alexandre Oliva <aoliva@redhat.com>
1526
1527 * configure.in <bfd_sh_arc>: Enable sh64 support on sh-*.
1528 * configure: Rebuilt.
1529
1530 2002-02-08 Ivan Guzvinec <ivang@opencores.org>
1531
1532 * or32-opc.c: Fix compile time warning messages.
1533 * or32-dis.c: Fix compile time warning messages.
1534
1535 2002-02-08 Alexandre Oliva <aoliva@redhat.com>
1536
1537 Contribute sh64-elf.
1538 2001-10-08 Nick Clifton <nickc@cambridge.redhat.com>
1539 * sh64-opc.c: Regenerate.
1540 2001-03-13 DJ Delorie <dj@redhat.com>
1541 * sh64-opc.h: Rename A_RESV_Fx to A_REUSE_PREV so that its
1542 purpose is more obvious.
1543 * sh64-opc.c (shmedia_table): Ditto.
1544 * sh64-dis.c (initialize_shmedia_opcode_mask_table): Ditto.
1545 (print_insn_shmedia): Ditto.
1546 2001-03-12 DJ Delorie <dj@redhat.com>
1547 * sh64-opc.c: Adjust comments to reflect reality: replace bits
1548 3:0 with zeros (not "reserved"), replace "rrrrrr" with
1549 "gggggg" for two-operand floating point opcodes. Remove
1550 "fsina".
1551 2001-01-08 Hans-Peter Nilsson <hpn@cygnus.com>
1552 * sh64-dis.c (print_insn_shmedia) <failing read_memory_func>:
1553 Correct printing of .byte:s. Return number of printed bytes or
1554 -1; never 0.
1555 (print_insn_sh64x) <not CRT_SH5_ISA16>: Ditto. Print as .byte:s
1556 to next four-byte-alignment if insn or data is not aligned.
1557 2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com>
1558 * sh64-dis.c: Update comments and fix comment formatting.
1559 (initialize_shmedia_opcode_mask_table) <case A_IMMM>:
1560 Abort instead of setting length to 0.
1561 (crange_qsort_cmpb, crange_qsort_cmpl, crange_bsearch_cmpb,
1562 crange_bsearch_cmpl, sh64_get_contents_type,
1563 sh64_address_in_cranges): Move to bfd/elf32-sh64.c.
1564 2001-01-05 Hans-Peter Nilsson <hpn@cygnus.com>
1565 * sh64-opc.c: Remove #if 0:d entries for instructions not found in
1566 SH-5/ST50-023-04: fcosa.s, fsrra.s and prefo.
1567 2000-12-30 Hans-Peter Nilsson <hpn@cygnus.com>
1568 * sh64-dis.c (print_insn_shmedia): Display MOVI/SHORI-formed
1569 address with same prefix as SHcompact.
1570 In the disassembler, use a .cranges section for linked executables.
1571 * sh64-dis.c (SAVED_MOVI_R, SAVED_MOVI_IMM): Move to head of file
1572 and update for using structure in info->private_data.
1573 (struct sh64_disassemble_info): New.
1574 (is_shmedia_p): Delete.
1575 (crange_qsort_cmpb): New function.
1576 (crange_qsort_cmpl, crange_bsearch_cmpb): New functions.
1577 (crange_bsearch_cmpl, sh64_address_in_cranges): New functions.
1578 (init_sh64_disasm_info, sh64_get_contents_type_disasm): New functions.
1579 (sh64_get_contents_type, sh64_address_is_shmedia): New functions.
1580 (print_insn_shmedia): Correct displaying of address after MOVI/SHORI
1581 pair. Display addresses for linked executables only.
1582 (print_insn_sh64x_media): Initialize info->private_data by calling
1583 init_sh64_disasm_info.
1584 (print_insn_sh64x): Ditto. Find out type of contents by calling
1585 sh64_contents_type_disasm. Display data regions using ".long" and
1586 ".byte" similar to unrecognized opcodes.
1587 2000-12-19 Hans-Peter Nilsson <hpn@cygnus.com>
1588 * sh64-dis.c (is_shmedia_p): Check info->section and look for ISA
1589 information in section flags before considering symbols. Don't
1590 assume an info->mach setting of bfd_mach_sh5 means SHmedia code.
1591 * configure.in (bfd_sh_arch): Check presence of sh64 insns by
1592 matching $target $canon_targets instead of looking at the
1593 now-removed -DINCLUDE_SHMEDIA in $targ_cflags.
1594 * configure: Regenerate.
1595 2000-11-25 Hans-Peter Nilsson <hpn@cygnus.com>
1596 * sh64-opc.c (shmedia_creg_table): New.
1597 * sh64-opc.h (shmedia_creg_info): New type.
1598 (shmedia_creg_table): Declare.
1599 * sh64-dis.c (creg_name): New function.
1600 (print_insn_shmedia): Use it.
1601 * disassemble.c (disassembler) [ARCH_sh, INCLUDE_SHMEDIA]: Map
1602 bfd_mach_sh5 to print_insn_sh64 if big-endian and to
1603 print_insn_sh64l if little-endian.
1604 * sh64-dis.c (print_insn_shmedia): Make r unsigned.
1605 (print_insn_sh64l): New.
1606 (print_insn_sh64x): New.
1607 (print_insn_sh64x_media): New.
1608 (print_insn_sh64): Break out code to print_insn_sh64x and
1609 print_insn_sh64x_media.
1610 2000-11-24 Hans-Peter Nilsson <hpn@cygnus.com>
1611 * sh64-opc.h: New file
1612 * sh64-opc.c: New file
1613 * sh64-dis.c: New file
1614 * Makefile.am: Add sh64 targets.
1615 (HFILES): Add sh64-opc.h.
1616 (CFILES): Add sh64-opc.c and sh64-dis.c.
1617 (ALL_MACHINES): Add sh64 files.
1618 * Makefile.in: Regenerate.
1619 * configure.in: Add support for sh64 to bfd_sh_arch.
1620 * configure: Regenerate.
1621 * disassemble.c [ARCH_all] (INCLUDE_SHMEDIA): Define.
1622 (disassembler) [ARCH_sh, INCLUDE_SHMEDIA]: Map bfd_mach_sh5 to
1623 print_insn_sh64.
1624 * sh-dis.c (print_insn_shx): Handle bfd_mach_sh5 as arch_sh4.
1625 * po/POTFILES.in: Regenerate.
1626 * po/opcodes.pot: Regenerate.
1627
1628 2002-02-04 Frank Ch. Eigler <fche@redhat.com>
1629
1630 * cgen-dis.in (print_insn_@arch@): Support disassemble_info.insn_sets.
1631
1632 2002-02-04 Alexandre Oliva <aoliva@redhat.com>
1633
1634 * sh-opc.h (sh_arg_type): Added A_DISP_PC_ABS.
1635
1636 2002-02-01 Alan Modra <amodra@bigpond.net.au>
1637
1638 * Makefile.am: Run "make dep-am"
1639 * Makefile.in: Regenerate.
1640
1641 2002-01-31 Ivan Guzvinec <ivang@opencores.org>
1642
1643 * or32-dis.c: New file.
1644 * or32-opc.c: New file.
1645 * configure.in: Add support for or32.
1646 * configure: Regenerate.
1647 * Makefile.am: Add support for or32.
1648 * Makefile.in: Regenerate.
1649 * disassemble.c: Add support for or32.
1650 * po/POTFILES.in: Regenerate.
1651 * po/opcodes.pot: Regenerate.
1652
1653 2002-01-27 Daniel Jacobowitz <drow@mvista.com>
1654
1655 * configure: Regenerated.
1656
1657 2002-01-26 Nick Clifton <nickc@cambridge.redhat.com>
1658
1659 * po/fr.po: Updated version.
1660
1661 2002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
1662
1663 * po/es.po: Updated version.
1664
1665 2002-01-24 Nick Clifton <nickc@cambridge.redhat.com>
1666
1667 * po/da.po: New version.
1668
1669 2002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
1670
1671 * po/da.po: New file: Spanish translation.
1672 * configure.in (ALL_LINGUAS): Add da.
1673 * configure: Regenerate.
1674
1675 2002-01-22 Graydon Hoare <graydon@redhat.com>
1676
1677 * fr30-asm.c: Regenerate.
1678 * fr30-desc.c: Likewise.
1679 * fr30-desc.h: Likewise.
1680 * fr30-dis.c: Likewise.
1681 * fr30-ibld.c: Likewise.
1682 * fr30-opc.c: Likewise.
1683 * fr30-opc.h: Likewise.
1684 * m32r-asm.c: Likewise.
1685 * m32r-desc.c: Likewise.
1686 * m32r-desc.h: Likewise.
1687 * m32r-dis.c: Likewise.
1688 * m32r-ibld.c: Likewise.
1689 * m32r-opc.c: Likewise.
1690 * m32r-opc.h: Likewise.
1691 * m32r-opinst.c: Likewise.
1692 * openrisc-asm.c: Likewise.
1693 * openrisc-desc.c: Likewise.
1694 * openrisc-desc.h: Likewise.
1695 * openrisc-dis.c: Likewise.
1696 * openrisc-ibld.c: Likewise.
1697 * openrisc-opc.c: Likewise.
1698 * openrisc-opc.h: Likewise.
1699 * xstormy16-desc.c: Likewise.
1700
1701 2002-01-22 Richard Henderson <rth@redhat.com>
1702
1703 * alpha-dis.c (print_insn_alpha): Also mask the base opcode for
1704 comparison.
1705
1706 2002-01-22 Alan Modra <amodra@bigpond.net.au>
1707
1708 * Makefile.am: Run "make dep-am".
1709 * Makefile.in: Regenerate.
1710 * po/POTFILES.in: Regenerate.
1711
1712 2002-01-19 Richard Earnshaw <rearnsha@arm.com>
1713
1714 * arm-opc.h (arm_opcodes): Use generic rule %5?hb instead of %h.
1715 * arm-dis.c (print_insn_arm): Don't handle 'h' case.
1716
1717 2002-01-18 Keith Walker <keith.walker@arm.com>
1718
1719 * arm-opc.h (arm_opcodes): Add bxj instruction.
1720
1721 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
1722
1723 * po/opcodes.pot: Regenerate.
1724 * po/fr.po: Regenerate.
1725 * po/sv.po: Regenerate.
1726 * po/tr.po: Regenerate.
1727
1728 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
1729
1730 * po/tr.po: Import new version.
1731
1732 2002-01-15 Richard Earnshaw <rearnsha@arm.com>
1733
1734 * arm-opc.h (arm_opcodes): Add patterns for VFP instructions.
1735 * arm-dis.c (print_insn_arm): Support new disassembly qualifiers for
1736 VFP bitfields.
1737
1738 2002-01-10 matthew green <mrg@redhat.com>
1739
1740 * xstormy16-asm.c: Regenerate.
1741 * xstormy16-desc.c: Likewise.
1742 * xstormy16-desc.h: Likewise.
1743 * xstormy16-dis.c: Likewise.
1744 * xstormy16-opc.c: Likewise.
1745 * xstormy16-opc.h: Likewise.
1746
1747 2002-01-07 Nick Clifton <nickc@cambridge.redhat.com>
1748
1749 * po/es.po: New file: Spanish translation.
1750 * configure.in (ALL_LINGUAS): Add es.
1751 * configure: Regenerate.
1752
1753 2001-12-31 Jeffrey A Law (law@redhat.com)
1754
1755 * hppa-dis.c (print_insn_hppa): Handle new 'c' mode completers,
1756 'X', 'M', and 'A'. No longer emit a space after 'x' or 's'.
1757 Always emit a space after 'H'.
1758
1759 2001-12-18 matthew green <mrg@redhat.com>
1760
1761 * ppc-opc.c (PPCVEC): Include PPC_OPCODE_ANY.
1762
1763 2001-12-17 Richard Henderson <rth@redhat.com>
1764
1765 * alpha-opc.c (unop): Encode with RB as $sp.
1766
1767 2001-12-07 Geoffrey Keating <geoffk@redhat.com>
1768
1769 * Makefile.am: Add support for xstormy16.
1770 * Makefile.in: Regenerate.
1771 * configure.in: Add support for xstormy16.
1772 * configure: Regenerate.
1773 * disassemble.c: Add support for xstormy16.
1774 * xstormy16-asm.c: New generated file.
1775 * xstormy16-desc.c: New generated file.
1776 * xstormy16-desc.h: New generated file.
1777 * xstormy16-dis.c: New generated file.
1778 * xstormy16-ibld.c: New generated file.
1779 * xstormy16-opc.c: New generated file.
1780 * xstormy16-opc.h: New generated file.
1781
1782 2001-12-06 Richard Henderson <rth@redhat.com>
1783
1784 * alpha-opc.c (alpha_opcodes): Add wh64en.
1785
1786 2001-12-04 Alexandre Oliva <aoliva@redhat.com>
1787
1788 * d10v-opc.c (d10v_predefined_registers): Remove warnings
1789 introduced in Nov 29's patch.
1790
1791 * d10v-dis.c (print_operand): Apply REGISTER_MASK to `num' of
1792 unmatched register.
1793
1794 * d10v-dis.c (print_operand): Disregard OPERAND_SP in register
1795 predefined value.
1796
1797 * d10v-opc.c (RSRC_NOSP): New macro.
1798 (d10v_operands): Add it.
1799 (d10v_opcodes): Use RSRC_NOSP in post-decrement "st" and "st2w".
1800
1801 2001-11-29 Alexandre Oliva <aoliva@redhat.com>
1802
1803 * d10v-opc.c (d10v_predefined_registers): Mark `sp' as OPERAND_SP.
1804 (RSRC_SP): New macro.
1805 (d10v_operands): Add it.
1806 (d10v_opcodes): Adjust "st" and "st2w" to use RSRC_SP.
1807
1808 2001-11-23 Lars Brinkhoff <lars@nocrew.org>
1809
1810 * pdp11-dis.c (print_insn_pdp11): Handle illegal instructions.
1811 Also, break out of the loop as soon as an instruction has been
1812 printed.
1813
1814 2001-11-17 matthew green <mrg@redhat.com>
1815
1816 * ppc-opc.c (mfvrsave, mtvrsave): New instructions.
1817
1818 2001-11-15 Alan Modra <amodra@bigpond.net.au>
1819
1820 * po/POTFILES.in: Regenerate.
1821
1822 * ppc-opc.c (PPC64): Revert 2001-10-12. Do include PPC_OPCODE_PPC.
1823 (insert_bat, extract_bat, insert_bba, extract_bba,
1824 insert_bd, extract_bd, insert_bdm, extract_bdm,
1825 insert_bdp, extract_bdp, valid_bo,
1826 insert_bo, extract_bo, insert_boe, extract_boe,
1827 insert_ds, extract_ds, insert_de, extract_de,
1828 insert_des, extract_des, insert_li, extract_li,
1829 insert_mbe, extract_mbe, insert_mb6, extract_mb6,
1830 insert_nb, extract_nb, insert_nsi, extract_nsi,
1831 insert_ral, insert_ram, insert_ras,
1832 insert_rbs, extract_rbs, insert_sh6, extract_sh6,
1833 insert_spr, extract_spr, insert_tbr, extract_tbr): Add dialect param.
1834 (extract_bd, extract_bdm, extract_bdp,
1835 extract_ds, extract_des,
1836 extract_li, extract_nsi): Implement sign extension without conditional.
1837 (insert_bdm, extract_bdm,
1838 insert_bdp, extract_bdp, valid_bo): Handle 64 bit branch hints.
1839 (extract_bdm, extract_bdp): Correct 32 bit validation.
1840 (AT1_MASK, AT2_MASK): Define.
1841 (BBOAT_MASK): Define.
1842 (BBOATCB_MASK, BBOAT2CB_MASK, BBOATBI_MASK): Define.
1843 (BOFM64, BOFP64, BOTM64, BOTP64): Define.
1844 (BODNZM64, BODNZP64, BODZM64, BODZP64): Define.
1845 (PPCCOM32, PPCCOM64): Define.
1846 (powerpc_opcodes): Modify existing 32 bit insns with branch hints
1847 and add new patterns to implement 64 bit branches with hints. Move
1848 booke instructions so they match before ppc64.
1849
1850 * ppc-dis.c (powerpc_dialect): Set PPC_OPCODE_64 in dialect for
1851 64 bit default targets, and parse "32" and "64" in options.
1852 Formatting fixes.
1853 (print_insn_powerpc): Pass dialect to operand->extract.
1854
1855 2001-11-14 Dave Brolley <brolley@redhat.com>
1856
1857 * cgen-dis.c (count_decodable_bits): New function.
1858 (add_insn_to_hash_chain): New function.
1859 (hash_insn_array): Call add_insn_to_hash_chain.
1860 (hash_insn_list): Call add_insn_to_hash_chain.
1861 * m32r-dis.c: Regenerated.
1862 * fr30-dis.c: Regenerated.
1863
1864 2001-11-14 Andreas Jaeger <aj@suse.de>
1865
1866 * i386-dis.c (print_insn): Use x86-64 as option.
1867
1868 2001-11-14 Alan Modra <amodra@bigpond.net.au>
1869
1870 * disassemble.c (disassembler): Call print_insn_i386.
1871 * i386-dis.c (SUFFIX_ALWAYS): Define.
1872 (struct dis_private): Add orig_sizeflag.
1873 (print_insn_i386): Make it a wrapper, calling..
1874 (print_insn): ..The old body of print_insn_i386. Avoid longjmp
1875 warning without using volatile by moving orig_sizeflag to priv,
1876 and removing inbuf. Parse disassembler_options.
1877 (print_insn_i386_att, print_insn_i386_intel): Move initialisation
1878 code to print_insn.
1879 (putop): Remove #ifdef SUFFIX_ALWAYS.
1880
1881 2001-11-11 Timothy Wall <twall@alum.mit.edu>
1882
1883 * tic54x-dis.c: Use revised opcode structure. Export opcode
1884 template lookup.
1885 (has_lkaddr): Don't forget about Lmem insns.
1886 * tic54x-opc.c: Add emulation trap. Parallel table now uses
1887 standard opcode templates.
1888
1889 2001-11-13 Zack Weinberg <zack@codesourcery.com>
1890
1891 * i386-dis.c (grps): Change "sldt", "str", and "smsw" entries
1892 to "sldtQ", "strQ", "smswQ" respectively; all with Ev operand
1893 category instead of Ew.
1894
1895 2001-11-12 Niraj Gupta <ngupta@zumanetworks.com>
1896
1897 * m68k-opc.c: Fix definitions of wddata[bwl].
1898
1899 2001-11-09 Richard Sandiford <rsandifo@redhat.com>
1900
1901 * cgen-asm.c (cgen_parse_keyword): If the keyword is too big to
1902 fit in the buffer, try to match the empty keyword.
1903
1904 2001-11-09 Nick Clifton <nickc@cambridge.redhat.com>
1905
1906 * cgen-ibld.in (extract_1): Fix badly placed #if 0.
1907 * fr30-ibld.c: Regenerate.
1908 * m32r-ibld.c: Regenerate.
1909 * openrisc-ibld.c: Regenerate.
1910
1911 2001-11-04 Chris Demetriou <cgd@broadcom.com>
1912
1913 * mips-dis.c (print_insn_mips): Remove spaces at end of line.
1914
1915 2001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
1916
1917 * configure.in (ALL_LINGUAS): Add "fr", "sv" and "tr".
1918 * configure: Regernate.
1919 * po/fr.po: New file.
1920 * po/sv.po: New file.
1921 * po/tr.po: New file.
1922
1923 2001-11-01 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1924
1925 * m68hc11-dis.c (print_insn): Fix disassembly of movb with a
1926 constant as source.
1927
1928 2001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
1929
1930 * Makefile.am (CFILES): Add mmix-dis.c and mmix-opc.c. Regenerate
1931 dependencies.
1932 * Makefile.in: Regenerate.
1933 * mmix-dis.c, mmix-opc.c: New files.
1934
1935 2001-10-29 Kazu Hirata <kazu@hxi.com>
1936
1937 * d30v-dis.c: Fix a comment typo.
1938
1939 2001-10-23 Chris Demetriou <cgd@broadcom.com>
1940
1941 * mips-opc.c (mips_builtin_opcodes): Mark "bgezall" and
1942 "bltzall" as writing GPR 31 (since they do).
1943
1944 * mips-dis.c (print_insn_arg): Calculate info->target
1945 where appropriate.
1946 (print_insn_mips): Fill in instruction info.
1947 (print_mips16_insn_arg): Remove unneded variable 'val'.
1948 Removed duplicated instruction target calculations,
1949 calculate once and print that result. Use same idiom for
1950 masking the jump segment bits as is used in print_insn_arg.
1951
1952 2001-10-20 Alan Modra <amodra@bigpond.net.au>
1953
1954 * ppc-opc.c (CT): Make it an optional operand.
1955
1956 2001-10-17 Chris Demetriou <cgd@broadcom.com>
1957
1958 * mips-dis.c (mips_isa_type): Make the ISA used to disassemble
1959 SB-1 binaries include instructions specific to the SB-1.
1960 * mips-opc.c (SB1): New definition.
1961 (mips_builtin_opcodes): Add SB-1 extension opcodes "div.ps",
1962 "recip.ps", "rsqrt.ps", and "sqrt.ps".
1963
1964 2001-10-17 matthew green <mrg@redhat.com>
1965
1966 * ppc-opc.c (STRM): New AltiVec operand.
1967 (XDSS): New AltiVec instruction form.
1968 (mtvscr): Correct operand list.
1969 (dst, dstt, dstst, dststt, dss, dssall): AltiVec instructions.
1970
1971 2001-10-17 Alan Modra <amodra@bigpond.net.au>
1972
1973 * po/POTFILES.in: Regenerate.
1974
1975 2001-10-13 matthew green <mrg@redhat.com>
1976
1977 * ppc-opc.c (MO): New macro for MO field of mbar instruction.
1978 (powerpc_opcodes): Add rfci, wrtee, wrteei, mfdcrx, mfdcr,
1979 mtdcrx, mtdcr, msync, dcba and mbar as BookE instructions.
1980
1981 2001-10-13 Nick Clifton <nickc@cambridge.redhat.com>
1982
1983 * cgen-ibld.in: Include safe-ctype.h in preference to
1984 ctype.h.
1985 * cgen-asm.in: Include safe-ctype.h in preference to
1986 ctype.h. Fix formatting. Use ISSPACE instead of isspace and
1987 TOLOWER instead of tolower.
1988 (@arch@_cgen_build_insn_regex): Remove duplication of syntax
1989 string elements in constructed regular expression.
1990 * fr30-asm.c: Regenerate.
1991 * fr30-desc.c: Regenerate.
1992 * fr30-ibld.c: Regenerate.
1993 * m32r-asm.c: Regenerate.
1994 * m32r-desc.c: Regenerate.
1995 * m32r-ibld.c: Regenerate.
1996 * openrisc-asm.c: Regenerate.
1997 * openrisc-desc.c: Regenerate.
1998 * openrisc-ibld.c: Regenerate.
1999 * po/opcodes.pot: Regenerate.
2000
2001 2001-10-12 matthew green <mrg@redhat.com>
2002
2003 * ppc-opc.c (insert_de, extract_de, insert_des, extract_des): New
2004 instruction field instruction/extraction functions for new BookE
2005 DE form instructions.
2006 (CT): New macro for CT field in an X form instruction.
2007 (DE, DES, DEO, DE_MASK): New macros for DE/DES fields in DE form
2008 instructions.
2009 (PPC64): Don't include PPC_OPCODE_PPC.
2010 (403): New opcode macro for PPC403 processors.
2011 (BOOKE): New opcode macro for BookE processors.
2012 (bce, bcel, bcea, bcela, bclre, bclrel: New BookE instructions.
2013 (bcctre, bcctrel, be, bel, bea, bela, icbt, icbte, lwzxe): Likewise.
2014 (dcbste, lwzuxe, luxe, dcbfe, lbzxe, lwarxe, lbzuxe): Likewise.
2015 (stwcxe, stwxe, stxe, stwuxe, stuxe, stbxe, dcbtste, stbuxe): Likewise.
2016 (mfapidi, dcbte, lhzxe, lhzuxe, lhaxe, lhauxe, subfe64): Likewise.
2017 (subfeo64, adde64, addeo64, sthxe, sthuxe, subfze64): Likewise.
2018 (subfzeo64, addze64, addzeo64, dcbie, subfme64, subfmeo64): Likewise.
2019 (addme64, addmeo64, stdcxe., mcrxr64, lwbrxe, lfsxe, lfsuxe): Likewise.
2020 (lfdxe, lfduxe, stwbrxe, stfsxe, stfsuxe, stfdxe, dcbae): Likewise.
2021 (stfduxe, tlbivax, tlbivaxe, lhbrxe, ldxe, lduxe, tlbsx): Likewise.
2022 (tlbsxe, sthbrxe, stdxe, stduxe, icbie, stfiwxe, dcbze, lbze): Likewise.
2023 (lbzue, ldue, lhze, lhzue, lhae, lhaue, lwze, lwzue): Likewise.
2024 (stbe, stbue, sthe, sthue, stwe, stwue, lfse, lfsue, lfde): Likewise.
2025 (lfdue, stde, stdue, stfse, stfsue, stfde, stfdue): Likewise.
2026
2027 * ppc-dis.c (print_insn_big_powerpc, print_insn_little_powerpc): Look
2028 for a disassembler option of `booke', `booke32' or `booke64' to enable
2029 BookE support in the disassembler.
2030
2031 2001-10-12 John Healy <jhealy@redhat.com>
2032
2033 * cgen-dis.in (print_insn): Use min (cd->base_insn_bitsize, buflen*8)
2034 for the length when extracting the base part of the insn.
2035
2036 2001-10-09 Bruno Haible <haible@clisp.cons.org>
2037
2038 * cgen-asm.in (*_cgen_build_insn_regex): Generate a case sensitive
2039 regular expression. Fix some formatting problems.
2040 * fr30-asm.c: Regenerate.
2041 * openrisc-asm.c: Regenerate.
2042 * m32r-asm.c: Regenerate.
2043
2044 2001-10-09 Christian Groessler <cpg@aladdin.de>
2045
2046 * z8k-dis.c (unparse_instr): Fixed formatting. Change disassembly
2047 of indirect register memory accesses to be same format the
2048 assembler accepts.
2049
2050 2001-10-09 Nick Clifton <nickc@cambridge.redhat.com>
2051
2052 * sh-opc.h: Fix encoding of least significant nibble of the
2053 DSP single data transfer instructions.
2054
2055 * sh-dis.c (print_insn_shx): Fix decoding of As opcode in DSP
2056 instructions.
2057
2058 2001-10-08 Nick Clifton <nickc@cambridge.redhat.com>
2059
2060 * cgen-asm.in: Fix compile time warning messages in generated
2061 C files.
2062 * cgen-dis.in: The same.
2063 * cgen-ibld.in: The same.
2064 * fr30-asm.c: Regenerate.
2065 * fr30-desc.c: Regenerate.
2066 * fr30-dis.c: Regenerate.
2067 * fr30-ibld.c: Regenerate.
2068 * fr30-opc.c: Regenerate.
2069 * m32r-asm.c: Regenerate.
2070 * m32r-desc.c: Regenerate.
2071 * m32r-dis.c: Regenerate.
2072 * m32r-ibld.c: Regenerate.
2073 * m32r-opc.c: Regenerate.
2074 * m32r-opinst.c Regenerate.
2075 * openrisc-asm.c: Regenerate.
2076 * openrisc-desc.c: Regenerate.
2077 * openrisc-dis.c: Regenerate.
2078 * openrisc-ibld.c: Regenerate.
2079 * openrisc-opc.c: Regenerate.
2080 * openrisc-opc.h: Regenerate.
2081 * Makefile.in: Regenerate.
2082 * po/POTFILES.in: Regenerate.
2083 * po/opcodes.pot: Regenerate.
2084
2085 2001-10-08 Aldy Hernandez <aldyh@redhat.com>
2086
2087 * arm-opc.h (arm_opcodes): Add cirrus insns.
2088
2089 * arm-dis.c (print_insn_arm): Add 'I' case.
2090
2091 2001-10-03 Alan Modra <amodra@bigpond.net.au>
2092
2093 * po/POTFILES.in: Regenerate.
2094 * configure: Regenerate.
2095
2096 2001-10-02 Alan Modra <amodra@bigpond.net.au>
2097
2098 * Makefile.am (Makefile): Depend on bfd/configure.in.
2099 Run "make dep-am".
2100 * Makefile.in: Regenerate.
2101
2102 2001-09-30 John Healy <jhealy@redhat.com>
2103
2104 * cgen-ibld.in (insert_1): Switched bfd_get_bits and bfd_set_bits
2105 calls to cgen_get_insn_value and cgen_put_insn_value calls.
2106 (extract_1): Switched bfd_get_bits call to cgen_get_insn_value call.
2107
2108 2001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
2109
2110 * Makefile.am: Update dependencies with "make dep-am".
2111 * Makefile.in: Regenerate.
2112
2113 2001-09-26 Alan Modra <amodra@bigpond.net.au>
2114
2115 * arc-dis.c: Formatting fixes.
2116 (my_sprintf): Define using VPARAMS, VA_OPEN, VA_FIXEDARG, VA_CLOSE.
2117
2118 2001-09-21 Bruno Haible <haible@clisp.cons.org>
2119
2120 * arc-dis.c: Don't include <ctype.h>.
2121 * openrisc-desc.c: Likewise.
2122 * openrisc-ibld.c: Likewise.
2123
2124 2001-09-20 Nick Clifton <nickc@cambridge.redhat.com>
2125
2126 * fr30-opc.c: Fix compile time warning messages.
2127 * i370-opc.c: Fix compile time warning messages.
2128 * i960-dis.c: Fix compile time warning messages.
2129 * m32r-asm.c: Fix compile time warning messages.
2130 * m32r-desc.c: Fix compile time warning messages.
2131 * m32r-dis.c: Fix compile time warning messages.
2132 * m32r-ibld.c: Fix compile time warning messages.
2133 * m32r-opc.c: Fix compile time warning messages.
2134 * m32r-opinst.c: Fix compile time warning messages.
2135 * ns32k-dis.c: Fix compile time warning messages.
2136 * openrisc-asm.c: Fix compile time warning messages.
2137 * openrisc-desc.c: Fix compile time warning messages.
2138 * openrisc-dis.c: Fix compile time warning messages.
2139 * openrisc-ibld.c: Fix compile time warning messages.
2140 * openrisc-opc.c: Fix compile time warning messages.
2141 * pdp11-dis.c: Fix compile time warning messages.
2142 * tic54x-dis.c: Fix compile time warning messages.
2143 * v850-opc.c: Fix compile time warning messages.
2144 * vax-dis.c: Fix compile time warning messages.
2145 * w65-opc.h: Fix compile time warning messages.
2146 * z8k-opc.h: Fix compile time warning messages.
2147 * z8kgen.c: Fix compile time warning messages.
2148
2149 2001-09-19 Nick Clifton <nickc@cambridge.redhat.com>
2150
2151 * arm-dis.c: Fix compile time warning messages.
2152 * cgen-asm.c: Fix compile time warning messages.
2153 * cgen-dis.c: Fix compile time warning messages.
2154 * cris-dis.c: Fix compile time warning messages.
2155 * d10v-dis.c: Fix compile time warning messages.
2156 * fr30-asm.c: Fix compile time warning messages.
2157 * fr30-desc.c: Fix compile time warning messages.
2158 * fr30-dis.c: Fix compile time warning messages.
2159 * fr30-ibld.c: Fix compile time warning messages.
2160
2161 2001-09-18 Bruno Haible <haible@clisp.cons.org>
2162
2163 * cgen-asm.c: Include "safe-ctype.h" instead of <ctype.h>.
2164 (cgen_parse_keyword): Use ISALNUM instead of isalnum.
2165 * cgen-opc.c: Include "safe-ctype.h" instead of <ctype.h>.
2166 (cgen_keyword_lookup_name): Use ISALPHA/TOLOWER instead of
2167 isalpha/tolower.
2168 (cgen_keyword_add): Use ISALNUM instead of isalnum.
2169 (hash_keyword_name): Use TOLOWER instead of tolower.
2170 * fr30-asm.c: Include "safe-ctype.h" instead of <ctype.h>.
2171 (parse_insn_normal): Use TOLOWER/ISSPACE instead of
2172 tolower/isspace.
2173 (fr30_cgen_assemble_insn): Use ISSPACE instead of isspace.
2174 * fr30-desc.c: Don't include <ctype.h>.
2175 * fr30-ibld.c: Likewise.
2176 * ia64-gen.c: Include "safe-ctype.h" instead of <ctype.h>.
2177 (load_insn_classes, parse_resource_users, load_depfile): Use
2178 ISSPACE instead of isspace.
2179 * m32r-asm.c: Include "safe-ctype.h" instead of <ctype.h>.
2180 (parse_insn_normal): Use TOLOWER/ISSPACE instead of
2181 tolower/isspace.
2182 (m32r_cgen_assemble_insn): Use ISSPACE instead of isspace.
2183 * m32r-desc.c: Don't include <ctype.h>.
2184 * m32r-ibld.c: Likewise.
2185 * openrisc-asm.c: Include "safe-ctype.h" instead of <ctype.h>.
2186 (parse_insn_normal): Use TOLOWER/ISSPACE instead of
2187 tolower/isspace.
2188 (openrisc_cgen_assemble_insn): Use ISSPACE instead of isspace.
2189
2190 2001-09-18 Martin Schwidefsky <schwidefsky@de.ibm.com>
2191
2192 * Makefile.am: Add rules and dependencies to create the s/390 opcode
2193 table out of s390-opc.txt automatically.
2194 * configure.in: Add BFD_CC_FOR_BUILD to allow CC_FOR_BUILD to be used.
2195 * s390-mkopc.c (dumpTable): Change output to create a complete file.
2196 * s390-opc.c: New improved opcode format macros and remove the
2197 pregenerated opcode table.
2198 * s390-opc.txt: Adapt to new improved opcode format macros.
2199
2200 2001-09-14 David Schleef <ds@schleef.org>
2201
2202 * ppc-opc.c (VXA, VXA_MASK): Fix mask bits.
2203
2204 2001-09-04 Alan Modra <amodra@bigpond.net.au>
2205
2206 * i386-dis.c (grps): Don't print the implicit al/ax/eax register
2207 for opcode 0xf6 or 0xf7 forms of mul, imul, div, idiv insns.
2208
2209 2001-08-31 Eric Christopher <echristo@redhat.com>
2210 Jason Eckhardt <jle@redhat.com>
2211
2212 * mips-dis.c: Add support for bfd_mach_mipsisa32 and
2213 bfd_mach_mipsisa64. Remove bfd_mach_mips32, bfd_mach_mips32_4k,
2214 bfd_mach_mips64.
2215
2216 2001-08-31 Andreas Jaeger <aj@suse.de>
2217
2218 * tic54x-opc.c: Add default initializers to avoid warnings.
2219
2220 * arc-opc.c: Include "sysdep.h" to get stdio.h as include file.
2221 * arc-ext.c: Likewise.
2222
2223 2001-08-28 matthew green <mrg@redhat.com>
2224
2225 * ppc-opc.c (icbt): Order correctly.
2226
2227 2001-08-27 David Edelsohn <dje@watson.ibm.com>
2228 Torbjorn Granlund <tege@swox.com>
2229
2230 * ppc-opc.c (DS): Add PPC_OPERAND_DS flag.
2231 (LS): Define.
2232 (insert_ds): Complain if not a multiple of 4.
2233 (XSYNC): Define.
2234 (XSYNC_MASK): Define.
2235 (powerpc_opcodes): Add "slbmte", "lwsync", "ptesync", "slbmfev",
2236 "slbmfee". Modify "sync" to use XSYNC_MASK and LS.
2237
2238 2001-08-26 Andreas Jaeger <aj@suse.de>
2239
2240 * h8500-opc.h: Add default initializers to h8500_table to shut up
2241 GCC warnings.
2242
2243 2001-08-25 Andreas Jaeger <aj@suse.de>
2244
2245 * tic54x-dis.c: Add unused attributes where needed.
2246
2247 * z8k-dis.c (output_instr): Add unused attribute.
2248
2249 * h8300-dis.c: Add missing prototypes.
2250 (bfd_h8_disassemble): Make static.
2251
2252 * cris-dis.c: Add missing prototype.
2253 * h8500-dis.c: Likewise.
2254 * m68hc11-dis.c: Likewise.
2255 * pj-dis.c: Likewise.
2256 * tic54x-dis.c: Likewise.
2257 * v850-dis.c: Likewise.
2258 * vax-dis.c: Likewise.
2259 * w65-dis.c: Likewise.
2260 * z8k-dis.c: Likewise.
2261
2262 * d10v-dis.c: Add missing prototype.
2263 (dis_long): Remove unused variable.
2264 (dis_2_short): Likewise.
2265
2266 * sh-dis.c: Add missing prototypes.
2267 * v850-opc.c: Likewise.
2268 Add unused attributes where needed.
2269
2270 * ns32k-dis.c: Add missing prototypes.
2271 (bit_extract_simple): Remove unused variable.
2272
2273 2001-08-23 Martin Schwidefsky <schwidefsky@de.ibm.com>
2274
2275 * s390-opc.c: Add "low or high" and "not low or high"
2276 branch instructions for gcc 3.0.
2277 * s390-opc.txt: Likewise.
2278
2279 2001-08-21 Andreas Jaeger <aj@suse.de>
2280
2281 * i960-dis.c: Add parameters for prototypes
2282 (ctrl): Add unused attributes.
2283 (cobr): Likewise.
2284 (put_abs): Likewise.
2285
2286 * mips-dis.c: Add missing prototypes.
2287 * a29k-dis.c: Likewise.
2288 * arc-dis.c: Likewise.
2289 * ia64-opc.c: Likewise.
2290
2291 * s390-dis.c: Add missing prototypes.
2292 (init_disasm): Remove unused attribute since the parameter is
2293 used.
2294
2295 2001-08-16 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2296
2297 * mips-opc.c (M1): Define. Reformatted Code.
2298 (mips_builtin_opcodes): Added performance counter opcodes mfpc, mfps,
2299 mtps, mtps. Typo.
2300
2301 2001-08-16 Jonathan Larmour <jlarmour@redhat.com>
2302
2303 * mips-opc.c: R3900s can support all branch likely INSN_MACROs where
2304 the corresponding non-likely insn is in MIPS I.
2305
2306 2001-08-13 Kazu Hirata <kazu@hxi.com>
2307
2308 * mcore-dis.c: Fix formatting.
2309 * mips-dis.c: Likewise.
2310 * pj-dis.c: Likewise.
2311 * z8k-dis.c: Likewise.
2312
2313 2001-08-12 Richard Henderson <rth@redhat.com>
2314
2315 * cgen-ibld.in (extract_normal): Match type of VALUE and MASK
2316 to *VALUEP. Regenerate all cgen files.
2317
2318 2001-08-10 Richard Sandiford <rsandifo@redhat.com>
2319
2320 * mips-dis.c (print_insn_mips): Remove OPCODE_IS_MEMBER's gp32
2321 argument.
2322 * mips-opc.c (G6): Undefine.
2323 (mips_builtin_opcodes): Remove gp32 entry for "move". Add macro
2324 as the first "move" alternative.
2325
2326 2001-08-10 Andreas Jaeger <aj@suse.de>
2327
2328 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
2329 to build warnings.
2330 * configure: Regenerate.
2331
2332 2001-08-10 Alan Modra <amodra@bigpond.net.au>
2333
2334 * ppc-opc.c: Revert 2001-08-08.
2335
2336 2001-08-09 Alan Modra <amodra@bigpond.net.au>
2337
2338 * dis-buf.c (generic_strcat_address): Add missing prototype.
2339 #if 0 the functions as it is unused.
2340
2341 2001-08-08 Alan Modra <amodra@bigpond.net.au>
2342
2343 1999-10-25 Torbjorn Granlund <tege@swox.com>
2344 * ppc-opc.c: Include "bfd.h".
2345 (powerpc_operands): Add new field for reloc type.
2346
2347 2001-07-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2348
2349 * mips-dis.c (print_insn_arg): Don't use software integer registers
2350 for coprocessor registers.
2351 (get_mips_isa): Removed.
2352 (is_newabi): New function, checks if NewABI is used.
2353 (_print_insn_mips): Get distinction between old ABI and new ABI right.
2354
2355 2001-08-01 Christian Groessler <cpg@aladdin.de>
2356
2357 * z8kgen.c: Fixed indentation of opt[] array. Include stdio.h to
2358 get stderr definition.
2359 (internal, gas): Removed warnings.
2360 (gas): Create a correct final entry for created array.
2361 * z8k-opc.h: Recreated with new z8kgen.
2362
2363 2001-07-28 Kazu Hirata <kazu@hxi.com>
2364
2365 * i386-dis.c: Fix formatting.
2366
2367 2001-07-28 Matthias Kramm <kramm@quiss.org>
2368
2369 * i386-dis.c: Change formatting conventions for architecture
2370 i386:intel to better match the format of various intel i386
2371 assemblers, like nasm, tasm or masm.
2372
2373 2001-07-24 Alan Modra <amodra@bigpond.net.au>
2374
2375 * Makefile.am: Update dependencies with "make dep-am".
2376 * Makefile.in: Regenerate
2377
2378 2001-07-24 Kazu Hirata <kazu@hxi.com>
2379
2380 * alpha-dis.c: Fix formatting.
2381 * cris-dis.c: Likewise.
2382 * d10v-dis.c: Likewise.
2383 * d30v-dis.c: Likewise.
2384 * m10300-dis.c: Likewise.
2385 * tic54x-dis.c: Likewise.
2386
2387 2001-07-23 Kazu Hirata <kazu@hxi.com>
2388
2389 * m68k-dis.c: Fix formatting.
2390 * pj-dis.c: Likewise.
2391 * s390-dis.c: Likewise.
2392 * z8k-dis.c: Likewise.
2393
2394 2001-07-21 Chris Demetriou <cgd@broadcom.com>
2395
2396 * mips-opc.c (mips_builtin_opcodes): Sort c.le.s and c.lt.s
2397 into the rest of the surrounding definitions.
2398
2399 2001-07-18 Alan Modra <amodra@bigpond.net.au>
2400
2401 * i386-dis.c (grps): Print l or w suffix, and require mem modrm
2402 for lgdt, lidt, sgdt, sidt.
2403
2404 2001-07-13 Philip Blundell <philb@gnu.org>
2405
2406 * arm-dis.c (print_insn_arm): Use decimal for offsets in LDR/STR.
2407
2408 2001-07-12 Jeff Johnston <jjohnstn@redhat.com>
2409
2410 * cgen-asm.in: Include "xregex.h" always to enable the libiberty
2411 regex support.
2412 (@arch@_cgen_build_insn_regex): New routine from Graydon.
2413 (@arch@_cgen_assemble_insn): Add Graydon's code to use regex
2414 to verify if it is worth parsing the insn as insn "x". Also update
2415 error message when insn is not a recognized format of the insn vs
2416 when the insn is completely unrecognized.
2417
2418 2001-07-11 Frank Ch. Eigler <fche@redhat.com>
2419
2420 * cgen-dis.in (print_insn): Use cgen_get_insn_value instead of
2421 bfd_get_bits.
2422 * cgen-opc.c (cgen_get_insn_value, cgen_put_insn_value): Respect
2423 non-zero CGEN_CPU_DESC->insn_chunk_bitsize.
2424
2425 2001-07-09 Andreas Jaeger <aj@suse.de>, Karsten Keil <kkeil@suse.de>
2426
2427 * i386-dis.c (set_op): Handle 64 bit and 32 bit mode.
2428 (OP_J): Use bfd_vma for mask to work properly with 64 bits.
2429 (op_address,op_riprel): Use bfd_vma to handle 64 bits.
2430
2431 2001-07-05 Ben Elliston <bje@redhat.com>
2432
2433 * Makefile.am (CPUDIR): Define.
2434 (stamp-m32r): Update dependencies.
2435 (stamp-fr30): Ditto.
2436 (stamp-openrisc): Ditto.
2437 * Makefile.in: Regenerate.
2438
2439 2001-07-03 Zoltan Hidvegi <hzoli@hzoli.2y.net>
2440
2441 * ppc-opc.c: Fix encoding of 'clf' instruction.
2442
2443 2001-06-30 Geoffrey Keating <geoffk@redhat.com>
2444
2445 * cgen-ibld.in (insert_normal): Support CGEN_IFLD_SIGN_OPT.
2446
2447 2001-06-28 Geoffrey Keating <geoffk@redhat.com>
2448
2449 * cgen-asm.c (cgen_parse_keyword): Allow any first character.
2450 * cgen-opc.c (cgen_keyword_add): Ignore special first
2451 character when building nonalpha_chars field.
2452
2453 2001-06-24 Ben Elliston <bje@redhat.com>
2454
2455 * m88k-dis.c: Format to conform to GNU coding standards.
2456
2457 2001-06-23 Andreas Jaeger <aj@suse.de>
2458
2459 * disassemble.c (disassembler_usage): Add unused attribute.
2460
2461 2001-06-22 Eric Christopher <echristo@redhat.com>
2462
2463 * mips-opc.c: Move prefx to start of the table.
2464
2465 2001-06-22 Stacey Sheldon <ssheldon@Catena.com>
2466
2467 * arc-opc.c (insert_st_syntax): Fix over-optimisation of ST
2468 instruction.
2469
2470 2001-06-22 Pauli <pauli@moreton.com.au>
2471
2472 * m68k-opc.c: Add wdebug instruction.
2473
2474 2001-06-15 Aldy Hernandez <aldyh@redhat.com>
2475
2476 * m10300-opc.c (mn10300_opcodes): Change opcode for AM33 subc.
2477
2478 2001-06-14 Geoffrey Keating <geoffk@redhat.com>
2479
2480 * cgen-asm.c (cgen_parse_keyword): When looking for the
2481 boundaries of a keyword, allow any special characters
2482 that are actually in one of the allowed keyword.
2483 * cgen-opc.c (cgen_keyword_add): Add any special characters
2484 to the nonalpha_chars field.
2485
2486 2001-06-12 Martin Schwidefsky <schwidefsky@de.ibm.com>
2487
2488 * s390-opc.c: Add lgh instruction.
2489 * s390-opc.txt: Likewise.
2490
2491 2001-06-11 Alan Modra <amodra@bigpond.net.au>
2492
2493 * i386-dis.c: Group function prototypes in one place.
2494 (FLOATCODE): Redefine as 1.
2495 (USE_GROUPS): Redefine as 2.
2496 (USE_PREFIX_USER_TABLE): Redefine as 3.
2497 (X86_64_SPECIAL): Define as 4.
2498 (GRP1b..GRPAMD): Move USE_GROUPS to bytecode1, index to bytecode2.
2499 (PREGRP0..PREGRP26): Similarly with USE_PREFIX_USER_TABLE.
2500 (dis386_att, dis386_intel, disx86_64_att, disx86_64_intel): Delete.
2501 (dis386): New table combining above four tables.
2502 (dis386_twobyte_att, dis386_twobyte_intel): Delete.
2503 (dis386_twobyte): New table combining above two tables.
2504 (x86_64_table): New table to handle x86_64.
2505 (X86_64_0): Define.
2506 (float_mem_att, float_mem_intel): Delet.
2507 (float_mem): New table combining above two tables.
2508 (print_insn_i386): Modify for above.
2509 (dofloat): Likewise.
2510 (putop): Handle '{', '|' and '}' to select alternative mnemonics.
2511 Return 0 on success, 1 if no valid alternative.
2512 (putop <case 'F'>, <case 'H'>): Print nothing for intel_syntax.
2513 (putop <case 'T'>): Move to case 'U', and share case 'Q' code.
2514 (putop <case 'I'>): Move to case 'T', and share case 'P' code.
2515 (OP_REG <case rAX_reg .. rDI_reg>): Handle as for eAX_reg .. eDI_reg
2516 if not 64-bit mode.
2517 (OP_I <case q_mode>): Handle as for v_mode if not 64-bit mode.
2518 (OP_I64): If not 64-bit mode, call OP_I.
2519 OP_OFF64): If not 64-bit mode, call OP_OFF.
2520 (OP_ST, OP_STi, OP_SEG, OP_DIR, OP_OFF, OP_OFF64, OP_MMX): Rename
2521 'ignore'/'ignored' to 'bytemode'.
2522
2523 2001-06-10 Alan Modra <amodra@bigpond.net.au>
2524
2525 * configure.in: Sort 'ta' case statement.
2526 * configure: Regenerate.
2527
2528 * i386-dis.c (dis386_att): Add 'H' to conditional branch and
2529 loop,jcxz insns.
2530 (disx86_64_att): Likewise.
2531 (dis386_twobyte_att): Likewise.
2532 (print_insn_i386): Don't print branch hints as a prefix.
2533 (putop): 'H' macro prints branch hints.
2534 (get64): Kill compile warnings.
2535
2536 2001-06-09 Alexandre Oliva <aoliva@redhat.com>
2537
2538 * sh-opc.h (sh_table): Don't use empty initializers.
2539
2540 2001-06-06 Christian Groessler <cpg@aladdin.de>
2541
2542 * z8k-dis.c: Fix formatting.
2543 (unpack_instr): Remove unused cases in switch statement. Add
2544 safety abort() in default case.
2545 (unparse_instr): Add safety abort() in default case.
2546
2547 2001-06-06 Peter Jakubek <pjak@snafu.de>
2548
2549 * m68k-dis.c (print_insn_m68k): Fix typo.
2550 * m68k-opc.c (m68k_opcodes): Correct allowed operands for
2551 mcf (ColdFire) div, rem and moveb instructions.
2552
2553 2001-06-06 Alan Modra <amodra@bigpond.net.au>
2554
2555 * i386-dis.c (cond_jump_flag, loop_jcxz_flag): Define.
2556 (cond_jump_mode, loop_jcxz_mode): Define.
2557 (dis386_att): Add cond_jump_flag and loop_jcxz_flag as
2558 appropriate, and 'F' suffix to loop insns.
2559 (disx86_64_att): Likewise.
2560 (dis386_twobyte_att): Likewise.
2561 (print_insn_i386): Don't output addr prefix for loop, jcxz insns.
2562 Output data size prefix for long conditional jumps. Output cs and
2563 ds branch hints.
2564 (putop): Handle 'F', and mark PREFIX_ADDR used for case 'E'.
2565 (OP_J): Don't make PREFIX_DATA used.
2566
2567 2001-06-04 Alexandre Oliva <aoliva@redhat.com>
2568
2569 * sh-opc.h (sh_table): Complete last element entry to avoid
2570 compiler warning.
2571
2572 2001-05-16 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2573
2574 * mips-dis.c (mips_isa_type): Add MIPS r12k support.
2575
2576 2001-05-23 Alan Modra <amodra@one.net.au>
2577
2578 * arc-opc.c: Whitespace changes.
2579
2580 2001-05-18 Hans-Peter Nilsson <hp@axis.com>
2581
2582 * cris-opc.c (cris_spec_regs): Add missing initializer field for
2583 last element.
2584
2585 2001-05-15 Frank Ch. Eigler <fche@redhat.com>
2586
2587 * cgen-dis.in (extract_normal): Complete support for min<base case.
2588
2589 2001-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2590
2591 * mips-dis.c (INSNLEN): Rename MAXLEN.
2592 (std_reg_names): Replace by mips32_reg_names and mips64_reg_names.
2593 (print_insn_arg): Remove $ prefix of register names.
2594 (set_mips_isa_type): Remove.
2595 (mips_isa_type): New function.
2596 (get_mips_isa): New Function.
2597 (print_insn_mips): Rename _print_insn_mips.
2598 (_print_insn_mips): New function, contains code which was
2599 duplicated in print_insn_big_mips and print_insn_little_mips.
2600 (print_insn_big_mips): Moved code to _print_insn_mips.
2601 (print_insn_little_mips): Likewise.
2602 (print_mips16_insn_arg): Remove $ prefix of register names.
2603 Print error message before abort.
2604
2605 2001-05-14 J.T. Conklin <jtc@redback.com>
2606
2607 * ppc-opc.c (powerpc_opcodes): Fixed extended opcode field of
2608 simplified mnemonics used for setting PPC750-specific special
2609 purpose registers.
2610
2611 2001-05-12 H.J. Lu <hjl@gnu.org>
2612
2613 * i386-dis.c (print_insn_i386): Always set `mod', `reg' and
2614 `rm'.
2615
2616 2001-05-12 Peter Targett <peter.targett@arccores.com>
2617
2618 * arc-opc.c (arc_reg_names): Correct attribute for lp_count
2619 register to r/w. Formatting fixes throughout file.
2620
2621 2001-05-12 Alan Modra <amodra@one.net.au>
2622
2623 * i386-dis.c (prefix_user_table): Correct movq2dq, movdq2q, and
2624 movq operands.
2625 (twobyte_has_modrm): Update table.
2626 (need_modrm): Give it file scope.
2627 (MODRM_CHECK): Define.
2628 (dofloat): Use MODRM_CHECK.
2629 (OP_E): Likewise.
2630 (OP_EM): Likewise.
2631 (OP_EX): Likewise.
2632
2633 2001-05-07 Frank Ch. Eigler <fche@redhat.com>
2634
2635 * cgen-dis.in (default_print_insn): Tolerate min<base instructions
2636 even at end of a section.
2637 * cgen-ibld.in (extract_normal): Tolerate min!=base!=max instructions
2638 by ignoring precariously-unpacked insn_value in favor of raw buffer.
2639
2640 2001-05-03 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2641
2642 * disassemble.c (disassembler_usage): Remove unused attribute.
2643
2644 2001-05-04 Frank Ch. Eigler <fche@redhat.com>
2645
2646 * m32r-dis.c, -asm.c, -ibld.c: Regenerated with disassembler fixes.
2647
2648 2001-05-04 Frank Ch. Eigler <fche@redhat.com>
2649
2650 * cgen-dis.in (print_insn): Remove call to read_insn. Instead,
2651 assume incoming buffer already has the base insn loaded. Handle
2652 smaller-than-base instructions for variable-length case.
2653
2654 2001-05-04 Alan Modra <amodra@one.net.au>
2655
2656 * i386-dis.c (Ev, Ed): Remove duplicate define.
2657 (Gd): Define.
2658 (XS): Define.
2659 (OP_XS): New function.
2660 (dis386_twobyte_att): Correct pinsrw, pextrw, pmovmskb, and
2661 movmskp operands.
2662 (dis386_twobyte_intel): Likewise.
2663 (prefix_user_table): Use MS for maskmovq operand.
2664
2665 2001-04-27 Johan Rydberg <jrydberg@opencores.org>
2666
2667 * Makefile.am: Add OpenRISC target.
2668 * Makefile.in: Regenerated.
2669
2670 * disassemble.c (disassembler): Recognize the OpenRISC disassembly.
2671
2672 * configure.in (bfd_openrisc_arch): Add target.
2673 * configure: Regenerated.
2674
2675 * openrisc-asm.c: New file.
2676 * openrisc-desc.c: Likewise.
2677 * openrisc-desc.h: Likewise.
2678 * openrisc-dis.c: Likewise.
2679 * openrisc-ibld.c: Likewise.
2680 * openrisc-opc.c: Likewise.
2681 * openrisc-opc.h: Likewise.
2682
2683 2001-04-24 Christian Groessler <cpg@aladdin.de>
2684
2685 * z8k-dis.c: add names of control registers (ctrl_names);
2686 (seg_length): provides instruction length fixup for segmented
2687 mode; (unpack_instr): correctly handle ARG_DISP16, ARG_DISP12,
2688 CLASS_0DISP7, CLASS_1DISP7, CLASS_DISP8 and CLASS_PR cases;
2689 (unparse_intr): handle CLASS_PR, print addresses without '#'
2690 * z8k-opc.h: re-created with new z8kgen
2691 * z8kgen.c: merged in fixes which were in existing z8k-opc.h; new
2692 entries for ldctl/ldctlb instruction
2693
2694 2001-04-06 Andreas Jaeger <aj@suse.de>
2695
2696 * i386-dis.c: Add ffreep instruction.
2697
2698 2001-03-30 Alexandre Oliva <aoliva@redhat.com>
2699
2700 * ppc-opc.c (insert_mbe): Shift mask initializer as long.
2701
2702 2001-03-24 Alan Modra <alan@linuxcare.com.au>
2703
2704 * i386-dis.c (PREGRP25): Define.
2705 (dis386_twobyte_att): Use here in place of "movntq" entry.
2706 (dis386_twobyte_intel): Likewise.
2707 (prefix_user_table): Add PREGRP25 entry for "movntq" and "movntdq".
2708 (PREGRP26): Define.
2709 (dis386_twobyte_att): Use here.
2710 (dis386_twobyte_intel): Likewise.
2711 (prefix_user_table): Add PREGRP26 entry for "punpcklqdq".
2712 (prefix_user_table <maskmovdqu>): XM operand, not MX.
2713 (prefix_user_table): Cosmetic changes to "bad" entries.
2714
2715 2001-03-23 Nick Clifton <nickc@redhat.com>
2716
2717 * mips-opc.c: Remove extraneous whitespace.
2718 * mips-dis.c: Remove extraneous whitespace.
2719
2720 2001-03-22 Ben Elliston <bje@redhat.com>
2721
2722 * cgen-asm.in (@arch@_cgen_assemble_insn): Move tmp_errmsg
2723 declaration inside CGEN_VERBOSE_ASSEMBLER_ERRORS conditional.
2724 * cgen-ibld.in (put_insn_int_value): Mark cd parameter as unused
2725 to allay a compiler warning.
2726
2727 2001-03-22 Alan Modra <alan@linuxcare.com.au>
2728
2729 * i386-dis.c (dis386_twobyte_att): Add entries for paddq, psubq.
2730 (dis386_twobyte_intel): Likewise.
2731 (twobyte_has_modrm): Set entry for paddq, psubq.
2732
2733 2001-03-20 Patrick Macdonald <patrickm@redhat.com>
2734
2735 * cgen-dis.in (print_insn_@arch@): Add support for target machine
2736 determination via CGEN_COMPUTE_MACH.
2737 * fr30-desc.c: Regenerate.
2738 * fr30-dis.c: Regenerate.
2739 * fr30-opc.h: Regenerate.
2740 * m32r-desc.c: Regenerate.
2741 * m32r-dis.c: Regenerate.
2742 * m32r-opc.h: Regenerate.
2743 * m32r-opinst.c: Regenerate.
2744
2745 2001-03-20 H.J. Lu <hjl@gnu.org>
2746
2747 * configure.in: Remove the redundent AC_ARG_PROGRAM.
2748 * configure: Rebuild.
2749
2750 2001-03-19 Jim Wilson <wilson@redhat.com>
2751
2752 * ia64-gen.c (fetch_insn_class): If xsect, then ignore comment and
2753 notestr if larger than xsect.
2754 (in_class): Handle format M5.
2755 * ia64-asmtab.c: Regnerate.
2756
2757 2001-03-19 John David Anglin <dave@hiauly1.hia.nrc.ca>
2758
2759 * vax-dis.c (print_insn_vax): Only fetch two bytes if the info buffer
2760 has more than one byte left to read.
2761
2762 2001-03-16 Martin Schwidefsky <schwidefsky@de.ibm.com>
2763
2764 * s390-opc.c: Add new opcodes. Smooth out formatting.
2765 * s390-opc.txt: Add new opcodes.
2766
2767 2001-03-06 Nick Clifton <nickc@redhat.com>
2768
2769 * arm-dis.c (print_insn_thumb): Compute destination address
2770 of BLX(1) instruction by taking bit 1 from PC and not from bit
2771 0 of the offset.
2772
2773 2001-03-06 Igor Shevlyakov <igor@windriver.com>
2774
2775 * m68k-dis.c (print_insn_m68k): Recognize Coldfire CPUs
2776 so command line switches will work.
2777
2778 2001-03-05 Dave Brolley <brolley@redhat.com>
2779
2780 * fr30-asm.c: Regenerate.
2781 * fr30-desc.c: Regenerate.
2782 * fr30-desc.h: Regenerate.
2783 * fr30-dis.c: Regenerate.
2784 * fr30-ibld.c: Regenerate.
2785 * fr30-opc.c: Regenerate.
2786 * fr30-opc.h: Regenerate.
2787 * m32r-asm.c: Regenerate.
2788 * m32r-desc.c: Regenerate.
2789 * m32r-desc.h: Regenerate.
2790 * m32r-dis.c: Regenerate.
2791 * m32r-ibld.c: Regenerate.
2792 * m32r-opc.c: Regenerate.
2793 * m32r-opc.h: Regenerate.
2794 * m32r-opinst.c: Regenerate.
2795
2796 2001-02-28 Igor Shevlyakov <igor@windriver.com>
2797
2798 * m68k-opc.c: fix cpushl according to Motorola. Enable
2799 bunch of instructions for Coldfire 5407 and add all new.
2800
2801 2001-02-27 Alan Modra <alan@linuxcare.com.au>
2802
2803 * configure.in (BFD_VERSION): Do without grep.
2804 * configure: Regenerate.
2805 * Makefile.am: Run "make dep-am".
2806 * Makefile.in: Regenerate.
2807
2808 2001-02-23 David Mosberger <davidm@hpl.hp.com>
2809
2810 * ia64-opc-a.c: Add missing pseudo-ops for "cmp" and "cmp4".
2811 * ia64-asmtab.c: Regenerate.
2812
2813 2001-02-21 David Mosberger <davidm@hpl.hp.com>
2814
2815 * ia64-opc-d.c (ia64_opcodes_d): Break the "add" pattern into two
2816 separate variants: one for IMM22 and the other for IMM14.
2817 * ia64-asmtab.c: Regenerate.
2818
2819 2001-02-21 Greg McGary <greg@mcgary.org>
2820
2821 * cgen-opc.c (cgen_get_insn_value): Add missing `return'.
2822
2823 2001-02-20 H.J. Lu <hjl@gnu.org>
2824
2825 * Makefile.am (ia64-ic.tbl): Remove the target.
2826 (ia64-raw.tbl): Likewise.
2827 (ia64-waw.tbl): Likewise.
2828 (ia64-war.tbl): Likewise.
2829 (ia64-asmtab.c): Generate it in the source directory.
2830 * Makefile.in: Regenerated.
2831
2832 2001-02-18 lars brinkhoff <lars@nocrew.org>
2833
2834 * Makefile.am: Add PDP-11 target.
2835 * configure.in: Likewise.
2836 * disassemble.c: Likewise.
2837 * pdp11-dis.c: New file.
2838 * pdp11-opc.c: New file.
2839
2840 2001-02-14 Jim Wilson <wilson@redhat.com>
2841
2842 * ia64-ic.tbl: Update from Intel. Add setf to fr-writers.
2843 * ia64-asmtab.c: Regenerate.
2844
2845 2001-02-12 Jan Hubicka <jh@suse.cz>
2846
2847 * i386-dis.c (prefix_user_t): Add 'Y' to SSE ineger converison
2848 instructions.
2849 (putop): Handle 'Y'
2850
2851 2001-02-11 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
2852
2853 * mips-dis.c (print_insn_arg): Use top four bits of the address of
2854 the following instruction not of the jump itself for the jump
2855 target.
2856 (print_mips16_insn_arg): Likewise.
2857
2858 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2859
2860 * Makefile.am (stamp-lib): ranlib the libopcodes.a in the build
2861 directory.
2862 * Makefile.in: Regenerate.
2863
2864 2001-02-09 Schwidefsky <schwidefsky@de.ibm.com>
2865
2866 * Makefile.am: Add linux target for S/390.
2867 * Makefile.in: Likewise.
2868 * configure.in: Likewise.
2869 * disassemble.c: Likewise.
2870 * s390-dis.c: New file.
2871 * s390-mkopc.c: New file.
2872 * s390-opc.c: New file.
2873 * s390-opc.txt: New file.
2874
2875 2001-02-05 Jim Wilson <wilson@redhat.com>
2876
2877 * ia64-asmtab.c: Revert 2000-12-16 change.
2878
2879 2001-02-02 Patrick Macdonald <patrickm@redhat.com>
2880
2881 * fr30-desc.h: Regenerate with CGEN_MAX_SYNTAX_ELEMENTS.
2882 * m32r-desc.h: Regenerate.
2883
2884 2001-02-01 Jan Hubicka <jh@suse.cz>
2885
2886 * i386-dis.c (dis386_att, grps): Use 'T' for push/pop
2887 (putop): Handle 'T', alphabetize order, fix 'I' handling in Intel syntax
2888
2889 2001-01-14 Alan Modra <alan@linuxcare.com.au>
2890
2891 * hppa-dis.c (print_insn_hppa): Handle '>' and '<' arg types.
2892
2893 2001-01-13 Nick Clifton <nickc@redhat.com>
2894
2895 * disassemble.c: Remove spurious white space.
2896
2897 2001-01-13 Jan Hubicka <jh@suse.cz>
2898
2899 * i386-dis.c (dis386_att, disx86_64_att): Fix ret, lret and iret
2900 templates.
2901
2902 2001-01-11 Peter Targett <peter.targett@arccores.com>
2903
2904 * configure.in: Add arc-ext.lo for bfd_arc_arch selection.
2905 * Makefile.am (C_FILES): Add arc-ext.c.
2906 (ALL_MACHINES) Add arc-ext.lo.
2907 (INCLUDES) Add opcode directory to list.
2908 New dependency entry for arc-ext.lo.
2909 * disassemble.c (disassembler): Correct call to
2910 arc_get_disassembler.
2911 * arc-opc.c: New update for ARC, including full base
2912 instructions for ARC variants.
2913 * arc-dis.h, arc-dis.c: New update for ARC, including
2914 extensibility functionality.
2915 * arc-ext.h, arc-ext.c: New files for handling extensibility.
2916
2917 2001-01-10 Jan Hubicka <jh@suse.cz>
2918
2919 * i386-dis.c (PREGRP15 - PREGRP24): New.
2920 (dis386_twobyt): Add SSE2 instructions.
2921 (twobyte_uses_SSE_prefix: Rename from ... ; add new SSE instructions.
2922 (twobyte_uses_f3_prefix): ... this one.
2923 (grps): Add SSE instructions.
2924 (prefix_user_table): Add two new slots; add SSE2 instructions.
2925 (print_insn_i386): Rename uses_f3_prefix to uses_SSE_prefix;
2926 Handle the REPNZ and Data16 prefixes as well; do proper lookup
2927 to prefix_user_table.
2928 (OP_E): Accept mfence and lfence as well.
2929 (OP_MMX): Data16 prefix turns MMX to SSE; support REX extensions.
2930 (OP_XMM): Support REX extensions.
2931 (OP_EM): Likewise.
2932 (OP_EX): Likewise.
2933
2934 2001-01-09 Nick Clifton <nickc@redhat.com>
2935
2936 * arm-dis.c (print_insn): Set pc to zero for instructions with
2937 a reloc associated with them.
2938
2939 2001-01-09 Jeff Johnston <jjohnstn@redhat.com>
2940
2941 * cgen-asm.in (parse_insn_normal): Changed syn to be
2942 CGEN_SYNTAX_CHAR_TYPE. Changed all references to *syn
2943 as character to use CGEN_SYNTAX_CHAR macro and all comparisons
2944 to '\0' to use 0 instead.
2945 * cgen-dis.in (print_insn_normal): Ditto.
2946 * cgen-ibld.in (insert_insn_normal, extract_insn_normal): Ditto.
2947
2948 2001-01-05 Jan Hubicka <jh@suse.cz>
2949
2950 * i386-dis.c: Add x86_64 support.
2951 (rex): New static variable.
2952 (REX_MODE64, REX_EXTX, REX_EXTY, REX_EXTZ): New constants.
2953 (USED_REX): New macro.
2954 (Ev, Ed, Rm, Iq, Iv64, Cm, Dm, Rm*, Ob64, Ov64): New macros.
2955 (OP_I64, OP_OFF64, OP_IMREG): New functions.
2956 (OP_REG, OP_OFF): Declare.
2957 (get64, get32, get32s): New functions.
2958 (r??_reg): New constants.
2959 (dis386_att): Change templates of instruction implicitly promoted
2960 to 64bit; change e?? to RMe?? for unwind RM byte instructions.
2961 (grps): Likewise.
2962 (dis386_intel): Likewise.
2963 (dixx86_64_att): New table based on dis386_att.
2964 (dixx86_64_intel): New table based on dis386_intel.
2965 (names64, names8rex): New global variable.
2966 (names32, names16): Add extended registers.
2967 (prefix_user_t): Recognize rex prefixes.
2968 (prefix_name): Print REX prefixes nicely.
2969 (op_riprel): New global variable.
2970 (start_pc): Set type to bfd_vma.
2971 (print_insn_i386): Detect the 64bit mode and use proper table;
2972 move ckprefix after initializing the buffer; output unused rex prefixes;
2973 output information about target of RIP relative addresses.
2974 (putop): Support 'O' and 'I'. Update handling of "P', 'Q', 'R' and 'S';
2975 (print_operand_value): New function.
2976 (OP_E, OP_G, OP_REG, OP_I, OP_J, OP_DIR, OP_OFF, OP_D): Add support for
2977 REX prefix and new modes.
2978 (get64, get32s): New.
2979 (get32): Return bfd_signed_vma type.
2980 (set_op): Initialize the op_riprel.
2981 * disassemble.c (disassembler): Recognize the x86-64 disassembly.
2982
2983 2001-01-03 Richard Sandiford <r.sandiford@redhat.com>
2984
2985 cgen-dis.in (read_insn): Use bfd_get_bits()
2986
2987 2001-01-02 Richard Sandiford <rsandifo@redhat.com>
2988
2989 * cgen-dis.c (hash_insn_array): Use bfd_put_bits().
2990 (hash_insn_list): Likewise
2991 * cgen-ibld.in (insert_1): Use bfd_put_bits() and bfd_get_bits().
2992 (extract_1): Use bfd_get_bits().
2993 (extract_normal): Apply sign extension to both extraction
2994 methods.
2995 * cgen-opc.c (cgen_get_insn_value): Use bfd_get_bits()
2996 (cgen_put_insn_value): Use bfd_put_bits()
2997
2998 2000-12-28 Frank Ch. Eigler <fche@redhat.com>
2999
3000 * cgen-asm.in (parse_insn_normal): Print better error message for
3001 instructions with missing operands.
3002
3003 2000-12-21 Santeri Paavolainen <santtu@ssh.com>
3004
3005 * cgen-opc.c: Include alloca.h if HAVE_ALLOCA_H is defined.
3006
3007 2000-12-16 Nick Clifton <nickc@redhat.com>
3008
3009 * Makefile.in: Regenerate.
3010 * aclocal.m4: Regenerate.
3011 * config.in: Regenerate.
3012 * configure.in: Add spacing.
3013 * configure: Regenerate.
3014 * ia64-asmtab.c: Regenerate.
3015 * po/opcodes.pot: Regenerate.
3016
3017 2000-12-12 Frank Ch. Eigler <fche@redhat.com>
3018
3019 * cgen-asm.in (@arch@_cgen_assemble_insn): Prefer printing insert-time
3020 error messages over later parse-time ones.
3021
3022 2000-12-12 Jim Wilson <wilson@redhat.com>
3023
3024 * ia64-dis.c (print_insn_ia64): Cast away const on ia64_free_opcode
3025 argument.
3026 * ia64-gen.c (insert_deplist): Cast sizeof result to int.
3027 (print_dependency_table): Print NULL if semantics field not set.
3028 (insert_opcode_dependencies): Mark cmp parameter as unused.
3029 (print_main_table): Use fprintf_vma to print long long fields.
3030 (main): Mark argv paramter as unused. Convert to old style definition.
3031 * ia64-opc.c (ia64_find_dependency): Cast sizeof result to int.
3032 * ia64-asmtab.c: Regnerate.
3033
3034 2000-12-09 Nick Clifton <nickc@redhat.com>
3035
3036 * m32r-dis.c (print_insn): Prevent re-read of instruction from
3037 wrong address.
3038
3039 * fr30-dis.c: Regenerate.
3040
3041 2000-12-08 Peter Targett <peter.targett@arccores.com>
3042
3043 * configure.in: Add arc-ext.lo for bfd_arc_arch selection.
3044 * Makefile.am (C_FILES): Add arc-ext.c.
3045 (ALL_MACHINES) Add arc-ext.lo.
3046 (INCLUDES) Add opcode directory to list.
3047 New dependency entry for arc-ext.lo.
3048 * disassemble.c (disassembler): Correct call to
3049 arc_get_disassembler.
3050 * arc-opc.c: New update for ARC, including full base
3051 instructions for ARC variants.
3052 * arc-dis.h, arc-dis.c: New update for ARC, including
3053 extensibility functionality.
3054 * arc-ext.h, arc-ext.c: New files for handling extensibility.
3055
3056 2000-12-03 Chris Demetriou cgd@sibyte.com
3057
3058 * mips-opc.c (mips_builtin_opcodes): Use the WR_HILO, RD_HILO,
3059 MOD_HILO, and MOD_LO macros.
3060
3061 * mips-opc.c (M1, M2): Delete.
3062 (mips_builtin_opcodes): Remove all uses of M1.
3063
3064 * mips-opc.c (mips_builtin_opcodes): Make the dmfc2 and dmtc2
3065 instructions take "G" format second operands and use the
3066 correct flags.
3067 There are mfc3 and mtc3 opcodes, so add dmfc3 and dmtc3 opcodes to
3068 match.
3069 Delete "sel" code operands from mfc1 and mtc1.
3070 Add MIPS64 opcode changes (dclo, dclz), and "sel" code variants
3071 for dm[ft]c[023].
3072
3073 2000-12-03 Ed Satterthwaite ehs@sibyte.com and
3074 Chris Demetriou cgd@sibyte.com
3075
3076 * mips-opc.c (mips_builtin_opcodes): Finish additions
3077 for MIPS32 support, and clean up existing entries for
3078 aesthetics, consistency with the MIPS32 ISA, and
3079 with consistency the rest of the table.
3080
3081 2000-12-01 Nick Clifton <nickc@redhat.com>
3082
3083 * mips16-opc.c (mips16_opcodes): Add initialiser for membership
3084 field.
3085
3086 2000-12-01 Chris Demetriou <cgd@sibyte.com>
3087
3088 mips-dis.c (print_insn_arg): Handle new 'U' and 'J' argument
3089 specifiers. Update 'B' for new constant names, and remove
3090 'm'.
3091 mips-opc.c (mips_builtin_opcodes): Place "pref" and "ssnop"
3092 near the top of the array, so they are disassembled properly.
3093 Enable "ssnop" for MIPS32. Add "break" variant with 20 bit
3094 code for MIPS32. Update "clo" and "clz" to use 'U' operand
3095 specifier. Add 'H' format specifier variants for "mfc1,"
3096 "mfc2," "mfc3," "mtc1," "mtc2," and "mtc3" for MIPS32. Update
3097 MIPS32 "sdbbp" to use 'B' operand specifier. Add MIPS32
3098 "wait" variant which uses 'J' operand specifier.
3099
3100 * mips-dis.c (set_mips_isa_type): Update to use
3101 CPU_UNKNOWN and ISA_* constants. Add bfd_mach_mips32 case.
3102 Replace bfd_mach_mips4K with bfd_mach_mips32_4k case.
3103 * mips-opc.c (I32): New constant for instructions added in
3104 MIPS32.
3105 (P4): Delete.
3106 (mips_builtin_opcodes) Replace all uses of P4 with I32.
3107
3108 * mips-dis.c (set_mips_isa_type): Add cases for
3109 bfd_mach_mips5 and bfd_mach_mips64.
3110 * mips-opc.c (I64): New definitions.
3111
3112 * mips-dis.c (set_mips_isa_type): Add case for
3113 bfd_mach_mips_sb1.
3114
3115 2000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
3116
3117 * sh-dis.c (print_insn_ddt): Make insn_x, insn_y unsigned.
3118 (print_insn_ppi): Make nib1, nib2, nib3 unsigned.
3119 Initialize variable dc to NULL.
3120 (print_insn_shx): Remove unused label d_reg_n.
3121
3122 2000-11-24 Nick Clifton <nickc@redhat.com>
3123
3124 * arm-opc.h: Add new opcode formatting parameter 'B'.
3125 (arm_opcodes): Add XScale, v5, and v5te instructions.
3126 (thumb_opcodes): Add v5t instructions.
3127
3128 * arm-dis.c (print_insn_arm): Handle new 'B' format
3129 parameter.
3130 (print_insn_thumb): Decode BLX(1) instruction.
3131
3132 2000-11-21 Chris Demetriou <cgd@sibyte.com>
3133
3134 * mips-opc.c: Fix file header comment.
3135
3136 2000-11-14 Hans-Peter Nilsson <hp@axis.com>
3137
3138 * cris-dis.c (cris_get_disassembler): If abfd is NULL, return
3139 print_insn_cris_with_register_prefix.
3140
3141 2000-11-11 Alexandre Oliva <aoliva@redhat.com>
3142
3143 * sh-opc.h: The operand of `mov.w r0, (<disp>,GBR)' is IMM1, not 0.
3144
3145 2000-11-07 Matthew Green <mrg@redhat.com>
3146
3147 * cgen-dis.in (print_insn): All insns which can fit into insn_value
3148 must be loaded there in their entirety.
3149
3150 2000-10-20 Jakub Jelinek <jakub@redhat.com>
3151
3152 * sparc-dis.c (v9a_asr_reg_names): Add v9b ASRs.
3153 (compute_arch_mask): Add v8plusb and v9b machines.
3154 (print_insn_sparc): siam mode decoding, accept ASRs up to 25.
3155 * sparc-opc.c: Support for Cheetah instruction set.
3156 (prefetch_table): Add #invalidate.
3157
3158 2000-10-16 Nick Clifton <nickc@redhat.com>
3159
3160 * mcore-dis.c (imsk): Change mask for OC to 0xFE00.
3161
3162 2000-10-06 Dave Brolley <brolley@redhat.com>
3163
3164 * fr30-desc.h: Regenerate.
3165 * m32r-desc.h: Regenerate.
3166 * m32r-ibld.c: Regenerate.
3167
3168 2000-10-05 Jim Wilson <wilson@redhat.com>
3169
3170 * ia64-ic.tbl: Update from Intel.
3171 * ia64-asmtab.c: Regenerate.
3172
3173 2000-10-04 Kazu Hirata <kazu@hxi.com>
3174
3175 * ia64-gen.c: Convert C++-style comments to C-style comments.
3176 * tic54x-dis.c: Likewise.
3177
3178 2000-09-29 Hans-Peter Nilsson <hp@axis.com>
3179
3180 Changes to add dollar prefix to registers for files where user symbols
3181 don't have a leading underscore. Fix formatting.
3182 * cris-dis.c (REGISTER_PREFIX_CHAR): New.
3183 (format_reg): Add parameter with_reg_prefix. All callers changed.
3184 (print_with_operands): Ditto.
3185 (print_insn_cris_generic): Renamed from print_insn_cris, add
3186 parameter with_reg_prefix.
3187 (print_insn_cris_with_register_prefix,
3188 print_insn_cris_without_register_prefix, cris_get_disassembler):
3189 New.
3190 * disassemble.c (disassembler) [ARCH_cris]: Call cris_get_disassembler.
3191
3192 2000-09-22 Jim Wilson <wilson@redhat.com>
3193
3194 * ia64-opc-f.c (ia64_opcodes_f): Add fpcmp pseudo-ops for
3195 gt, ge, ngt, and nge.
3196 * ia64-asmtab.c: Regenerate.
3197
3198 * ia64-dis.c (print_insn_ia64): Revert Aug 7 byte skip count change.
3199 * ia64-gen.c (parse_semantics): Handle IA64_DVS_STOP.
3200 (lookup_specifier): Handle "PR%, 1 to 15" and "PR%, 16 to 62".
3201 * ia64-ic.tbl, ia64-raw.tbl, ia64-war.tbl, ia64-waw.tbl: Update.
3202 * ia64-asmtab.c: Regnerate.
3203
3204 2000-09-13 Anders Norlander <anorland@acc.umu.se>
3205
3206 * mips-opc.c (mips_builtin_opcodes): Support cache instruction on 4K cores.
3207 Add mfc0 and mtc0 with sub-selection values.
3208 Add clo and clz opcodes.
3209 Add msub and msubu instructions for MIPS32.
3210 Add madd/maddu aliases for mad/madu for MIPS32.
3211 Support wait, deret, eret, movn, pref for MIPS32.
3212 Support tlbp, tlbr, tlbwi, tlbwr.
3213 (P4): New define.
3214
3215 * mips-dis.c (print_insn_arg): Print sdbbp 'm' args.
3216 (print_insn_arg): Handle 'H' args.
3217 (set_mips_isa_type): Recognize 4K.
3218 Use CPU_* defines instead of hardcoded numbers.
3219
3220 2000-09-11 Catherine Moore <clm@redhat.com>
3221
3222 * d30v-opc.c (d30v_operand_t): New operand type Rb2.
3223 (d30v_format_tab): Use Rb2 for modinc and moddec.
3224
3225 2000-09-07 Catherine Moore <clm@redhat.com>
3226
3227 * d30v-opc.c (d30v_format_tab): Use format Ra for
3228 modinc and moddec.
3229
3230 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
3231
3232 * configure: Rebuilt with new libtool.m4.
3233
3234 2000-09-05 Nick Clifton <nickc@redhat.com>
3235
3236 * configure: Regenerate.
3237 * po/opcodes.pot: Regenerate.
3238
3239 2000-08-31 Alexandre Oliva <aoliva@redhat.com>
3240
3241 * acinclude.m4: Include libtool and gettext macros from the
3242 top level.
3243 * aclocal.m4, configure: Rebuilt.
3244
3245 2000-08-30 Kazu Hirata <kazu@hxi.com>
3246
3247 * tic80-dis.c: Fix formatting.
3248
3249 2000-08-29 Kazu Hirata <kazu@hxi.com>
3250
3251 * w65-dis.c: Fix formatting.
3252
3253 2000-08-28 Mark Hatle <mhatle@mvista.com>
3254
3255 * ppc-opc.c: Add XTLB macro for a few PPC 4xx extended mnemonics.
3256 (powerpc_opcodes): Add table entries for PPC 405 instructions.
3257 Changed rfci, icbt, mfdcr, dccci, mtdcr, iccci from PPC to PPC403
3258 instructions. Added extended mnemonic mftbl as defined in the
3259 405GP manual for all PPCs.
3260
3261 2000-08-28 Jim Wilson <wilson@redhat.com>
3262
3263 * ia64-dis.c (print_insn_ia64): Add failed label after ia64_free_opcode
3264 call. Change last goto to use failed instead of done.
3265
3266 2000-08-28 Dave Brolley <brolley@redhat.com>
3267
3268 * cgen-ibld.in (cgen_put_insn_int_value): New function.
3269 (insert_normal): Allow for non-zero word_offset with CGEN_INT_INSN_P.
3270 (insert_insn_normal): Use cgen_put_insn_int_value with CGEN_INT_INSN_P.
3271 (extract_normal): Allow for non-zero word_offset with CGEN_INT_INSN_P.
3272 * cgen-dis.in (read_insn): New static function.
3273 (print_insn): Use read_insn to read the insn into the buffer and set
3274 up for disassembly.
3275 (print_insn): in CGEN_INT_INSN_P, make sure that the entire insn is
3276 in the buffer.
3277 * fr30-asm.c: Regenerated.
3278 * fr30-desc.c: Regenerated.
3279 * fr30-desc.h: Regenerated.
3280 * fr30-dis.c: Regenerated.
3281 * fr30-ibld.c: Regenerated.
3282 * fr30-opc.c: Regenerated.
3283 * fr30-opc.h: Regenerated.
3284 * m32r-asm.c: Regenerated.
3285 * m32r-desc.c: Regenerated.
3286 * m32r-desc.h: Regenerated.
3287 * m32r-dis.c: Regenerated.
3288 * m32r-ibld.c: Regenerated.
3289 * m32r-opc.c: Regenerated.
3290
3291 2000-08-28 Kazu Hirata <kazu@hxi.com>
3292
3293 * tic30-dis.c: Fix formatting.
3294
3295 2000-08-27 Kazu Hirata <kazu@hxi.com>
3296
3297 * sh-dis.c: Fix formatting.
3298
3299 2000-08-24 David Edelsohn <dje@watson.ibm.com>
3300
3301 * ppc-opc.c (powerpc_opcodes): Add rfid, mtsrd, mtsrdin, mtmsrd.
3302
3303 2000-08-24 Kazu Hirata <kazu@hxi.com>
3304
3305 * z8k-dis.c: Fix formatting.
3306
3307 2000-08-16 Jim Wilson <wilson@redhat.com>
3308
3309 * ia64-ic.tbl (pr-readers-nobr-nomovpr): Add addl, adds. Delete
3310 break, mov-immediate, nop.
3311 * ia64-opc-f.c: Delete fpsub instructions.
3312 * ia64-opc-m.c: Add POSTINC to all instructions with postincrement
3313 address operand. Rewrite using macros to avoid long lines.
3314 * ia64-opc.h (POSTINC): Define.
3315 * ia64-asmtab.c: Regenerate.
3316
3317 2000-08-15 Jim Wilson <wilson@redhat.com>
3318
3319 * ia64-ic.tbl: Add missing entries.
3320
3321 2000-08-08 Jason Eckhardt <jle@redhat.com>
3322
3323 * i860-dis.c (print_br_address): Change third argument from int
3324 to long.
3325
3326 2000-08-07 Richard Henderson <rth@redhat.com>
3327
3328 * ia64-dis.c (print_insn_ia64): Get byte skip count correct
3329 for MLI templates. Handle IA64_OPND_TGT64.
3330
3331 2000-08-04 Ben Elliston <bje@redhat.com>
3332
3333 * cgen-dis.in, cgen-asm.in, cgen-ibld.in: New files.
3334 * cgen.sh: Likewise.
3335
3336 2000-08-02 Jim Wilson <wilson@redhat.com>
3337
3338 * ia64-dis.c (print_insn_ia64): Call ia64_free_opcode at end.
3339
3340 2000-07-29 Marek Michalkiewicz <marekm@linux.org.pl>
3341
3342 * avr-dis.c (avr_operand): Use PARAMS macro in declaration.
3343 Change return type from void to int. Check the combination
3344 of operands, return 1 if valid. Fix to avoid BUF overflow.
3345 Report undefined combinations of operands in COMMENT.
3346 Report internal errors to stderr. Output the adiw/sbiw
3347 constant operand in both decimal and hex.
3348 (print_insn_avr): Disassemble ldd/std with displacement of 0
3349 as ld/st. Check avr_operand () return value, handle invalid
3350 combinations of operands like unknown opcodes.
3351
3352 2000-07-28 Ben Elliston <bje@redhat.com>
3353
3354 * Makefile.am (CGEN, CGENDEPS, CGENDIR, CGENFLAGS): New.
3355 (run-cgen, stamp-m32r, stamp-fr30): New targets.
3356 * Makefile.in: Regenerate.
3357 * configure.in: Add --enable-cgen-maint option.
3358 * configure: Regenerate.
3359
3360 2000-07-26 Dave Brolley <brolley@redhat.com>
3361
3362 * cgen-opc.c (cgen_hw_lookup_by_name): 'i' is now unsigned.
3363 (cgen_hw_lookup_by_num): Ditto.
3364 (cgen_operand_lookup_by_name): Ditto.
3365 (print_address): Ditto.
3366 (print_keyword): Ditto.
3367 * cgen-dis.c (hash_insn_array): Mark unused parameters with
3368 ATTRIBUTE_UNUSED.
3369 * cgen-asm.c (hash_insn_array): Mark unused parameters with
3370 ATTRIBUTE_UNUSED.
3371 (cgen_parse_keyword): Ditto.
3372
3373 2000-07-22 Jason Eckhardt <jle@redhat.com>
3374
3375 * i860-dis.c: New file.
3376 (print_insn_i860): New function.
3377 (print_br_address): New function.
3378 (sign_extend): New function.
3379 (BITWISE_OP): New macro.
3380 (I860_REG_PREFIX): New macro.
3381 (grnames, frnames, crnames): New structures.
3382
3383 * disassemble.c (ARCH_i860): Define.
3384 (disassembler): Add check for bfd_arch_i860 to set disassemble
3385 function to print_insn_i860.
3386
3387 * Makefile.in (CFILES): Added i860-dis.c.
3388 (ALL_MACHINES): Added i860-dis.lo.
3389 (i860-dis.lo): New dependences.
3390
3391 * configure.in: New bits for bfd_i860_arch.
3392
3393 * configure: Regenerated.
3394
3395 2000-07-20 Hans-Peter Nilsson <hp@axis.com>
3396
3397 * Makefile.am (CFILES): Add cris-dis.c and cris-opc.c.
3398 (ALL_MACHINES): Add cris-dis.lo and cris-opc.lo.
3399 (cris-dis.lo, cris-opc.lo): New rules.
3400 * Makefile.in: Rebuild.
3401 * configure.in (bfd_cris_arch): New target.
3402 * configure: Rebuild.
3403 * disassemble.c (ARCH_cris): Define.
3404 (disassembler): Support ARCH_cris.
3405 * cris-dis.c, cris-opc.c: New files.
3406 * po/POTFILES.in, po/opcodes.pot: Regenerate.
3407
3408 2000-07-11 Jakub Jelinek <jakub@redhat.com>
3409
3410 * sparc-opc.c (sparc_opcodes): popc has 0 in rs1, not rs2.
3411 Reported by Bill Clarke <llib@computer.org>.
3412
3413 2000-07-09 Geoffrey Keating <geoffk@redhat.com>
3414
3415 * ppc-opc.c (powerpc_opcodes): Correct suffix for vslw.
3416 Patch by Randall J Fisher <rfisher@ecn.purdue.edu>.
3417
3418 2000-07-09 Alan Modra <alan@linuxcare.com.au>
3419
3420 * hppa-dis.c (fput_reg, fput_fp_reg, fput_fp_reg_r, fput_creg,
3421 fput_const, extract_3, extract_5_load, extract_5_store,
3422 extract_5r_store, extract_5R_store, extract_10U_store,
3423 extract_5Q_store, extract_11, extract_14, extract_16, extract_21,
3424 extract_12, extract_17, extract_22): Prototype.
3425 (print_insn_hppa): Rename inner block opcode -> opc to avoid
3426 shadowing outer block.
3427 (GET_BIT): Define.
3428
3429 2000-07-05 DJ Delorie <dj@redhat.com>
3430
3431 * MAINTAINERS: new
3432
3433 2000-07-04 Alexandre Oliva <aoliva@redhat.com>
3434
3435 * arm-dis.c (print_insn_arm): Output combinations of PSR flags.
3436
3437 2000-07-03 Marek Michalkiewicz <marekm@linux.org.pl>
3438
3439 * avr-dis.c (avr_operand): Change _ () to _() around all strings
3440 marked for translation (exception from the usual coding style).
3441 (print_insn_avr): Initialize insn2 to avoid warnings.
3442
3443 2000-07-03 Kazu Hirata <kazu@hxi.com>
3444
3445 * h8300-dis.c (bfd_h8_disassemble): Improve readability.
3446 * h8500-dis.c: Fix formatting.
3447
3448 2000-07-01 Alan Modra <alan@linuxcare.com.au>
3449
3450 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
3451 (CLEANFILES): Add DEPA.
3452 * Makefile.in: Regenerate.
3453
3454 2000-06-26 Scott Bambrough <scottb@netwinder.org>
3455
3456 * arm-dis.c (regnames): Add an additional register set to match
3457 the set used by GCC. Make it the default.
3458
3459 2000-06-22 Alan Modra <alan@linuxcare.com.au>
3460
3461 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
3462 find one.
3463 * Makefile.in: Regenerate.
3464
3465 2000-06-20 H.J. Lu <hjl@gnu.org>
3466
3467 * Makefile.am: Rebuild dependency.
3468 * Makefile.in: Rebuild.
3469
3470 2000-06-18 Stephane Carrez <stcarrez@worldnet.fr>
3471
3472 * Makefile.in, configure: regenerate
3473 * disassemble.c (disassembler): Recognize ARCH_m68hc12,
3474 ARCH_m68hc11.
3475 * m68hc11-dis.c (read_memory, print_insn, print_insn_m68hc12):
3476 New functions.
3477 * configure.in: Recognize m68hc12 and m68hc11.
3478 * m68hc11-dis.c, m68hc11-opc.c: New files for support of m68hc1x
3479 * Makefile.am (CFILES, ALL_MACHINES): New files for disassembly
3480 and opcode generation for m68hc11 and m68hc12.
3481
3482 2000-06-16 Nick Duffek <nsd@redhat.com>
3483
3484 * disassemble.c (disassembler): Refer to the PowerPC 620 using
3485 bfd_mach_ppc_620 instead of 620.
3486
3487 2000-06-12 Kazu Hirata <kazu@hxi.com>
3488
3489 * h8300-dis.c: Fix formatting.
3490 (bfd_h8_disassemble): Distinguish adds/subs, inc/dec.[wl]
3491 correctly.
3492
3493 2000-06-09 Denis Chertykov <denisc@overta.ru>
3494
3495 * avr-dis.c (avr_operand): Bugfix for jmp/call address.
3496
3497 2000-06-07 Denis Chertykov <denisc@overta.ru>
3498
3499 * avr-dis.c: completely rewritten.
3500
3501 2000-06-02 Kazu Hirata <kazu@hxi.com>
3502
3503 * h8300-dis.c: Follow the GNU coding style.
3504 (bfd_h8_disassemble) Fix a typo.
3505
3506 2000-06-01 Kazu Hirata <kazu@hxi.com>
3507
3508 * h8300-dis.c (bfd_h8_disassemble_init): Fix a typo.
3509 (bfd_h8_disassemble): Distinguish the operand size of inc/dev.[wl]
3510 correctly. Fix a typo.
3511
3512 2000-05-31 Nick Clifton <nickc@redhat.com>
3513
3514 * opintl.h (_(String)): Explain why dgettext is used instead of
3515 gettext.
3516
3517 2000-05-30 Nick Clifton <nickc@redhat.com>
3518
3519 * opintl.h (gettext, dgettext, dcgettext, textdomain,
3520 bindtextdomain): Replace defines with those from intl/libgettext.h
3521 to quieten gcc warnings.
3522
3523 2000-05-26 Alan Modra <alan@linuxcare.com.au>
3524
3525 * Makefile.am: Update dependencies with "make dep-am"
3526 * Makefile.in: Regenerate.
3527
3528 2000-05-25 Alexandre Oliva <aoliva@redhat.com>
3529
3530 * m10300-dis.c (disassemble): Don't assume 32-bit longs when
3531 sign-extending operands.
3532
3533 2000-05-15 Donald Lindsay <dlindsay@redhat.com>
3534
3535 * d10v-opc.c (d10v_opcodes): add ALONE tag to all short branches
3536 except brf's.
3537
3538 2000-05-21 Nick Clifton <nickc@redhat.com>
3539
3540 * Makefile.am (LIBIBERTY): Define.
3541
3542 2000-05-19 Diego Novillo <dnovillo@redhat.com>
3543
3544 * mips-dis.c (REGISTER_NAMES): Rename to STD_REGISTER_NAMES.
3545 (STD_REGISTER_NAMES): New name for REGISTER_NAMES.
3546 (reg_names): Rename to std_reg_names. Change it to a char **
3547 static variable.
3548 (std_reg_names): New name for reg_names.
3549 (set_mips_isa_type): Set reg_names to point to std_reg_names by
3550 default.
3551
3552 2000-05-16 Frank Ch. Eigler <fche@redhat.com>
3553
3554 * fr30-desc.h: Partially regenerated to account for changed
3555 CGEN_MAX_* -> CGEN_ACTUAL_MAX_* macros.
3556 * m32r-desc.h: Ditto.
3557
3558 2000-05-15 Nick Clifton <nickc@redhat.com>
3559
3560 * arm-opc.h: Use upper case for flasg in MSR and MRS
3561 instructions. Allow any bit to be set in the field_mask of
3562 the MSR instruction.
3563
3564 * arm-dis.c (print_insn_arm): Decode _x and _s bits of the
3565 field_mask of an MSR instruction.
3566
3567 2000-05-11 Thomas de Lellis <tdel@windriver.com>
3568
3569 * arm-opc.h: Disassembly of thumb ldsb/ldsh
3570 instructions changed to ldrsb/ldrsh.
3571
3572 2000-05-11 Ulf Carlsson <ulfc@engr.sgi.com>
3573
3574 * mips-dis.c (print_insn_arg): Don't mask top 32 bits of 64-bit
3575 target addresses for 'jal' and 'j'.
3576
3577 2000-05-10 Geoff Keating <geoffk@redhat.com>
3578
3579 * ppc-opc.c (powerpc_opcodes): Make the predicted-branch opcodes
3580 also available in common mode when powerpc syntax is being used.
3581
3582 2000-05-08 Alan Modra <alan@linuxcare.com.au>
3583
3584 * m68k-dis.c (dummy_printer): Add ATTRIBUTE_UNUSED to args.
3585 (dummy_print_address): Ditto.
3586
3587 2000-05-04 Timothy Wall <twall@redhat.com>
3588
3589 * tic54x-opc.c: New.
3590 * tic54x-dis.c: New.
3591 * disassemble.c (disassembler): Add ARCH_tic54x.
3592 * configure.in: Added tic54x target.
3593 * configure: Ditto.
3594 * Makefile.am: Add tic54x dependencies.
3595 * Makefile.in: Ditto.
3596
3597 2000-05-03 J.T. Conklin <jtc@redback.com>
3598
3599 * ppc-opc.c (VA, VB, VC, VD, VS, SIMM, UIMM, SHB): New macros, for
3600 vector unit operands.
3601 (VX, VX_MASK, VXA, VXA_MASK, VXR, VXR_MASK): New macros, for vector
3602 unit instruction formats.
3603 (PPCVEC): New macro, mask for vector instructions.
3604 (powerpc_operands): Add table entries for above operand types.
3605 (powerpc_opcodes): Add table entries for vector instructions.
3606
3607 * ppc-dis.c (print_insn_big_powerpc): Add PPC_OPCODE_ALTIVEC to mask.
3608 (print_insn_little_powerpc): Likewise.
3609 (print_insn_powerpc): Prepend 'v' when printing vector registers.
3610
3611 2000-04-24 Clinton Popetz <cpopetz@redhat.com>
3612
3613 * configure.in: Add bfd_powerpc_64_arch.
3614 * disassemble.c (disassembler): Use print_insn_big_powerpc for
3615 64 bit code.
3616
3617 2000-04-24 Nick Clifton <nickc@redhat.com>
3618
3619 * fr30-desc.c (fr30_cgen_cpu_open): Initialise signed_overflow
3620 field.
3621
3622 2000-04-23 Denis Chertykov <denisc@overta.ru>
3623
3624 * avr-dis.c (reg_fmul_d): New. Extract destination register from
3625 FMUL instruction.
3626 (reg_fmul_r): New. Extract source register from FMUL instruction.
3627 (reg_muls_d): New. Extract destination register from MULS instruction.
3628 (reg_muls_r): New. Extract source register from MULS instruction.
3629 (reg_movw_d): New. Extract destination register from MOVW instruction.
3630 (reg_movw_r): New. Extract source register from MOVW instruction.
3631 (print_insn_avr): Handle MOVW, MULS, MULSU, FMUL, FMULS, FMULSU,
3632 EICALL, EIJMP, LPM r,Z, ELPM r,Z, SPM, ESPM instructions.
3633
3634 2000-04-22 Timothy Wall <twall@redhat.com>
3635
3636 * ia64-gen.c (general): Add an ordered table of primary
3637 opcode names, as well as priority fields to disassembly data
3638 structures to enforce a preferred disassembly format based on the
3639 ordering of the opcode tables.
3640 (load_insn_classes): Show a useful message if IC tables are missing.
3641 (load_depfile): Ditto.
3642 * ia64-asmtab.h (struct ia64_dis_names ): Add priority flag to
3643 distinguish preferred disassembly.
3644 * ia64-opc-f.c: Reorder some insn for preferred disassembly
3645 format. Fix incorrect flag on fma.s/fma.s.s0.
3646 * ia64-opc.c: Scan *all* disassembly matches and use the one with
3647 the highest priority.
3648 * ia64-opc-b.c: Use more abbreviations.
3649 * ia64-asmtab.c: Regenerate.
3650
3651 2000-04-21 Jason Eckhardt <jle@redhat.com>
3652
3653 * hppa-dis.c (extract_16): New function.
3654 (print_insn_hppa): Fix incorrect handling of 'fe'. Added handling of
3655 new operand types l,y,&,fe,fE,fx.
3656
3657 2000-04-21 Richard Henderson <rth@redhat.com>
3658 David Mosberger <davidm@hpl.hp.com>
3659 Timothy Wall <twall@redhat.com>
3660 Bob Manson <manson@charmed.cygnus.com>
3661 Jim Wilson <wilson@redhat.com>
3662
3663 * Makefile.am (HFILES): Add ia64-asmtab.h, ia64-opc.h.
3664 (CFILES): Add ia64-dis.c, ia64-opc-a.c, ia64-opc-b.c, ia64-opc-f.c,
3665 ia64-opc-i.c, ia64-opc-m.c, ia64-opc-d.c, ia64-opc.c, ia64-gen.c,
3666 ia64-asmtab.c.
3667 (ALL_MACHINES): Add ia64-dis.lo, ia64-opc.lo.
3668 (ia64-ic.tbl, ia64-raw.tbl, ia64-waw.tbl, ia64-war.tbl, ia64-gen,
3669 ia64-gen.o, ia64-asmtab.c, ia64-dis.lo, ia64-opc.lo): New rules.
3670 * Makefile.in: Rebuild.
3671 * configure Rebuild.
3672 * configure.in (bfd_ia64_arch): New target.
3673 * disassemble.c (ARCH_ia64): Define.
3674 (disassembler): Support ARCH_ia64.
3675 * ia64-asmtab.c, ia64-asmtab.h, ia64-dis.c, ia64-gen.c ia64-ic.tbl,
3676 ia64-opc-a.c, ia64-opc-b.c, ia64-opc-d.c ia64-opc-f.c, ia64-opc-i.c,
3677 ia64-opc-m.c, ia64-opc-x.c, ia64-opc.c, ia64-opc.h, ia64-raw.tbl,
3678 ia64-war.tbl, ia64-waw.tbl: New files.
3679
3680 2000-04-20 Alexandre Oliva <aoliva@redhat.com>
3681
3682 * m10300-dis.c (HAVE_AM30, HAVE_AM33): Define.
3683 (disassemble): Use them.
3684
3685 2000-04-14 Alan Modra <alan@linuxcare.com.au>
3686
3687 * sysdep.h: Include "ansidecl.h" not <ansidecl.h>
3688 * Makefile.am: Update dependencies.
3689 * Makefile.in: Regenerate.
3690
3691 2000-04-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3692
3693 * a29k-dis.c, alpha-dis.c, alpha-opc.c, arc-dis.c, arc-opc.c,
3694 avr-dis.c, d10v-dis.c, d10v-opc.c, d30v-dis.c, d30v-opc.c,
3695 disassemble.c, h8300-dis.c, h8500-dis.c, hppa-dis.c, i370-dis.c,
3696 i370-opc.c, i960-dis.c, m10200-dis.c, m10200-opc.c, m10300-dis.c,
3697 m10300-opc.c, m68k-dis.c, m68k-opc.c, m88k-dis.c, mcore-dis.c,
3698 mips-dis.c, mips-opc.c, mips16-opc.c, pj-dis.c, pj-opc.c,
3699 ppc-dis.c, ppc-opc.c, sh-dis.c, sparc-dis.c, sparc-opc.c,
3700 tic80-dis.c, tic80-opc.c, v850-dis.c, v850-opc.c, vax-dis.c,
3701 w65-dis.c, z8k-dis.c, z8kgen.c: Include sysdep.h. Remove
3702 ansidecl.h as sysdep.h includes it.
3703
3704 2000-04-7 Andrew Cagney <cagney@b1.redhat.com>
3705
3706 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
3707 --enable-build-warnings option.
3708 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
3709 * Makefile.in, configure: Re-generate.
3710
3711 2000-04-05 J"orn Rennecke <amylaar@redhat.com>
3712
3713 * sh-opc.h (sh_table): Use A_DISP_PC / PCRELIMM_8BY2 for ldre & ldrs.
3714 stc GBR,@-<REG_N> is available for arch_sh1_up.
3715 Group parallel processing insn with identical mnemonics together.
3716 Make three-operand psha / pshl come first.
3717
3718 2000-04-05 J"orn Rennecke <amylaar@redhat.co.uk>
3719
3720 * sh-opc.h (sh_nibble_type): Remove DISP_8 and DISP_4.
3721 Split IMM_[48]{,BY[24]} into IMM[01]_[48]{,BY[24]}. Add REPEAT.
3722 (sh_arg_type): Add A_PC.
3723 (sh_table): Update entries using immediates. Add repeat.
3724 * sh-dis.c (print_insn_shx): Remove DISP_8 and DISP_4.
3725 Split IMM_[48]{,BY[24]} into IMM[01]_[48]{,BY[24]}. Add REPEAT.
3726
3727 2000-04-04 Alan Modra <alan@linuxcare.com.au>
3728
3729 * po/opcodes.pot: Regenerate.
3730
3731 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
3732 (DEP): Quote when passing vars to sub-make. Add warning message
3733 to end.
3734 (DEP1): Rewrite for "gcc -MM".
3735 (CLEANFILES): Add DEP2.
3736 Update dependencies.
3737 * Makefile.in: Regenerate.
3738
3739 2000-04-03 Denis Chertykov <denisc@overta.ru>
3740
3741 * avr-dis.c: Syntax cleanup.
3742 (add0fff): Print the pc relative address as a signed number.
3743 (add03f8): Likewise.
3744
3745 2000-04-01 Ian Lance Taylor <ian@zembu.com>
3746
3747 * disassemble.c (disassembler_usage): Don't use a prototype. Mark
3748 the parameter ATTRIBUTE_UNUSED.
3749 * ppc-opc.c: Add ATTRIBUTE_UNUSED as needed.
3750
3751 2000-04-01 Alexandre Oliva <aoliva@redhat.com>
3752
3753 * m10300-opc.c: SP-based offsets are always unsigned.
3754
3755 2000-03-29 Thomas de Lellis <tdel@windriver.com>
3756
3757 * arm-opc.h (thumb_opcodes): Disassemble 0xde.. to "bal"
3758 [branch always] instead of "undefined".
3759
3760 2000-03-27 Nick Clifton <nickc@redhat.com>
3761
3762 * d30v-opc.c (d30v_format_table): Move SHORT_AR to end of list of
3763 short instructions, from end of list of long instructions.
3764
3765 2000-03-27 Ian Lance Taylor <ian@zembu.com>
3766
3767 * Makefile.am (CFILES): Add avr-dis.c.
3768 (ALL_MACHINES): Add avr-dis.lo.
3769
3770 2000-03-27 Alan Modra <alan@linuxcare.com>
3771
3772 * avr-dis.c (add0fff, add03f8): Don't use structure bitfields to
3773 truncate integers.
3774 (print_insn_avr): Call function via pointer in K&R compatible way.
3775 (dispLDD, regPP, reg50, reg104, reg40, reg20w, lit404, lit204,
3776 add0fff, add03f8): Convert to old style function declaration and
3777 add prototype.
3778 (avrdis_opcode): Add prototype.
3779
3780 2000-03-27 Denis Chertykov <denisc@overta.ru>
3781
3782 * avr-dis.c: New file. AVR disassembler.
3783 * configure.in (bfd_avr_arch): New architecture support.
3784 * disassemble.c: Likewise.
3785 * configure: Regenerate.
3786
3787 2000-03-06 J"oern Rennecke <amylaar@redhat.com>
3788
3789 * sh-opc.h (sh_table): ldre and ldrs have a *signed* displacement.
3790
3791 2000-03-02 J"orn Rennecke <amylaar@redhat.co.uk>
3792
3793 * d30v-dis.c (print_insn): Remove d*i hacks. Use per-operand
3794 flag to determine if operand is pc-relative.
3795 * d30v-opc.c:
3796 (d30v_format_table):
3797 (REL6S3): Renamed from IMM6S3.
3798 Added flag OPERAND_PCREL.
3799 (REL12S3, REL18S3, REL32): Split from IMM12S3, IMM18S3, REL32, with
3800 added flag OPERAND_PCREL.
3801 (IMM12S3U): Replaced with REL12S3.
3802 (SHORT_D2, LONG_D): Delay target is pc-relative.
3803 (SHORT_B2r, SHORT_B3r, SHORT_B3br, SHORT_D2r, LONG_Ur, LONG_2r):
3804 Split from SHORT_B2, SHORT_D2, SHORT_B3b, SHORT_D2, LONG_U, LONG_2r,
3805 using the REL* operands.
3806 (LONG_2br, LONG_Dr): Likewise, from LONG_2b, LONG_D.
3807 (SHORT_D1r, SHORT_D2Br, LONG_Dbr): Renamed from SHORT_D1, SHORT_D2B,
3808 LONG_Db, using REL* operands.
3809 (SHORT_U, SHORT_A5S): Removed stray alternatives.
3810 (d30v_opcode_table): Use new *r formats.
3811
3812 2000-02-28 Nick Clifton <nickc@redhat.com>
3813
3814 * m32r-desc.c (m32r_cgen_cpu_open): Replace 'flags' with
3815 'signed_overflow_ok_p'.
3816
3817 2000-02-27 Eli Zaretskii <eliz@is.elta.co.il>
3818
3819 * Makefile.am (stamp-lib): Use $(LIBTOOL) --config to get the
3820 name of the libtool directory.
3821 * Makefile.in: Rebuild.
3822
3823 2000-02-24 Nick Clifton <nickc@redhat.com>
3824
3825 * cgen-opc.c (cgen_set_signed_overflow_ok): New function.
3826 (cgen_clear_signed_overflow_ok): New function.
3827 (cgen_signed_overflow_ok_p): New function.
3828
3829 2000-02-23 Andrew Haley <aph@redhat.com>
3830
3831 * m32r-asm.c, m32r-desc.c, m32r-desc.h, m32r-dis.c,
3832 m32r-ibld.c, m32r-opc.h: Rebuild.
3833
3834 2000-02-23 Linas Vepstas <linas@linas.org>
3835
3836 * i370-dis.c, i370-opc.c: New.
3837
3838 * disassemble.c (ARCH_i370): Define.
3839 (disassembler): Handle it.
3840
3841 * Makefile.am: Add support for Linux/IBM 370.
3842 * configure.in: Likewise.
3843
3844 * Makefile.in: Regenerate.
3845 * configure: Likewise.
3846
3847 2000-02-22 Chandra Chavva <cchavva@redhat.com>
3848
3849 * d30v-opc.c (d30v_opcode_tab) : Added FLAG_NOT_WITH_ADDSUBppp to
3850 ST2H, STB, STH, STHH, STW and ST2H opcodes to prohibit parallel
3851 procedure.
3852
3853 2000-02-22 Andrew Haley <aph@redhat.com>
3854
3855 * mips-dis.c (_print_insn_mips): New arg for OPCODE_IS_MEMBER:
3856 force gp32 to zero.
3857 * mips-opc.c (G6): New define.
3858 (mips_builtin_op): Add "move" definition for -gp32.
3859
3860 2000-02-22 Ian Lance Taylor <ian@zembu.com>
3861
3862 From Grant Erickson <gerickso@Brocade.COM>:
3863 * ppc-opc.c: Correct dcread--it takes 3 arguments, not 2.
3864
3865 2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
3866
3867 * dis-buf.c (buffer_read_memory): Change `length' param and all int
3868 vars to unsigned.
3869
3870 2000-02-17 J"orn Rennecke <amylaar@redhat.co.uk>
3871
3872 * sh-dis.c (print_movxy, print_insn_ddt, print_dsp_reg): New functions.
3873 (print_insn_ppi): Likewise.
3874 (print_insn_shx): Use info->mach to select appropriate insn set.
3875 Add support for sh-dsp. Remove FD_REG_N support.
3876 * sh-opc.h (sh_nibble_type): Add new values for sh-dsp support.
3877 (sh_arg_type): Likewise. Remove FD_REG_N.
3878 (sh_dsp_reg_nums): New enum.
3879 (arch_sh1, arch_sh2, arch_sh3, arch_sh3e, arch_sh4): New macros.
3880 (arch_sh_dsp, arch_sh3_dsp, arch_sh1_up, arch_sh2_up): Likewise.
3881 (arch_sh3_up, arch_sh3e_up, arch_sh4_up, arch_sh_dsp_up): Likewise.
3882 (arch_sh3_dsp_up): Likewise.
3883 (sh_opcode_info): New field: arch.
3884 (sh_table): Split up insn with FD_REG_N into ones with F_REG_N and
3885 D_REG_N. Fill in arch field. Add sh-dsp insns.
3886
3887 2000-02-14 Fernando Nasser <fnasser@totem.to.redhat.com>
3888
3889 * arm-dis.c: Change flavor name from atpcs-special to
3890 special-atpcs to prevent name conflict in gdb.
3891 (get_arm_regname_num_options, set_arm_regname_option,
3892 get_arm_regnames): New functions. API to access the several
3893 flavor of register names. Note: Used by gdb.
3894 (print_insn_thumb): Use the register name entry from the currently
3895 selected flavor for LR and PC.
3896
3897 2000-02-10 Nick Clifton <nickc@redhat.com>
3898
3899 * mcore-opc.h (enum mcore_opclass): Add MULSH and OPSR
3900 classes.
3901 (mcore_table): Add "idly4", "psrclr", "psrset", "mulsh" and
3902 "mulsh.h" instructions.
3903 * mcore-dis.c (imsk array): Add masks for MULSH and OPSR
3904 classes.
3905 (print_insn_mcore): Add support for little endian targets.
3906 Add support for MULSH and OPSR classes.
3907
3908 2000-02-07 Nick Clifton <nickc@redhat.com>
3909
3910 * arm-dis.c (parse_arm_diassembler_option): Rename again.
3911 Previous delat did not take.
3912
3913 2000-02-03 Timothy Wall <twall@redhat.com>
3914
3915 * dis-buf.c (buffer_read_memory): Use octets_per_byte field
3916 to adjust target address bounds checking and calculate the
3917 appropriate octet offset into data.
3918
3919 2000-01-27 Nick Clifton <nickc@redhat.com>
3920
3921 * arm-dis.c: (parse_disassembler_option): Rename to
3922 parse_arm_disassembler_option and allow to be exported.
3923
3924 * disassemble.c (disassembler_usage): New function: Print out any
3925 target specific disassembler options.
3926 Call arm_disassembler_options() if the ARM architecture is being
3927 supported.
3928
3929 * arm-dis.c (NUM_ELEM): Define this macro if not already
3930 defined.
3931 (arm_regname): New struct type for ARM register names.
3932 (arm_toggle_regnames): Delete.
3933 (parse_disassembler_option): Use register name structure.
3934 (print_insn): New function: Combines duplicate code found in
3935 print_insn_big_arm and print_insn_little_arm.
3936 (print_insn_big_arm): Call print_insn.
3937 (print_insn_little_arm): Call print_insn.
3938 (print_arm_disassembler_options): Display list of supported,
3939 ARM specific disassembler options.
3940
3941 2000-01-27 Thomas de Lellis <tdel@windriver.com>
3942
3943 * arm-dis.c (printf_insn_big_arm): Treat ELF symbols with the
3944 ARM_STT_16BIT flag as Thumb code symbols.
3945
3946 * arm-dis.c (printf_insn_little_arm): Ditto.
3947
3948 2000-01-25 Thomas de Lellis <tdel@windriver.com>
3949
3950 * arm-dis.c (printf_insn_thumb): Prevent double dumping
3951 of raw thumb instructions.
3952
3953 2000-01-20 Nick Clifton <nickc@redhat.com>
3954
3955 * mcore-opc.h (mcore_table): Add "add" as an alias for "addu".
3956
3957 2000-01-03 Nick Clifton <nickc@cygnus.com>
3958
3959 * arm-dis.c (streq): New macro.
3960 (strneq): New macro.
3961 (force_thumb): ew local variable.
3962 (parse_disassembler_option): New function: Parse a single, ARM
3963 specific disassembler command line switch.
3964 (parse_disassembler_option): Call parse_disassembler_option to
3965 parse individual command line switches.
3966 (print_insn_big_arm): Check force_thumb.
3967 (print_insn_little_arm): Check force_thumb.
3968
3969 For older changes see ChangeLog-9899
3970 \f
3971 Local Variables:
3972 mode: change-log
3973 left-margin: 8
3974 fill-column: 74
3975 version-control: never
3976 End:
This page took 0.125857 seconds and 4 git commands to generate.