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