* d10v-dis.c (print_operand): Apply REGISTER_MASK to `num' of
[deliverable/binutils-gdb.git] / opcodes / ChangeLog
1 2001-12-04 Alexandre Oliva <aoliva@redhat.com>
2
3 * d10v-dis.c (print_operand): Apply REGISTER_MASK to `num' of
4 unmatched register.
5
6 * d10v-dis.c (print_operand): Disregard OPERAND_SP in register
7 predefined value.
8
9 * d10v-opc.c (RSRC_NOSP): New macro.
10 (d10v_operands): Add it.
11 (d10v_opcodes): Use RSRC_NOSP in post-decrement "st" and "st2w".
12
13 2001-11-29 Alexandre Oliva <aoliva@redhat.com>
14
15 * d10v-opc.c (d10v_predefined_registers): Mark `sp' as OPERAND_SP.
16 (RSRC_SP): New macro.
17 (d10v_operands): Add it.
18 (d10v_opcodes): Adjust "st" and "st2w" to use RSRC_SP.
19
20 2001-11-23 Lars Brinkhoff <lars@nocrew.org>
21
22 * pdp11-dis.c (print_insn_pdp11): Handle illegal instructions.
23 Also, break out of the loop as soon as an instruction has been
24 printed.
25
26 2001-11-17 matthew green <mrg@redhat.com>
27
28 * ppc-opc.c (mfvrsave, mtvrsave): New instructions.
29
30 2001-11-15 Alan Modra <amodra@bigpond.net.au>
31
32 * po/POTFILES.in: Regenerate.
33
34 * ppc-opc.c (PPC64): Revert 2001-10-12. Do include PPC_OPCODE_PPC.
35 (insert_bat, extract_bat, insert_bba, extract_bba,
36 insert_bd, extract_bd, insert_bdm, extract_bdm,
37 insert_bdp, extract_bdp, valid_bo,
38 insert_bo, extract_bo, insert_boe, extract_boe,
39 insert_ds, extract_ds, insert_de, extract_de,
40 insert_des, extract_des, insert_li, extract_li,
41 insert_mbe, extract_mbe, insert_mb6, extract_mb6,
42 insert_nb, extract_nb, insert_nsi, extract_nsi,
43 insert_ral, insert_ram, insert_ras,
44 insert_rbs, extract_rbs, insert_sh6, extract_sh6,
45 insert_spr, extract_spr, insert_tbr, extract_tbr): Add dialect param.
46 (extract_bd, extract_bdm, extract_bdp,
47 extract_ds, extract_des,
48 extract_li, extract_nsi): Implement sign extension without conditional.
49 (insert_bdm, extract_bdm,
50 insert_bdp, extract_bdp, valid_bo): Handle 64 bit branch hints.
51 (extract_bdm, extract_bdp): Correct 32 bit validation.
52 (AT1_MASK, AT2_MASK): Define.
53 (BBOAT_MASK): Define.
54 (BBOATCB_MASK, BBOAT2CB_MASK, BBOATBI_MASK): Define.
55 (BOFM64, BOFP64, BOTM64, BOTP64): Define.
56 (BODNZM64, BODNZP64, BODZM64, BODZP64): Define.
57 (PPCCOM32, PPCCOM64): Define.
58 (powerpc_opcodes): Modify existing 32 bit insns with branch hints
59 and add new patterns to implement 64 bit branches with hints. Move
60 booke instructions so they match before ppc64.
61
62 * ppc-dis.c (powerpc_dialect): Set PPC_OPCODE_64 in dialect for
63 64 bit default targets, and parse "32" and "64" in options.
64 Formatting fixes.
65 (print_insn_powerpc): Pass dialect to operand->extract.
66
67 2001-11-14 Dave Brolley <brolley@redhat.com>
68
69 * cgen-dis.c (count_decodable_bits): New function.
70 (add_insn_to_hash_chain): New function.
71 (hash_insn_array): Call add_insn_to_hash_chain.
72 (hash_insn_list): Call add_insn_to_hash_chain.
73 * m32r-dis.c: Regenerated.
74 * fr30-dis.c: Regenerated.
75
76 2001-11-14 Andreas Jaeger <aj@suse.de>
77
78 * i386-dis.c (print_insn): Use x86-64 as option.
79
80 2001-11-14 Alan Modra <amodra@bigpond.net.au>
81
82 * disassemble.c (disassembler): Call print_insn_i386.
83 * i386-dis.c (SUFFIX_ALWAYS): Define.
84 (struct dis_private): Add orig_sizeflag.
85 (print_insn_i386): Make it a wrapper, calling..
86 (print_insn): ..The old body of print_insn_i386. Avoid longjmp
87 warning without using volatile by moving orig_sizeflag to priv,
88 and removing inbuf. Parse disassembler_options.
89 (print_insn_i386_att, print_insn_i386_intel): Move initialisation
90 code to print_insn.
91 (putop): Remove #ifdef SUFFIX_ALWAYS.
92
93 2001-11-11 Timothy Wall <twall@alum.mit.edu>
94
95 * tic54x-dis.c: Use revised opcode structure. Export opcode
96 template lookup.
97 (has_lkaddr): Don't forget about Lmem insns.
98 * tic54x-opc.c: Add emulation trap. Parallel table now uses
99 standard opcode templates.
100
101 2001-11-13 Zack Weinberg <zack@codesourcery.com>
102
103 * i386-dis.c (grps): Change "sldt", "str", and "smsw" entries
104 to "sldtQ", "strQ", "smswQ" respectively; all with Ev operand
105 category instead of Ew.
106
107 2001-11-12 Niraj Gupta <ngupta@zumanetworks.com>
108
109 * m68k-opc.c: Fix definitions of wddata[bwl].
110
111 2001-11-09 Richard Sandiford <rsandifo@redhat.com>
112
113 * cgen-asm.c (cgen_parse_keyword): If the keyword is too big to
114 fit in the buffer, try to match the empty keyword.
115
116 2001-11-09 Nick Clifton <nickc@cambridge.redhat.com>
117
118 * cgen-ibld.in (extract_1): Fix badly placed #if 0.
119 * fr30-ibld.c: Regenerate.
120 * m32r-ibld.c: Regenerate.
121 * openrisc-ibld.c: Regenerate.
122
123 2001-11-04 Chris Demetriou <cgd@broadcom.com>
124
125 * mips-dis.c (print_insn_mips): Remove spaces at end of line.
126
127 2001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
128
129 * configure.in (ALL_LINGUAS): Add "fr", "sv" and "tr".
130 * configure: Regernate.
131 * po/fr.po: New file.
132 * po/sv.po: New file.
133 * po/tr.po: New file.
134
135 2001-11-01 Stephane Carrez <Stephane.Carrez@worldnet.fr>
136
137 * m68hc11-dis.c (print_insn): Fix disassembly of movb with a
138 constant as source.
139
140 2001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
141
142 * Makefile.am (CFILES): Add mmix-dis.c and mmix-opc.c. Regenerate
143 dependencies.
144 * Makefile.in: Regenerate.
145 * mmix-dis.c, mmix-opc.c: New files.
146
147 2001-10-29 Kazu Hirata <kazu@hxi.com>
148
149 * d30v-dis.c: Fix a comment typo.
150
151 2001-10-23 Chris Demetriou <cgd@broadcom.com>
152
153 * mips-opc.c (mips_builtin_opcodes): Mark "bgezall" and
154 "bltzall" as writing GPR 31 (since they do).
155
156 * mips-dis.c (print_insn_arg): Calculate info->target
157 where appropriate.
158 (print_insn_mips): Fill in instruction info.
159 (print_mips16_insn_arg): Remove unneded variable 'val'.
160 Removed duplicated instruction target calculations,
161 calculate once and print that result. Use same idiom for
162 masking the jump segment bits as is used in print_insn_arg.
163
164 2001-10-20 Alan Modra <amodra@bigpond.net.au>
165
166 * ppc-opc.c (CT): Make it an optional operand.
167
168 2001-10-17 Chris Demetriou <cgd@broadcom.com>
169
170 * mips-dis.c (mips_isa_type): Make the ISA used to disassemble
171 SB-1 binaries include instructions specific to the SB-1.
172 * mips-opc.c (SB1): New definition.
173 (mips_builtin_opcodes): Add SB-1 extension opcodes "div.ps",
174 "recip.ps", "rsqrt.ps", and "sqrt.ps".
175
176 2001-10-17 matthew green <mrg@redhat.com>
177
178 * ppc-opc.c (STRM): New AltiVec operand.
179 (XDSS): New AltiVec instruction form.
180 (mtvscr): Correct operand list.
181 (dst, dstt, dstst, dststt, dss, dssall): AltiVec instructions.
182
183 2001-10-17 Alan Modra <amodra@bigpond.net.au>
184
185 * po/POTFILES.in: Regenerate.
186
187 2001-10-13 matthew green <mrg@redhat.com>
188
189 * ppc-opc.c (MO): New macro for MO field of mbar instruction.
190 (powerpc_opcodes): Add rfci, wrtee, wrteei, mfdcrx, mfdcr,
191 mtdcrx, mtdcr, msync, dcba and mbar as BookE instructions.
192
193 2001-10-13 Nick Clifton <nickc@cambridge.redhat.com>
194
195 * cgen-ibld.in: Include safe-ctype.h in preference to
196 ctype.h.
197 * cgen-asm.in: Include safe-ctype.h in preference to
198 ctype.h. Fix formatting. Use ISSPACE instead of isspace and
199 TOLOWER instead of tolower.
200 (@arch@_cgen_build_insn_regex): Remove duplication of syntax
201 string elements in constructed regular expression.
202 * fr30-asm.c: Regenerate.
203 * fr30-desc.c: Regenerate.
204 * fr30-ibld.c: Regenerate.
205 * m32r-asm.c: Regenerate.
206 * m32r-desc.c: Regenerate.
207 * m32r-ibld.c: Regenerate.
208 * openrisc-asm.c: Regenerate.
209 * openrisc-desc.c: Regenerate.
210 * openrisc-ibld.c: Regenerate.
211 * po/opcodes.pot: Regenerate.
212
213 2001-10-12 matthew green <mrg@redhat.com>
214
215 * ppc-opc.c (insert_de, extract_de, insert_des, extract_des): New
216 instruction field instruction/extraction functions for new BookE
217 DE form instructions.
218 (CT): New macro for CT field in an X form instruction.
219 (DE, DES, DEO, DE_MASK): New macros for DE/DES fields in DE form
220 instructions.
221 (PPC64): Don't include PPC_OPCODE_PPC.
222 (403): New opcode macro for PPC403 processors.
223 (BOOKE): New opcode macro for BookE processors.
224 (bce, bcel, bcea, bcela, bclre, bclrel: New BookE instructions.
225 (bcctre, bcctrel, be, bel, bea, bela, icbt, icbte, lwzxe): Likewise.
226 (dcbste, lwzuxe, luxe, dcbfe, lbzxe, lwarxe, lbzuxe): Likewise.
227 (stwcxe, stwxe, stxe, stwuxe, stuxe, stbxe, dcbtste, stbuxe): Likewise.
228 (mfapidi, dcbte, lhzxe, lhzuxe, lhaxe, lhauxe, subfe64): Likewise.
229 (subfeo64, adde64, addeo64, sthxe, sthuxe, subfze64): Likewise.
230 (subfzeo64, addze64, addzeo64, dcbie, subfme64, subfmeo64): Likewise.
231 (addme64, addmeo64, stdcxe., mcrxr64, lwbrxe, lfsxe, lfsuxe): Likewise.
232 (lfdxe, lfduxe, stwbrxe, stfsxe, stfsuxe, stfdxe, dcbae): Likewise.
233 (stfduxe, tlbivax, tlbivaxe, lhbrxe, ldxe, lduxe, tlbsx): Likewise.
234 (tlbsxe, sthbrxe, stdxe, stduxe, icbie, stfiwxe, dcbze, lbze): Likewise.
235 (lbzue, ldue, lhze, lhzue, lhae, lhaue, lwze, lwzue): Likewise.
236 (stbe, stbue, sthe, sthue, stwe, stwue, lfse, lfsue, lfde): Likewise.
237 (lfdue, stde, stdue, stfse, stfsue, stfde, stfdue): Likewise.
238
239 * ppc-dis.c (print_insn_big_powerpc, print_insn_little_powerpc): Look
240 for a disassembler option of `booke', `booke32' or `booke64' to enable
241 BookE support in the disassembler.
242
243 2001-10-12 John Healy <jhealy@redhat.com>
244
245 * cgen-dis.in (print_insn): Use min (cd->base_insn_bitsize, buflen*8)
246 for the length when extracting the base part of the insn.
247
248 2001-10-09 Bruno Haible <haible@clisp.cons.org>
249
250 * cgen-asm.in (*_cgen_build_insn_regex): Generate a case sensitive
251 regular expression. Fix some formatting problems.
252 * fr30-asm.c: Regenerate.
253 * openrisc-asm.c: Regenerate.
254 * m32r-asm.c: Regenerate.
255
256 2001-10-09 Christian Groessler <cpg@aladdin.de>
257
258 * z8k-dis.c (unparse_instr): Fixed formatting. Change disassembly
259 of indirect register memory accesses to be same format the
260 assembler accepts.
261
262 2001-10-09 Nick Clifton <nickc@cambridge.redhat.com>
263
264 * sh-opc.h: Fix encoding of least significant nibble of the
265 DSP single data transfer instructions.
266
267 * sh-dis.c (print_insn_shx): Fix decoding of As opcode in DSP
268 instructions.
269
270 2001-10-08 Nick Clifton <nickc@cambridge.redhat.com>
271
272 * cgen-asm.in: Fix compile time warning messages in generated
273 C files.
274 * cgen-dis.in: The same.
275 * cgen-ibld.in: The same.
276 * fr30-asm.c: Regenerate.
277 * fr30-desc.c: Regenerate.
278 * fr30-dis.c: Regenerate.
279 * fr30-ibld.c: Regenerate.
280 * fr30-opc.c: Regenerate.
281 * m32r-asm.c: Regenerate.
282 * m32r-desc.c: Regenerate.
283 * m32r-dis.c: Regenerate.
284 * m32r-ibld.c: Regenerate.
285 * m32r-opc.c: Regenerate.
286 * m32r-opinst.c Regenerate.
287 * openrisc-asm.c: Regenerate.
288 * openrisc-desc.c: Regenerate.
289 * openrisc-dis.c: Regenerate.
290 * openrisc-ibld.c: Regenerate.
291 * openrisc-opc.c: Regenerate.
292 * openrisc-opc.h: Regenerate.
293 * Makefile.in: Regenerate.
294 * po/POTFILES.in: Regenerate.
295 * po/opcodes.pot: Regenerate.
296
297 2001-10-08 Aldy Hernandez <aldyh@redhat.com>
298
299 * arm-opc.h (arm_opcodes): Add cirrus insns.
300
301 * arm-dis.c (print_insn_arm): Add 'I' case.
302
303 2001-10-03 Alan Modra <amodra@bigpond.net.au>
304
305 * po/POTFILES.in: Regenerate.
306 * configure: Regenerate.
307
308 2001-10-02 Alan Modra <amodra@bigpond.net.au>
309
310 * Makefile.am (Makefile): Depend on bfd/configure.in.
311 Run "make dep-am".
312 * Makefile.in: Regenerate.
313
314 2001-09-30 John Healy <jhealy@redhat.com>
315
316 * cgen-ibld.in (insert_1): Switched bfd_get_bits and bfd_set_bits
317 calls to cgen_get_insn_value and cgen_put_insn_value calls.
318 (extract_1): Switched bfd_get_bits call to cgen_get_insn_value call.
319
320 2001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
321
322 * Makefile.am: Update dependencies with "make dep-am".
323 * Makefile.in: Regenerate.
324
325 2001-09-26 Alan Modra <amodra@bigpond.net.au>
326
327 * arc-dis.c: Formatting fixes.
328 (my_sprintf): Define using VPARAMS, VA_OPEN, VA_FIXEDARG, VA_CLOSE.
329
330 2001-09-21 Bruno Haible <haible@clisp.cons.org>
331
332 * arc-dis.c: Don't include <ctype.h>.
333 * openrisc-desc.c: Likewise.
334 * openrisc-ibld.c: Likewise.
335
336 2001-09-20 Nick Clifton <nickc@cambridge.redhat.com>
337
338 * fr30-opc.c: Fix compile time warning messages.
339 * i370-opc.c: Fix compile time warning messages.
340 * i960-dis.c: Fix compile time warning messages.
341 * m32r-asm.c: Fix compile time warning messages.
342 * m32r-desc.c: Fix compile time warning messages.
343 * m32r-dis.c: Fix compile time warning messages.
344 * m32r-ibld.c: Fix compile time warning messages.
345 * m32r-opc.c: Fix compile time warning messages.
346 * m32r-opinst.c: Fix compile time warning messages.
347 * ns32k-dis.c: Fix compile time warning messages.
348 * openrisc-asm.c: Fix compile time warning messages.
349 * openrisc-desc.c: Fix compile time warning messages.
350 * openrisc-dis.c: Fix compile time warning messages.
351 * openrisc-ibld.c: Fix compile time warning messages.
352 * openrisc-opc.c: Fix compile time warning messages.
353 * pdp11-dis.c: Fix compile time warning messages.
354 * tic54x-dis.c: Fix compile time warning messages.
355 * v850-opc.c: Fix compile time warning messages.
356 * vax-dis.c: Fix compile time warning messages.
357 * w65-opc.h: Fix compile time warning messages.
358 * z8k-opc.h: Fix compile time warning messages.
359 * z8kgen.c: Fix compile time warning messages.
360
361 2001-09-19 Nick Clifton <nickc@cambridge.redhat.com>
362
363 * arm-dis.c: Fix compile time warning messages.
364 * cgen-asm.c: Fix compile time warning messages.
365 * cgen-dis.c: Fix compile time warning messages.
366 * cris-dis.c: Fix compile time warning messages.
367 * d10v-dis.c: Fix compile time warning messages.
368 * fr30-asm.c: Fix compile time warning messages.
369 * fr30-desc.c: Fix compile time warning messages.
370 * fr30-dis.c: Fix compile time warning messages.
371 * fr30-ibld.c: Fix compile time warning messages.
372
373 2001-09-18 Bruno Haible <haible@clisp.cons.org>
374
375 * cgen-asm.c: Include "safe-ctype.h" instead of <ctype.h>.
376 (cgen_parse_keyword): Use ISALNUM instead of isalnum.
377 * cgen-opc.c: Include "safe-ctype.h" instead of <ctype.h>.
378 (cgen_keyword_lookup_name): Use ISALPHA/TOLOWER instead of
379 isalpha/tolower.
380 (cgen_keyword_add): Use ISALNUM instead of isalnum.
381 (hash_keyword_name): Use TOLOWER instead of tolower.
382 * fr30-asm.c: Include "safe-ctype.h" instead of <ctype.h>.
383 (parse_insn_normal): Use TOLOWER/ISSPACE instead of
384 tolower/isspace.
385 (fr30_cgen_assemble_insn): Use ISSPACE instead of isspace.
386 * fr30-desc.c: Don't include <ctype.h>.
387 * fr30-ibld.c: Likewise.
388 * ia64-gen.c: Include "safe-ctype.h" instead of <ctype.h>.
389 (load_insn_classes, parse_resource_users, load_depfile): Use
390 ISSPACE instead of isspace.
391 * m32r-asm.c: Include "safe-ctype.h" instead of <ctype.h>.
392 (parse_insn_normal): Use TOLOWER/ISSPACE instead of
393 tolower/isspace.
394 (m32r_cgen_assemble_insn): Use ISSPACE instead of isspace.
395 * m32r-desc.c: Don't include <ctype.h>.
396 * m32r-ibld.c: Likewise.
397 * openrisc-asm.c: Include "safe-ctype.h" instead of <ctype.h>.
398 (parse_insn_normal): Use TOLOWER/ISSPACE instead of
399 tolower/isspace.
400 (openrisc_cgen_assemble_insn): Use ISSPACE instead of isspace.
401
402 2001-09-18 Martin Schwidefsky <schwidefsky@de.ibm.com>
403
404 * Makefile.am: Add rules and dependencies to create the s/390 opcode
405 table out of s390-opc.txt automatically.
406 * configure.in: Add BFD_CC_FOR_BUILD to allow CC_FOR_BUILD to be used.
407 * s390-mkopc.c (dumpTable): Change output to create a complete file.
408 * s390-opc.c: New improved opcode format macros and remove the
409 pregenerated opcode table.
410 * s390-opc.txt: Adapt to new improved opcode format macros.
411
412 2001-09-14 David Schleef <ds@schleef.org>
413
414 * ppc-opc.c (VXA, VXA_MASK): Fix mask bits.
415
416 2001-09-04 Alan Modra <amodra@bigpond.net.au>
417
418 * i386-dis.c (grps): Don't print the implicit al/ax/eax register
419 for opcode 0xf6 or 0xf7 forms of mul, imul, div, idiv insns.
420
421 2001-08-31 Eric Christopher <echristo@redhat.com>
422 Jason Eckhardt <jle@redhat.com>
423
424 * mips-dis.c: Add support for bfd_mach_mipsisa32 and
425 bfd_mach_mipsisa64. Remove bfd_mach_mips32, bfd_mach_mips32_4k,
426 bfd_mach_mips64.
427
428 2001-08-31 Andreas Jaeger <aj@suse.de>
429
430 * tic54x-opc.c: Add default initializers to avoid warnings.
431
432 * arc-opc.c: Include "sysdep.h" to get stdio.h as include file.
433 * arc-ext.c: Likewise.
434
435 2001-08-28 matthew gren <mrg@redhat.com>
436
437 * ppc-opc.c (icbt): Order correctly.
438
439 2001-08-27 David Edelsohn <dje@watson.ibm.com>
440 Torbjorn Granlund <tege@swox.com>
441
442 * ppc-opc.c (DS): Add PPC_OPERAND_DS flag.
443 (LS): Define.
444 (insert_ds): Complain if not a multiple of 4.
445 (XSYNC): Define.
446 (XSYNC_MASK): Define.
447 (powerpc_opcodes): Add "slbmte", "lwsync", "ptesync", "slbmfev",
448 "slbmfee". Modify "sync" to use XSYNC_MASK and LS.
449
450 2001-08-26 Andreas Jaeger <aj@suse.de>
451
452 * h8500-opc.h: Add default initializers to h8500_table to shut up
453 GCC warnings.
454
455 2001-08-25 Andreas Jaeger <aj@suse.de>
456
457 * tic54x-dis.c: Add unused attributes where needed.
458
459 * z8k-dis.c (output_instr): Add unused attribute.
460
461 * h8300-dis.c: Add missing prototypes.
462 (bfd_h8_disassemble): Make static.
463
464 * cris-dis.c: Add missing prototype.
465 * h8500-dis.c: Likewise.
466 * m68hc11-dis.c: Likewise.
467 * pj-dis.c: Likewise.
468 * tic54x-dis.c: Likewise.
469 * v850-dis.c: Likewise.
470 * vax-dis.c: Likewise.
471 * w65-dis.c: Likewise.
472 * z8k-dis.c: Likewise.
473
474 * d10v-dis.c: Add missing prototype.
475 (dis_long): Remove unused variable.
476 (dis_2_short): Likewise.
477
478 * sh-dis.c: Add missing prototypes.
479 * v850-opc.c: Likewise.
480 Add unused attributes where needed.
481
482 * ns32k-dis.c: Add missing prototypes.
483 (bit_extract_simple): Remove unused variable.
484
485 2001-08-23 Martin Schwidefsky <schwidefsky@de.ibm.com>
486
487 * opcodes/s390-opc.c: Add "low or high" and "not low or high"
488 branch instructions for gcc 3.0.
489 * opcodes/s390-opc.txt: Likewise.
490
491 2001-08-21 Andreas Jaeger <aj@suse.de>
492
493 * i960-dis.c: Add parameters for prototypes
494 (ctrl): Add unused attributes.
495 (cobr): Likewise.
496 (put_abs): Likewise.
497
498 * mips-dis.c: Add missing prototypes.
499 * a29k-dis.c: Likewise.
500 * arc-dis.c: Likewise.
501 * ia64-opc.c: Likewise.
502
503 * s390-dis.c: Add missing prototypes.
504 (init_disasm): Remove unused attribute since the parameter is
505 used.
506
507 2001-08-16 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
508
509 * mips-opc.c (M1): Define. Reformatted Code.
510 (mips_builtin_opcodes): Added performance counter opcodes mfpc, mfps,
511 mtps, mtps. Typo.
512
513 2001-08-16 Jonathan Larmour <jlarmour@redhat.com>
514
515 * mips-opc.c: R3900s can support all branch likely INSN_MACROs where
516 the corresponding non-likely insn is in MIPS I.
517
518 2001-08-13 Kazu Hirata <kazu@hxi.com>
519
520 * mcore-dis.c: Fix formatting.
521 * mips-dis.c: Likewise.
522 * pj-dis.c: Likewise.
523 * z8k-dis.c: Likewise.
524
525 2001-08-12 Richard Henderson <rth@redhat.com>
526
527 * cgen-ibld.in (extract_normal): Match type of VALUE and MASK
528 to *VALUEP. Regenerate all cgen files.
529
530 2001-08-10 Richard Sandiford <rsandifo@redhat.com>
531
532 * mips-dis.c (print_insn_mips): Remove OPCODE_IS_MEMBER's gp32
533 argument.
534 * mips-opc.c (G6): Undefine.
535 (mips_builtin_opcodes): Remove gp32 entry for "move". Add macro
536 as the first "move" alternative.
537
538 2001-08-10 Andreas Jaeger <aj@suse.de>
539
540 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
541 to build warnings.
542 * configure: Regenerate.
543
544 2001-08-10 Alan Modra <amodra@bigpond.net.au>
545
546 * ppc-opc.c: Revert 2001-08-08.
547
548 2001-08-09 Alan Modra <amodra@bigpond.net.au>
549
550 * dis-buf.c (generic_strcat_address): Add missing prototype.
551 #if 0 the functions as it is unused.
552
553 2001-08-08 Alan Modra <amodra@bigpond.net.au>
554
555 1999-10-25 Torbjorn Granlund <tege@swox.com>
556 * ppc-opc.c: Include "bfd.h".
557 (powerpc_operands): Add new field for reloc type.
558
559 2001-07-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
560
561 * mips-dis.c (print_insn_arg): Don't use software integer registers
562 for coprocessor registers.
563 (get_mips_isa): Removed.
564 (is_newabi): New function, checks if NewABI is used.
565 (_print_insn_mips): Get distinction between old ABI and new ABI right.
566
567 2001-08-01 Christian Groessler <cpg@aladdin.de>
568
569 * z8kgen.c: Fixed indentation of opt[] array. Include stdio.h to
570 get stderr definition.
571 (internal, gas): Removed warnings.
572 (gas): Create a correct final entry for created array.
573 * z8k-opc.h: Recreated with new z8kgen.
574
575 2001-07-28 Kazu Hirata <kazu@hxi.com>
576
577 * i386-dis.c: Fix formatting.
578
579 2001-07-28 Matthias Kramm <kramm@quiss.org>
580
581 * i386-dis.c: Change formatting conventions for architecture
582 i386:intel to better match the format of various intel i386
583 assemblers, like nasm, tasm or masm.
584
585 2001-07-24 Alan Modra <amodra@bigpond.net.au>
586
587 * Makefile.am: Update dependencies with "make dep-am".
588 * Makefile.in: Regenerate
589
590 2001-07-24 Kazu Hirata <kazu@hxi.com>
591
592 * alpha-dis.c: Fix formatting.
593 * cris-dis.c: Likewise.
594 * d10v-dis.c: Likewise.
595 * d30v-dis.c: Likewise.
596 * m10300-dis.c: Likewise.
597 * tic54x-dis.c: Likewise.
598
599 2001-07-23 Kazu Hirata <kazu@hxi.com>
600
601 * m68k-dis.c: Fix formatting.
602 * pj-dis.c: Likewise.
603 * s390-dis.c: Likewise.
604 * z8k-dis.c: Likewise.
605
606 2001-07-21 Chris Demetriou <cgd@broadcom.com>
607
608 * mips-opc.c (mips_builtin_opcodes): Sort c.le.s and c.lt.s
609 into the rest of the surrounding definitions.
610
611 2001-07-18 Alan Modra <amodra@bigpond.net.au>
612
613 * i386-dis.c (grps): Print l or w suffix, and require mem modrm
614 for lgdt, lidt, sgdt, sidt.
615
616 2001-07-13 Philip Blundell <philb@gnu.org>
617
618 * arm-dis.c (print_insn_arm): Use decimal for offsets in LDR/STR.
619
620 2001-07-12 Jeff Johnston <jjohnstn@redhat.com>
621
622 * cgen-asm.in: Include "xregex.h" always to enable the libiberty
623 regex support.
624 (@arch@_cgen_build_insn_regex): New routine from Graydon.
625 (@arch@_cgen_assemble_insn): Add Graydon's code to use regex
626 to verify if it is worth parsing the insn as insn "x". Also update
627 error message when insn is not a recognized format of the insn vs
628 when the insn is completely unrecognized.
629
630 2001-07-11 Frank Ch. Eigler <fche@redhat.com>
631
632 * cgen-dis.in (print_insn): Use cgen_get_insn_value instead of
633 bfd_get_bits.
634 * cgen-opc.c (cgen_get_insn_value, cgen_put_insn_value): Respect
635 non-zero CGEN_CPU_DESC->insn_chunk_bitsize.
636
637 2001-07-09 Andreas Jaeger <aj@suse.de>, Karsten Keil <kkeil@suse.de>
638
639 * i386-dis.c (set_op): Handle 64 bit and 32 bit mode.
640 (OP_J): Use bfd_vma for mask to work properly with 64 bits.
641 (op_address,op_riprel): Use bfd_vma to handle 64 bits.
642
643 2001-07-05 Ben Elliston <bje@redhat.com>
644
645 * Makefile.am (CPUDIR): Define.
646 (stamp-m32r): Update dependencies.
647 (stamp-fr30): Ditto.
648 (stamp-openrisc): Ditto.
649 * Makefile.in: Regenerate.
650
651 2001-07-03 Zoltan Hidvegi <hzoli@hzoli.2y.net>
652
653 * ppc-opc.c: Fix encoding of 'clf' instruction.
654
655 2001-06-30 Geoffrey Keating <geoffk@redhat.com>
656
657 * cgen-ibld.in (insert_normal): Support CGEN_IFLD_SIGN_OPT.
658
659 2001-06-28 Geoffrey Keating <geoffk@redhat.com>
660
661 * cgen-asm.c (cgen_parse_keyword): Allow any first character.
662 * cgen-opc.c (cgen_keyword_add): Ignore special first
663 character when building nonalpha_chars field.
664
665 2001-06-24 Ben Elliston <bje@redhat.com>
666
667 * m88k-dis.c: Format to conform to GNU coding standards.
668
669 2001-06-23 Andreas Jaeger <aj@suse.de>
670
671 * disassemble.c (disassembler_usage): Add unused attribute.
672
673 2001-06-22 Eric Christopher <echristo@redhat.com>
674
675 * mips-opc.c: Move prefx to start of the table.
676
677 2001-06-22 Stacey Sheldon <ssheldon@Catena.com>
678
679 * arc-opc.c (insert_st_syntax): Fix over-optimisation of ST
680 instruction.
681
682 2001-06-22 Pauli <pauli@moreton.com.au>
683
684 * m68k-opc.c: Add wdebug instruction.
685
686 2001-06-15 Aldy Hernandez <aldyh@redhat.com>
687
688 * m10300-opc.c (mn10300_opcodes): Change opcode for AM33 subc.
689
690 2001-06-14 Geoffrey Keating <geoffk@redhat.com>
691
692 * cgen-asm.c (cgen_parse_keyword): When looking for the
693 boundaries of a keyword, allow any special characters
694 that are actually in one of the allowed keyword.
695 * cgen-opc.c (cgen_keyword_add): Add any special characters
696 to the nonalpha_chars field.
697
698 2001-06-12 Martin Schwidefsky <schwidefsky@de.ibm.com>
699
700 * s390-opc.c: Add lgh instruction.
701 * s390-opc.txt: Likewise.
702
703 2001-06-11 Alan Modra <amodra@bigpond.net.au>
704
705 * i386-dis.c: Group function prototypes in one place.
706 (FLOATCODE): Redefine as 1.
707 (USE_GROUPS): Redefine as 2.
708 (USE_PREFIX_USER_TABLE): Redefine as 3.
709 (X86_64_SPECIAL): Define as 4.
710 (GRP1b..GRPAMD): Move USE_GROUPS to bytecode1, index to bytecode2.
711 (PREGRP0..PREGRP26): Similarly with USE_PREFIX_USER_TABLE.
712 (dis386_att, dis386_intel, disx86_64_att, disx86_64_intel): Delete.
713 (dis386): New table combining above four tables.
714 (dis386_twobyte_att, dis386_twobyte_intel): Delete.
715 (dis386_twobyte): New table combining above two tables.
716 (x86_64_table): New table to handle x86_64.
717 (X86_64_0): Define.
718 (float_mem_att, float_mem_intel): Delet.
719 (float_mem): New table combining above two tables.
720 (print_insn_i386): Modify for above.
721 (dofloat): Likewise.
722 (putop): Handle '{', '|' and '}' to select alternative mnemonics.
723 Return 0 on success, 1 if no valid alternative.
724 (putop <case 'F'>, <case 'H'>): Print nothing for intel_syntax.
725 (putop <case 'T'>): Move to case 'U', and share case 'Q' code.
726 (putop <case 'I'>): Move to case 'T', and share case 'P' code.
727 (OP_REG <case rAX_reg .. rDI_reg>): Handle as for eAX_reg .. eDI_reg
728 if not 64-bit mode.
729 (OP_I <case q_mode>): Handle as for v_mode if not 64-bit mode.
730 (OP_I64): If not 64-bit mode, call OP_I.
731 OP_OFF64): If not 64-bit mode, call OP_OFF.
732 (OP_ST, OP_STi, OP_SEG, OP_DIR, OP_OFF, OP_OFF64, OP_MMX): Rename
733 'ignore'/'ignored' to 'bytemode'.
734
735 2001-06-10 Alan Modra <amodra@bigpond.net.au>
736
737 * configure.in: Sort 'ta' case statement.
738 * configure: Regenerate.
739
740 * i386-dis.c (dis386_att): Add 'H' to conditional branch and
741 loop,jcxz insns.
742 (disx86_64_att): Likewise.
743 (dis386_twobyte_att): Likewise.
744 (print_insn_i386): Don't print branch hints as a prefix.
745 (putop): 'H' macro prints branch hints.
746 (get64): Kill compile warnings.
747
748 2001-06-09 Alexandre Oliva <aoliva@redhat.com>
749
750 * sh-opc.h (sh_table): Don't use empty initializers.
751
752 2001-06-06 Christian Groessler <cpg@aladdin.de>
753
754 * z8k-dis.c: Fix formatting.
755 (unpack_instr): Remove unused cases in switch statement. Add
756 safety abort() in default case.
757 (unparse_instr): Add safety abort() in default case.
758
759 2001-06-06 Peter Jakubek <pjak@snafu.de>
760
761 * m68k-dis.c (print_insn_m68k): Fix typo.
762 * m68k-opc.c (m68k_opcodes): Correct allowed operands for
763 mcf (ColdFire) div, rem and moveb instructions.
764
765 2001-06-06 Alan Modra <amodra@bigpond.net.au>
766
767 * i386-dis.c (cond_jump_flag, loop_jcxz_flag): Define.
768 (cond_jump_mode, loop_jcxz_mode): Define.
769 (dis386_att): Add cond_jump_flag and loop_jcxz_flag as
770 appropriate, and 'F' suffix to loop insns.
771 (disx86_64_att): Likewise.
772 (dis386_twobyte_att): Likewise.
773 (print_insn_i386): Don't output addr prefix for loop, jcxz insns.
774 Output data size prefix for long conditional jumps. Output cs and
775 ds branch hints.
776 (putop): Handle 'F', and mark PREFIX_ADDR used for case 'E'.
777 (OP_J): Don't make PREFIX_DATA used.
778
779 2001-06-04 Alexandre Oliva <aoliva@redhat.com>
780
781 * sh-opc.h (sh_table): Complete last element entry to avoid
782 compiler warning.
783
784 2001-05-16 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
785
786 * mips-dis.c (mips_isa_type): Add MIPS r12k support.
787
788 2001-05-23 Alan Modra <amodra@one.net.au>
789
790 * arc-opc.c: Whitespace changes.
791
792 2001-05-18 Hans-Peter Nilsson <hp@axis.com>
793
794 * cris-opc.c (cris_spec_regs): Add missing initializer field for
795 last element.
796
797 2001-05-15 Frank Ch. Eigler <fche@redhat.com>
798
799 * cgen-dis.in (extract_normal): Complete support for min<base case.
800
801 2001-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
802
803 * mips-dis.c (INSNLEN): Rename MAXLEN.
804 (std_reg_names): Replace by mips32_reg_names and mips64_reg_names.
805 (print_insn_arg): Remove $ prefix of register names.
806 (set_mips_isa_type): Remove.
807 (mips_isa_type): New function.
808 (get_mips_isa): New Function.
809 (print_insn_mips): Rename _print_insn_mips.
810 (_print_insn_mips): New function, contains code which was
811 duplicated in print_insn_big_mips and print_insn_little_mips.
812 (print_insn_big_mips): Moved code to _print_insn_mips.
813 (print_insn_little_mips): Likewise.
814 (print_mips16_insn_arg): Remove $ prefix of register names.
815 Print error message before abort.
816
817 2001-05-14 J.T. Conklin <jtc@redback.com>
818
819 * ppc-opc.c (powerpc_opcodes): Fixed extended opcode field of
820 simplified mnemonics used for setting PPC750-specific special
821 purpose registers.
822
823 2001-05-12 H.J. Lu <hjl@gnu.org>
824
825 * i386-dis.c (print_insn_i386): Always set `mod', `reg' and
826 `rm'.
827
828 2001-05-12 Peter Targett <peter.targett@arccores.com>
829
830 * arc-opc.c (arc_reg_names): Correct attribute for lp_count
831 register to r/w. Formatting fixes throughout file.
832
833 2001-05-12 Alan Modra <amodra@one.net.au>
834
835 * i386-dis.c (prefix_user_table): Correct movq2dq, movdq2q, and
836 movq operands.
837 (twobyte_has_modrm): Update table.
838 (need_modrm): Give it file scope.
839 (MODRM_CHECK): Define.
840 (dofloat): Use MODRM_CHECK.
841 (OP_E): Likewise.
842 (OP_EM): Likewise.
843 (OP_EX): Likewise.
844
845 2001-05-07 Frank Ch. Eigler <fche@redhat.com>
846
847 * cgen-dis.in (default_print_insn): Tolerate min<base instructions
848 even at end of a section.
849 * cgen-ibld.in (extract_normal): Tolerate min!=base!=max instructions
850 by ignoring precariously-unpacked insn_value in favor of raw buffer.
851
852 2001-05-03 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
853
854 * disassemble.c (disassembler_usage): Remove unused attribute.
855
856 2001-05-04 Frank Ch. Eigler <fche@redhat.com>
857
858 * m32r-dis.c, -asm.c, -ibld.c: Regenerated with disassembler fixes.
859
860 2001-05-04 Frank Ch. Eigler <fche@redhat.com>
861
862 * cgen-dis.in (print_insn): Remove call to read_insn. Instead,
863 assume incoming buffer already has the base insn loaded. Handle
864 smaller-than-base instructions for variable-length case.
865
866 2001-05-04 Alan Modra <amodra@one.net.au>
867
868 * i386-dis.c (Ev, Ed): Remove duplicate define.
869 (Gd): Define.
870 (XS): Define.
871 (OP_XS): New function.
872 (dis386_twobyte_att): Correct pinsrw, pextrw, pmovmskb, and
873 movmskp operands.
874 (dis386_twobyte_intel): Likewise.
875 (prefix_user_table): Use MS for maskmovq operand.
876
877 2001-04-27 Johan Rydberg <jrydberg@opencores.org>
878
879 * Makefile.am: Add OpenRISC target.
880 * Makefile.in: Regenerated.
881
882 * disassemble.c (disassembler): Recognize the OpenRISC disassembly.
883
884 * configure.in (bfd_openrisc_arch): Add target.
885 * configure: Regenerated.
886
887 * openrisc-asm.c: New file.
888 * openrisc-desc.c: Likewise.
889 * openrisc-desc.h: Likewise.
890 * openrisc-dis.c: Likewise.
891 * openrisc-ibld.c: Likewise.
892 * openrisc-opc.c: Likewise.
893 * openrisc-opc.h: Likewise.
894
895 2001-04-24 Christian Groessler <cpg@aladdin.de>
896
897 * z8k-dis.c: add names of control registers (ctrl_names);
898 (seg_length): provides instruction length fixup for segmented
899 mode; (unpack_instr): correctly handle ARG_DISP16, ARG_DISP12,
900 CLASS_0DISP7, CLASS_1DISP7, CLASS_DISP8 and CLASS_PR cases;
901 (unparse_intr): handle CLASS_PR, print addresses without '#'
902 * z8k-opc.h: re-created with new z8kgen
903 * z8kgen.c: merged in fixes which were in existing z8k-opc.h; new
904 entries for ldctl/ldctlb instruction
905
906 2001-04-06 Andreas Jaeger <aj@suse.de>
907
908 * i386-dis.c: Add ffreep instruction.
909
910 2001-03-30 Alexandre Oliva <aoliva@redhat.com>
911
912 * ppc-opc.c (insert_mbe): Shift mask initializer as long.
913
914 2001-03-24 Alan Modra <alan@linuxcare.com.au>
915
916 * i386-dis.c (PREGRP25): Define.
917 (dis386_twobyte_att): Use here in place of "movntq" entry.
918 (dis386_twobyte_intel): Likewise.
919 (prefix_user_table): Add PREGRP25 entry for "movntq" and "movntdq".
920 (PREGRP26): Define.
921 (dis386_twobyte_att): Use here.
922 (dis386_twobyte_intel): Likewise.
923 (prefix_user_table): Add PREGRP26 entry for "punpcklqdq".
924 (prefix_user_table <maskmovdqu>): XM operand, not MX.
925 (prefix_user_table): Cosmetic changes to "bad" entries.
926
927 2001-03-23 Nick Clifton <nickc@redhat.com>
928
929 * mips-opc.c: Remove extraneous whitespace.
930 * mips-dis.c: Remove extraneous whitespace.
931
932 2001-03-22 Ben Elliston <bje@redhat.com>
933
934 * cgen-asm.in (@arch@_cgen_assemble_insn): Move tmp_errmsg
935 declaration inside CGEN_VERBOSE_ASSEMBLER_ERRORS conditional.
936 * cgen-ibld.in (put_insn_int_value): Mark cd parameter as unused
937 to allay a compiler warning.
938
939 2001-03-22 Alan Modra <alan@linuxcare.com.au>
940
941 * i386-dis.c (dis386_twobyte_att): Add entries for paddq, psubq.
942 (dis386_twobyte_intel): Likewise.
943 (twobyte_has_modrm): Set entry for paddq, psubq.
944
945 2001-03-20 Patrick Macdonald <patrickm@redhat.com>
946
947 * cgen-dis.in (print_insn_@arch@): Add support for target machine
948 determination via CGEN_COMPUTE_MACH.
949 * fr30-desc.c: Regenerate.
950 * fr30-dis.c: Regenerate.
951 * fr30-opc.h: Regenerate.
952 * m32r-desc.c: Regenerate.
953 * m32r-dis.c: Regenerate.
954 * m32r-opc.h: Regenerate.
955 * m32r-opinst.c: Regenerate.
956
957 2001-03-20 H.J. Lu <hjl@gnu.org>
958
959 * configure.in: Remove the redundent AC_ARG_PROGRAM.
960 * configure: Rebuild.
961
962 2001-03-19 Jim Wilson <wilson@redhat.com>
963
964 * ia64-gen.c (fetch_insn_class): If xsect, then ignore comment and
965 notestr if larger than xsect.
966 (in_class): Handle format M5.
967 * ia64-asmtab.c: Regnerate.
968
969 2001-03-19 John David Anglin <dave@hiauly1.hia.nrc.ca>
970
971 * vax-dis.c (print_insn_vax): Only fetch two bytes if the info buffer
972 has more than one byte left to read.
973
974 2001-03-16 Martin Schwidefsky <schwidefsky@de.ibm.com>
975
976 * s390-opc.c: Add new opcodes. Smooth out formatting.
977 * s390-opc.txt: Add new opcodes.
978
979 2001-03-06 Nick Clifton <nickc@redhat.com>
980
981 * arm-dis.c (print_insn_thumb): Compute destination address
982 of BLX(1) instruction by taking bit 1 from PC and not from bit
983 0 of the offset.
984
985 2001-03-06 Igor Shevlyakov <igor@windriver.com>
986
987 * m68k-dis.c (print_insn_m68k): Recognize Coldfire CPUs
988 so command line switches will work.
989
990 2001-03-05 Dave Brolley <brolley@redhat.com>
991
992 * fr30-asm.c: Regenerate.
993 * fr30-desc.c: Regenerate.
994 * fr30-desc.h: Regenerate.
995 * fr30-dis.c: Regenerate.
996 * fr30-ibld.c: Regenerate.
997 * fr30-opc.c: Regenerate.
998 * fr30-opc.h: Regenerate.
999 * m32r-asm.c: Regenerate.
1000 * m32r-desc.c: Regenerate.
1001 * m32r-desc.h: Regenerate.
1002 * m32r-dis.c: Regenerate.
1003 * m32r-ibld.c: Regenerate.
1004 * m32r-opc.c: Regenerate.
1005 * m32r-opc.h: Regenerate.
1006 * m32r-opinst.c: Regenerate.
1007
1008 2001-02-28 Igor Shevlyakov <igor@windriver.com>
1009
1010 * m68k-opc.c: fix cpushl according to Motorola. Enable
1011 bunch of instructions for Coldfire 5407 and add all new.
1012
1013 2001-02-27 Alan Modra <alan@linuxcare.com.au>
1014
1015 * configure.in (BFD_VERSION): Do without grep.
1016 * configure: Regenerate.
1017 * Makefile.am: Run "make dep-am".
1018 * Makefile.in: Regenerate.
1019
1020 2001-02-23 David Mosberger <davidm@hpl.hp.com>
1021
1022 * ia64-opc-a.c: Add missing pseudo-ops for "cmp" and "cmp4".
1023 * ia64-asmtab.c: Regenerate.
1024
1025 2001-02-21 David Mosberger <davidm@hpl.hp.com>
1026
1027 * ia64-opc-d.c (ia64_opcodes_d): Break the "add" pattern into two
1028 separate variants: one for IMM22 and the other for IMM14.
1029 * ia64-asmtab.c: Regenerate.
1030
1031 2001-02-21 Greg McGary <greg@mcgary.org>
1032
1033 * cgen-opc.c (cgen_get_insn_value): Add missing `return'.
1034
1035 2001-02-20 H.J. Lu <hjl@gnu.org>
1036
1037 * Makefile.am (ia64-ic.tbl): Remove the target.
1038 (ia64-raw.tbl): Likewise.
1039 (ia64-waw.tbl): Likewise.
1040 (ia64-war.tbl): Likewise.
1041 (ia64-asmtab.c): Generate it in the source directory.
1042 * Makefile.in: Regenerated.
1043
1044 2001-02-18 lars brinkhoff <lars@nocrew.org>
1045
1046 * Makefile.am: Add PDP-11 target.
1047 * configure.in: Likewise.
1048 * disassemble.c: Likewise.
1049 * pdp11-dis.c: New file.
1050 * pdp11-opc.c: New file.
1051
1052 2001-02-14 Jim Wilson <wilson@redhat.com>
1053
1054 * ia64-ic.tbl: Update from Intel. Add setf to fr-writers.
1055 * ia64-asmtab.c: Regenerate.
1056
1057 Mon Feb 12 17:41:26 CET 2001 Jan Hubicka <jh@suse.cz>
1058
1059 * i386-dis.c (prefix_user_t): Add 'Y' to SSE ineger converison
1060 instructions.
1061 (putop): Handle 'Y'
1062
1063 2001-02-11 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1064
1065 * mips-dis.c (print_insn_arg): Use top four bits of the address of
1066 the following instruction not of the jump itself for the jump
1067 target.
1068 (print_mips16_insn_arg): Likewise.
1069
1070 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1071
1072 * Makefile.am (stamp-lib): ranlib the libopcodes.a in the build
1073 directory.
1074 * Makefile.in: Regenerate.
1075
1076 2001-02-09 Schwidefsky <schwidefsky@de.ibm.com>
1077
1078 * Makefile.am: Add linux target for S/390.
1079 * Makefile.in: Likewise.
1080 * configure.in: Likewise.
1081 * disassemble.c: Likewise.
1082 * s390-dis.c: New file.
1083 * s390-mkopc.c: New file.
1084 * s390-opc.c: New file.
1085 * s390-opc.txt: New file.
1086
1087 2001-02-05 Jim Wilson <wilson@redhat.com>
1088
1089 * ia64-asmtab.c: Revert 2000-12-16 change.
1090
1091 2001-02-02 Patrick Macdonald <patrickm@redhat.com>
1092
1093 * fr30-desc.h: Regenerate with CGEN_MAX_SYNTAX_ELEMENTS.
1094 * m32r-desc.h: Regenerate.
1095
1096 Thu Feb 1 16:29:06 MET 2001 Jan Hubicka <jh@suse.cz>
1097
1098 * i386-dis.c (dis386_att, grps): Use 'T' for push/pop
1099 (putop): Handle 'T', alphabetize order, fix 'I' handling in Intel syntax
1100
1101 2001-01-14 Alan Modra <alan@linuxcare.com.au>
1102
1103 * hppa-dis.c (print_insn_hppa): Handle '>' and '<' arg types.
1104
1105 2001-01-13 Nick Clifton <nickc@redhat.com>
1106
1107 * disassemble.c: Remove spurious white space.
1108
1109 Sat Jan 13 01:48:24 MET 2001 Jan Hubicka <jh@suse.cz>
1110
1111 * i386-dis.c (dis386_att, disx86_64_att): Fix ret, lret and iret
1112 templates.
1113
1114 2001-01-11 Peter Targett <peter.targett@arccores.com>
1115
1116 * configure.in: Add arc-ext.lo for bfd_arc_arch selection.
1117 * Makefile.am (C_FILES): Add arc-ext.c.
1118 (ALL_MACHINES) Add arc-ext.lo.
1119 (INCLUDES) Add opcode directory to list.
1120 New dependency entry for arc-ext.lo.
1121 * disassemble.c (disassembler): Correct call to
1122 arc_get_disassembler.
1123 * arc-opc.c: New update for ARC, including full base
1124 instructions for ARC variants.
1125 * arc-dis.h, arc-dis.c: New update for ARC, including
1126 extensibility functionality.
1127 * arc-ext.h, arc-ext.c: New files for handling extensibility.
1128
1129 2001-01-10 Jan Hubicka <jh@suse.cz>
1130
1131 * i386-dis.c (PREGRP15 - PREGRP24): New.
1132 (dis386_twobyt): Add SSE2 instructions.
1133 (twobyte_uses_SSE_prefix: Rename from ... ; add new SSE instructions.
1134 (twobyte_uses_f3_prefix): ... this one.
1135 (grps): Add SSE instructions.
1136 (prefix_user_table): Add two new slots; add SSE2 instructions.
1137 (print_insn_i386): Rename uses_f3_prefix to uses_SSE_prefix;
1138 Handle the REPNZ and Data16 prefixes as well; do proper lookup
1139 to prefix_user_table.
1140 (OP_E): Accept mfence and lfence as well.
1141 (OP_MMX): Data16 prefix turns MMX to SSE; support REX extensions.
1142 (OP_XMM): Support REX extensions.
1143 (OP_EM): Likewise.
1144 (OP_EX): Likewise.
1145
1146 2001-01-09 Nick Clifton <nickc@redhat.com>
1147
1148 * arm-dis.c (print_insn): Set pc to zero for instructions with
1149 a reloc associated with them.
1150
1151 2001-01-09 Jeff Johnston <jjohnstn@redhat.com>
1152
1153 * cgen-asm.in (parse_insn_normal): Changed syn to be
1154 CGEN_SYNTAX_CHAR_TYPE. Changed all references to *syn
1155 as character to use CGEN_SYNTAX_CHAR macro and all comparisons
1156 to '\0' to use 0 instead.
1157 * cgen-dis.in (print_insn_normal): Ditto.
1158 * cgen-ibld.in (insert_insn_normal, extract_insn_normal): Ditto.
1159
1160 2001-01-05 Jan Hubicka <jh@suse.cz>
1161
1162 * i386-dis.c: Add x86_64 support.
1163 (rex): New static variable.
1164 (REX_MODE64, REX_EXTX, REX_EXTY, REX_EXTZ): New constants.
1165 (USED_REX): New macro.
1166 (Ev, Ed, Rm, Iq, Iv64, Cm, Dm, Rm*, Ob64, Ov64): New macros.
1167 (OP_I64, OP_OFF64, OP_IMREG): New functions.
1168 (OP_REG, OP_OFF): Declare.
1169 (get64, get32, get32s): New functions.
1170 (r??_reg): New constants.
1171 (dis386_att): Change templates of instruction implicitly promoted
1172 to 64bit; change e?? to RMe?? for unwind RM byte instructions.
1173 (grps): Likewise.
1174 (dis386_intel): Likewise.
1175 (dixx86_64_att): New table based on dis386_att.
1176 (dixx86_64_intel): New table based on dis386_intel.
1177 (names64, names8rex): New global variable.
1178 (names32, names16): Add extended registers.
1179 (prefix_user_t): Recognize rex prefixes.
1180 (prefix_name): Print REX prefixes nicely.
1181 (op_riprel): New global variable.
1182 (start_pc): Set type to bfd_vma.
1183 (print_insn_i386): Detect the 64bit mode and use proper table;
1184 move ckprefix after initializing the buffer; output unused rex prefixes;
1185 output information about target of RIP relative addresses.
1186 (putop): Support 'O' and 'I'. Update handling of "P', 'Q', 'R' and 'S';
1187 (print_operand_value): New function.
1188 (OP_E, OP_G, OP_REG, OP_I, OP_J, OP_DIR, OP_OFF, OP_D): Add support for
1189 REX prefix and new modes.
1190 (get64, get32s): New.
1191 (get32): Return bfd_signed_vma type.
1192 (set_op): Initialize the op_riprel.
1193 * disassemble.c (disassembler): Recognize the x86-64 disassembly.
1194
1195 2001-01-03 Richard Sandiford <r.sandiford@redhat.com>
1196
1197 cgen-dis.in (read_insn): Use bfd_get_bits()
1198
1199 2001-01-02 Richard Sandiford <rsandifo@redhat.com>
1200
1201 * cgen-dis.c (hash_insn_array): Use bfd_put_bits().
1202 (hash_insn_list): Likewise
1203 * cgen-ibld.in (insert_1): Use bfd_put_bits() and bfd_get_bits().
1204 (extract_1): Use bfd_get_bits().
1205 (extract_normal): Apply sign extension to both extraction
1206 methods.
1207 * cgen-opc.c (cgen_get_insn_value): Use bfd_get_bits()
1208 (cgen_put_insn_value): Use bfd_put_bits()
1209
1210 2000-12-28 Frank Ch. Eigler <fche@redhat.com>
1211
1212 * cgen-asm.in (parse_insn_normal): Print better error message for
1213 instructions with missing operands.
1214
1215 2000-12-21 Santeri Paavolainen <santtu@ssh.com>
1216
1217 * cgen-opc.c: Include alloca.h if HAVE_ALLOCA_H is defined.
1218
1219 2000-12-16 Nick Clifton <nickc@redhat.com>
1220
1221 * Makefile.in: Regenerate.
1222 * aclocal.m4: Regenerate.
1223 * config.in: Regenerate.
1224 * configure.in: Add spacing.
1225 * configure: Regenerate.
1226 * ia64-asmtab.c: Regenerate.
1227 * po/opcodes.pot: Regenerate.
1228
1229 2000-12-12 Frank Ch. Eigler <fche@redhat.com>
1230
1231 * cgen-asm.in (@arch@_cgen_assemble_insn): Prefer printing insert-time
1232 error messages over later parse-time ones.
1233
1234 2000-12-12 Jim Wilson <wilson@redhat.com>
1235
1236 * ia64-dis.c (print_insn_ia64): Cast away const on ia64_free_opcode
1237 argument.
1238 * ia64-gen.c (insert_deplist): Cast sizeof result to int.
1239 (print_dependency_table): Print NULL if semantics field not set.
1240 (insert_opcode_dependencies): Mark cmp parameter as unused.
1241 (print_main_table): Use fprintf_vma to print long long fields.
1242 (main): Mark argv paramter as unused. Convert to old style definition.
1243 * ia64-opc.c (ia64_find_dependency): Cast sizeof result to int.
1244 * ia64-asmtab.c: Regnerate.
1245
1246 2000-12-09 Nick Clifton <nickc@redhat.com>
1247
1248 * m32r-dis.c (print_insn): Prevent re-read of instruction from
1249 wrong address.
1250
1251 * fr30-dis.c: Regenerate.
1252
1253 2000-12-08 Peter Targett <peter.targett@arccores.com>
1254
1255 * configure.in: Add arc-ext.lo for bfd_arc_arch selection.
1256 * Makefile.am (C_FILES): Add arc-ext.c.
1257 (ALL_MACHINES) Add arc-ext.lo.
1258 (INCLUDES) Add opcode directory to list.
1259 New dependency entry for arc-ext.lo.
1260 * disassemble.c (disassembler): Correct call to
1261 arc_get_disassembler.
1262 * arc-opc.c: New update for ARC, including full base
1263 instructions for ARC variants.
1264 * arc-dis.h, arc-dis.c: New update for ARC, including
1265 extensibility functionality.
1266 * arc-ext.h, arc-ext.c: New files for handling extensibility.
1267
1268 2000-12-03 Chris Demetriou cgd@sibyte.com
1269
1270 * mips-opc.c (mips_builtin_opcodes): Use the WR_HILO, RD_HILO,
1271 MOD_HILO, and MOD_LO macros.
1272
1273 * mips-opc.c (M1, M2): Delete.
1274 (mips_builtin_opcodes): Remove all uses of M1.
1275
1276 * mips-opc.c (mips_builtin_opcodes): Make the dmfc2 and dmtc2
1277 instructions take "G" format second operands and use the
1278 correct flags.
1279 There are mfc3 and mtc3 opcodes, so add dmfc3 and dmtc3 opcodes to
1280 match.
1281 Delete "sel" code operands from mfc1 and mtc1.
1282 Add MIPS64 opcode changes (dclo, dclz), and "sel" code variants
1283 for dm[ft]c[023].
1284
1285 2000-12-03 Ed Satterthwaite ehs@sibyte.com and
1286 Chris Demetriou cgd@sibyte.com
1287
1288 * mips-opc.c (mips_builtin_opcodes): Finish additions
1289 for MIPS32 support, and clean up existing entries for
1290 aesthetics, consistency with the MIPS32 ISA, and
1291 with consistency the rest of the table.
1292
1293 2000-12-01 Nick Clifton <nickc@redhat.com>
1294
1295 * mips16-opc.c (mips16_opcodes): Add initialiser for membership
1296 field.
1297
1298 2000-12-01 Chris Demetriou <cgd@sibyte.com>
1299
1300 mips-dis.c (print_insn_arg): Handle new 'U' and 'J' argument
1301 specifiers. Update 'B' for new constant names, and remove
1302 'm'.
1303 mips-opc.c (mips_builtin_opcodes): Place "pref" and "ssnop"
1304 near the top of the array, so they are disassembled properly.
1305 Enable "ssnop" for MIPS32. Add "break" variant with 20 bit
1306 code for MIPS32. Update "clo" and "clz" to use 'U' operand
1307 specifier. Add 'H' format specifier variants for "mfc1,"
1308 "mfc2," "mfc3," "mtc1," "mtc2," and "mtc3" for MIPS32. Update
1309 MIPS32 "sdbbp" to use 'B' operand specifier. Add MIPS32
1310 "wait" variant which uses 'J' operand specifier.
1311
1312 * mips-dis.c (set_mips_isa_type): Update to use
1313 CPU_UNKNOWN and ISA_* constants. Add bfd_mach_mips32 case.
1314 Replace bfd_mach_mips4K with bfd_mach_mips32_4k case.
1315 * mips-opc.c (I32): New constant for instructions added in
1316 MIPS32.
1317 (P4): Delete.
1318 (mips_builtin_opcodes) Replace all uses of P4 with I32.
1319
1320 * mips-dis.c (set_mips_isa_type): Add cases for
1321 bfd_mach_mips5 and bfd_mach_mips64.
1322 * mips-opc.c (I64): New definitions.
1323
1324 * mips-dis.c (set_mips_isa_type): Add case for
1325 bfd_mach_mips_sb1.
1326
1327 2000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
1328
1329 * sh-dis.c (print_insn_ddt): Make insn_x, insn_y unsigned.
1330 (print_insn_ppi): Make nib1, nib2, nib3 unsigned.
1331 Initialize variable dc to NULL.
1332 (print_insn_shx): Remove unused label d_reg_n.
1333
1334 2000-11-24 Nick Clifton <nickc@redhat.com>
1335
1336 * arm-opc.h: Add new opcode formatting parameter 'B'.
1337 (arm_opcodes): Add XScale, v5, and v5te instructions.
1338 (thumb_opcodes): Add v5t instructions.
1339
1340 * arm-dis.c (print_insn_arm): Handle new 'B' format
1341 parameter.
1342 (print_insn_thumb): Decode BLX(1) instruction.
1343
1344 2000-11-21 Chris Demetriou <cgd@sibyte.com>
1345
1346 * mips-opc.c: Fix file header comment.
1347
1348 2000-11-14 Hans-Peter Nilsson <hp@axis.com>
1349
1350 * cris-dis.c (cris_get_disassembler): If abfd is NULL, return
1351 print_insn_cris_with_register_prefix.
1352
1353 2000-11-11 Alexandre Oliva <aoliva@redhat.com>
1354
1355 * sh-opc.h: The operand of `mov.w r0, (<disp>,GBR)' is IMM1, not 0.
1356
1357 2000-11-07 Matthew Green <mrg@redhat.com>
1358
1359 * cgen-dis.in (print_insn): All insns which can fit into insn_value
1360 must be loaded there in their entirety.
1361
1362 2000-10-20 Jakub Jelinek <jakub@redhat.com>
1363
1364 * sparc-dis.c (v9a_asr_reg_names): Add v9b ASRs.
1365 (compute_arch_mask): Add v8plusb and v9b machines.
1366 (print_insn_sparc): siam mode decoding, accept ASRs up to 25.
1367 * sparc-opc.c: Support for Cheetah instruction set.
1368 (prefetch_table): Add #invalidate.
1369
1370 2000-10-16 Nick Clifton <nickc@redhat.com>
1371
1372 * mcore-dis.c (imsk): Change mask for OC to 0xFE00.
1373
1374 2000-10-06 Dave Brolley <brolley@redhat.com>
1375
1376 * fr30-desc.h: Regenerate.
1377 * m32r-desc.h: Regenerate.
1378 * m32r-ibld.c: Regenerate.
1379
1380 2000-10-05 Jim Wilson <wilson@redhat.com>
1381
1382 * ia64-ic.tbl: Update from Intel.
1383 * ia64-asmtab.c: Regenerate.
1384
1385 2000-10-04 Kazu Hirata <kazu@hxi.com>
1386
1387 * ia64-gen.c: Convert C++-style comments to C-style comments.
1388 * tic54x-dis.c: Likewise.
1389
1390 2000-09-29 Hans-Peter Nilsson <hp@axis.com>
1391
1392 Changes to add dollar prefix to registers for files where user symbols
1393 don't have a leading underscore. Fix formatting.
1394 * cris-dis.c (REGISTER_PREFIX_CHAR): New.
1395 (format_reg): Add parameter with_reg_prefix. All callers changed.
1396 (print_with_operands): Ditto.
1397 (print_insn_cris_generic): Renamed from print_insn_cris, add
1398 parameter with_reg_prefix.
1399 (print_insn_cris_with_register_prefix,
1400 print_insn_cris_without_register_prefix, cris_get_disassembler):
1401 New.
1402 * disassemble.c (disassembler) [ARCH_cris]: Call cris_get_disassembler.
1403
1404 2000-09-22 Jim Wilson <wilson@redhat.com>
1405
1406 * ia64-opc-f.c (ia64_opcodes_f): Add fpcmp pseudo-ops for
1407 gt, ge, ngt, and nge.
1408 * ia64-asmtab.c: Regenerate.
1409
1410 * ia64-dis.c (print_insn_ia64): Revert Aug 7 byte skip count change.
1411 * ia64-gen.c (parse_semantics): Handle IA64_DVS_STOP.
1412 (lookup_specifier): Handle "PR%, 1 to 15" and "PR%, 16 to 62".
1413 * ia64-ic.tbl, ia64-raw.tbl, ia64-war.tbl, ia64-waw.tbl: Update.
1414 * ia64-asmtab.c: Regnerate.
1415
1416 2000-09-13 Anders Norlander <anorland@acc.umu.se>
1417
1418 * mips-opc.c (mips_builtin_opcodes): Support cache instruction on 4K cores.
1419 Add mfc0 and mtc0 with sub-selection values.
1420 Add clo and clz opcodes.
1421 Add msub and msubu instructions for MIPS32.
1422 Add madd/maddu aliases for mad/madu for MIPS32.
1423 Support wait, deret, eret, movn, pref for MIPS32.
1424 Support tlbp, tlbr, tlbwi, tlbwr.
1425 (P4): New define.
1426
1427 * mips-dis.c (print_insn_arg): Print sdbbp 'm' args.
1428 (print_insn_arg): Handle 'H' args.
1429 (set_mips_isa_type): Recognize 4K.
1430 Use CPU_* defines instead of hardcoded numbers.
1431
1432 2000-09-11 Catherine Moore <clm@redhat.com>
1433
1434 * d30v-opc.c (d30v_operand_t): New operand type Rb2.
1435 (d30v_format_tab): Use Rb2 for modinc and moddec.
1436
1437 2000-09-07 Catherine Moore <clm@redhat.com>
1438
1439 * d30v-opc.c (d30v_format_tab): Use format Ra for
1440 modinc and moddec.
1441
1442 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
1443
1444 * configure: Rebuilt with new libtool.m4.
1445
1446 2000-09-05 Nick Clifton <nickc@redhat.com>
1447
1448 * configure: Regenerate.
1449 * po/opcodes.pot: Regenerate.
1450
1451 2000-08-31 Alexandre Oliva <aoliva@redhat.com>
1452
1453 * acinclude.m4: Include libtool and gettext macros from the
1454 top level.
1455 * aclocal.m4, configure: Rebuilt.
1456
1457 2000-08-30 Kazu Hirata <kazu@hxi.com>
1458
1459 * tic80-dis.c: Fix formatting.
1460
1461 2000-08-29 Kazu Hirata <kazu@hxi.com>
1462
1463 * w65-dis.c: Fix formatting.
1464
1465 2000-08-28 Mark Hatle <mhatle@mvista.com>
1466
1467 * ppc-opc.c: Add XTLB macro for a few PPC 4xx extended mnemonics.
1468 (powerpc_opcodes): Add table entries for PPC 405 instructions.
1469 Changed rfci, icbt, mfdcr, dccci, mtdcr, iccci from PPC to PPC403
1470 instructions. Added extended mnemonic mftbl as defined in the
1471 405GP manual for all PPCs.
1472
1473 2000-08-28 Jim Wilson <wilson@redhat.com>
1474
1475 * ia64-dis.c (print_insn_ia64): Add failed label after ia64_free_opcode
1476 call. Change last goto to use failed instead of done.
1477
1478 2000-08-28 Dave Brolley <brolley@redhat.com>
1479
1480 * cgen-ibld.in (cgen_put_insn_int_value): New function.
1481 (insert_normal): Allow for non-zero word_offset with CGEN_INT_INSN_P.
1482 (insert_insn_normal): Use cgen_put_insn_int_value with CGEN_INT_INSN_P.
1483 (extract_normal): Allow for non-zero word_offset with CGEN_INT_INSN_P.
1484 * cgen-dis.in (read_insn): New static function.
1485 (print_insn): Use read_insn to read the insn into the buffer and set
1486 up for disassembly.
1487 (print_insn): in CGEN_INT_INSN_P, make sure that the entire insn is
1488 in the buffer.
1489 * fr30-asm.c: Regenerated.
1490 * fr30-desc.c: Regenerated.
1491 * fr30-desc.h: Regenerated.
1492 * fr30-dis.c: Regenerated.
1493 * fr30-ibld.c: Regenerated.
1494 * fr30-opc.c: Regenerated.
1495 * fr30-opc.h: Regenerated.
1496 * m32r-asm.c: Regenerated.
1497 * m32r-desc.c: Regenerated.
1498 * m32r-desc.h: Regenerated.
1499 * m32r-dis.c: Regenerated.
1500 * m32r-ibld.c: Regenerated.
1501 * m32r-opc.c: Regenerated.
1502
1503 2000-08-28 Kazu Hirata <kazu@hxi.com>
1504
1505 * tic30-dis.c: Fix formatting.
1506
1507 2000-08-27 Kazu Hirata <kazu@hxi.com>
1508
1509 * sh-dis.c: Fix formatting.
1510
1511 2000-08-24 David Edelsohn <dje@watson.ibm.com>
1512
1513 * ppc-opc.c (powerpc_opcodes): Add rfid, mtsrd, mtsrdin, mtmsrd.
1514
1515 2000-08-24 Kazu Hirata <kazu@hxi.com>
1516
1517 * z8k-dis.c: Fix formatting.
1518
1519 2000-08-16 Jim Wilson <wilson@redhat.com>
1520
1521 * ia64-ic.tbl (pr-readers-nobr-nomovpr): Add addl, adds. Delete
1522 break, mov-immediate, nop.
1523 * ia64-opc-f.c: Delete fpsub instructions.
1524 * ia64-opc-m.c: Add POSTINC to all instructions with postincrement
1525 address operand. Rewrite using macros to avoid long lines.
1526 * ia64-opc.h (POSTINC): Define.
1527 * ia64-asmtab.c: Regenerate.
1528
1529 2000-08-15 Jim Wilson <wilson@redhat.com>
1530
1531 * ia64-ic.tbl: Add missing entries.
1532
1533 2000-08-08 Jason Eckhardt <jle@redhat.com>
1534
1535 * i860-dis.c (print_br_address): Change third argument from int
1536 to long.
1537
1538 2000-08-07 Richard Henderson <rth@redhat.com>
1539
1540 * ia64-dis.c (print_insn_ia64): Get byte skip count correct
1541 for MLI templates. Handle IA64_OPND_TGT64.
1542
1543 2000-08-04 Ben Elliston <bje@redhat.com>
1544
1545 * cgen-dis.in, cgen-asm.in, cgen-ibld.in: New files.
1546 * cgen.sh: Likewise.
1547
1548 2000-08-02 Jim Wilson <wilson@redhat.com>
1549
1550 * ia64-dis.c (print_insn_ia64): Call ia64_free_opcode at end.
1551
1552 2000-07-29 Marek Michalkiewicz <marekm@linux.org.pl>
1553
1554 * avr-dis.c (avr_operand): Use PARAMS macro in declaration.
1555 Change return type from void to int. Check the combination
1556 of operands, return 1 if valid. Fix to avoid BUF overflow.
1557 Report undefined combinations of operands in COMMENT.
1558 Report internal errors to stderr. Output the adiw/sbiw
1559 constant operand in both decimal and hex.
1560 (print_insn_avr): Disassemble ldd/std with displacement of 0
1561 as ld/st. Check avr_operand () return value, handle invalid
1562 combinations of operands like unknown opcodes.
1563
1564 2000-07-28 Ben Elliston <bje@redhat.com>
1565
1566 * Makefile.am (CGEN, CGENDEPS, CGENDIR, CGENFLAGS): New.
1567 (run-cgen, stamp-m32r, stamp-fr30): New targets.
1568 * Makefile.in: Regenerate.
1569 * configure.in: Add --enable-cgen-maint option.
1570 * configure: Regenerate.
1571
1572 2000-07-26 Dave Brolley <brolley@redhat.com>
1573
1574 * cgen-opc.c (cgen_hw_lookup_by_name): 'i' is now unsigned.
1575 (cgen_hw_lookup_by_num): Ditto.
1576 (cgen_operand_lookup_by_name): Ditto.
1577 (print_address): Ditto.
1578 (print_keyword): Ditto.
1579 * cgen-dis.c (hash_insn_array): Mark unused parameters with
1580 ATTRIBUTE_UNUSED.
1581 * cgen-asm.c (hash_insn_array): Mark unused parameters with
1582 ATTRIBUTE_UNUSED.
1583 (cgen_parse_keyword): Ditto.
1584
1585 2000-07-22 Jason Eckhardt <jle@redhat.com>
1586
1587 * i860-dis.c: New file.
1588 (print_insn_i860): New function.
1589 (print_br_address): New function.
1590 (sign_extend): New function.
1591 (BITWISE_OP): New macro.
1592 (I860_REG_PREFIX): New macro.
1593 (grnames, frnames, crnames): New structures.
1594
1595 * disassemble.c (ARCH_i860): Define.
1596 (disassembler): Add check for bfd_arch_i860 to set disassemble
1597 function to print_insn_i860.
1598
1599 * Makefile.in (CFILES): Added i860-dis.c.
1600 (ALL_MACHINES): Added i860-dis.lo.
1601 (i860-dis.lo): New dependences.
1602
1603 * configure.in: New bits for bfd_i860_arch.
1604
1605 * configure: Regenerated.
1606
1607 2000-07-20 Hans-Peter Nilsson <hp@axis.com>
1608
1609 * Makefile.am (CFILES): Add cris-dis.c and cris-opc.c.
1610 (ALL_MACHINES): Add cris-dis.lo and cris-opc.lo.
1611 (cris-dis.lo, cris-opc.lo): New rules.
1612 * Makefile.in: Rebuild.
1613 * configure.in (bfd_cris_arch): New target.
1614 * configure: Rebuild.
1615 * disassemble.c (ARCH_cris): Define.
1616 (disassembler): Support ARCH_cris.
1617 * cris-dis.c, cris-opc.c: New files.
1618 * po/POTFILES.in, po/opcodes.pot: Regenerate.
1619
1620 2000-07-11 Jakub Jelinek <jakub@redhat.com>
1621
1622 * sparc-opc.c (sparc_opcodes): popc has 0 in rs1, not rs2.
1623 Reported by Bill Clarke <llib@computer.org>.
1624
1625 2000-07-09 Geoffrey Keating <geoffk@redhat.com>
1626
1627 * ppc-opc.c (powerpc_opcodes): Correct suffix for vslw.
1628 Patch by Randall J Fisher <rfisher@ecn.purdue.edu>.
1629
1630 2000-07-09 Alan Modra <alan@linuxcare.com.au>
1631
1632 * hppa-dis.c (fput_reg, fput_fp_reg, fput_fp_reg_r, fput_creg,
1633 fput_const, extract_3, extract_5_load, extract_5_store,
1634 extract_5r_store, extract_5R_store, extract_10U_store,
1635 extract_5Q_store, extract_11, extract_14, extract_16, extract_21,
1636 extract_12, extract_17, extract_22): Prototype.
1637 (print_insn_hppa): Rename inner block opcode -> opc to avoid
1638 shadowing outer block.
1639 (GET_BIT): Define.
1640
1641 2000-07-05 DJ Delorie <dj@redhat.com>
1642
1643 * MAINTAINERS: new
1644
1645 2000-07-04 Alexandre Oliva <aoliva@redhat.com>
1646
1647 * arm-dis.c (print_insn_arm): Output combinations of PSR flags.
1648
1649 2000-07-03 Marek Michalkiewicz <marekm@linux.org.pl>
1650
1651 * avr-dis.c (avr_operand): Change _ () to _() around all strings
1652 marked for translation (exception from the usual coding style).
1653 (print_insn_avr): Initialize insn2 to avoid warnings.
1654
1655 2000-07-03 Kazu Hirata <kazu@hxi.com>
1656
1657 * h8300-dis.c (bfd_h8_disassemble): Improve readability.
1658 * h8500-dis.c: Fix formatting.
1659
1660 2000-07-01 Alan Modra <alan@linuxcare.com.au>
1661
1662 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
1663 (CLEANFILES): Add DEPA.
1664 * Makefile.in: Regenerate.
1665
1666 2000-06-26 Scott Bambrough <scottb@netwinder.org>
1667
1668 * arm-dis.c (regnames): Add an additional register set to match
1669 the set used by GCC. Make it the default.
1670
1671 2000-06-22 Alan Modra <alan@linuxcare.com.au>
1672
1673 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
1674 find one.
1675 * Makefile.in: Regenerate.
1676
1677 2000-06-20 H.J. Lu <hjl@gnu.org>
1678
1679 * Makefile.am: Rebuild dependency.
1680 * Makefile.in: Rebuild.
1681
1682 2000-06-18 Stephane Carrez <stcarrez@worldnet.fr>
1683
1684 * Makefile.in, configure: regenerate
1685 * disassemble.c (disassembler): Recognize ARCH_m68hc12,
1686 ARCH_m68hc11.
1687 * m68hc11-dis.c (read_memory, print_insn, print_insn_m68hc12):
1688 New functions.
1689 * configure.in: Recognize m68hc12 and m68hc11.
1690 * m68hc11-dis.c, m68hc11-opc.c: New files for support of m68hc1x
1691 * Makefile.am (CFILES, ALL_MACHINES): New files for disassembly
1692 and opcode generation for m68hc11 and m68hc12.
1693
1694 2000-06-16 Nick Duffek <nsd@redhat.com>
1695
1696 * disassemble.c (disassembler): Refer to the PowerPC 620 using
1697 bfd_mach_ppc_620 instead of 620.
1698
1699 2000-06-12 Kazu Hirata <kazu@hxi.com>
1700
1701 * h8300-dis.c: Fix formatting.
1702 (bfd_h8_disassemble): Distinguish adds/subs, inc/dec.[wl]
1703 correctly.
1704
1705 2000-06-09 Denis Chertykov <denisc@overta.ru>
1706
1707 * avr-dis.c (avr_operand): Bugfix for jmp/call address.
1708
1709 2000-06-07 Denis Chertykov <denisc@overta.ru>
1710
1711 * avr-dis.c: completely rewritten.
1712
1713 2000-06-02 Kazu Hirata <kazu@hxi.com>
1714
1715 * h8300-dis.c: Follow the GNU coding style.
1716 (bfd_h8_disassemble) Fix a typo.
1717
1718 2000-06-01 Kazu Hirata <kazu@hxi.com>
1719
1720 * h8300-dis.c (bfd_h8_disassemble_init): Fix a typo.
1721 (bfd_h8_disassemble): Distinguish the operand size of inc/dev.[wl]
1722 correctly. Fix a typo.
1723
1724 2000-05-31 Nick Clifton <nickc@redhat.com>
1725
1726 * opintl.h (_(String)): Explain why dgettext is used instead of
1727 gettext.
1728
1729 2000-05-30 Nick Clifton <nickc@redhat.com>
1730
1731 * opintl.h (gettext, dgettext, dcgettext, textdomain,
1732 bindtextdomain): Replace defines with those from intl/libgettext.h
1733 to quieten gcc warnings.
1734
1735 2000-05-26 Alan Modra <alan@linuxcare.com.au>
1736
1737 * Makefile.am: Update dependencies with "make dep-am"
1738 * Makefile.in: Regenerate.
1739
1740 2000-05-25 Alexandre Oliva <aoliva@redhat.com>
1741
1742 * m10300-dis.c (disassemble): Don't assume 32-bit longs when
1743 sign-extending operands.
1744
1745 2000-05-15 Donald Lindsay <dlindsay@redhat.com>
1746
1747 * d10v-opc.c (d10v_opcodes): add ALONE tag to all short branches
1748 except brf's.
1749
1750 2000-05-21 Nick Clifton <nickc@redhat.com>
1751
1752 * Makefile.am (LIBIBERTY): Define.
1753
1754 2000-05-19 Diego Novillo <dnovillo@redhat.com>
1755
1756 * mips-dis.c (REGISTER_NAMES): Rename to STD_REGISTER_NAMES.
1757 (STD_REGISTER_NAMES): New name for REGISTER_NAMES.
1758 (reg_names): Rename to std_reg_names. Change it to a char **
1759 static variable.
1760 (std_reg_names): New name for reg_names.
1761 (set_mips_isa_type): Set reg_names to point to std_reg_names by
1762 default.
1763
1764 2000-05-16 Frank Ch. Eigler <fche@redhat.com>
1765
1766 * fr30-desc.h: Partially regenerated to account for changed
1767 CGEN_MAX_* -> CGEN_ACTUAL_MAX_* macros.
1768 * m32r-desc.h: Ditto.
1769
1770 2000-05-15 Nick Clifton <nickc@redhat.com>
1771
1772 * arm-opc.h: Use upper case for flasg in MSR and MRS
1773 instructions. Allow any bit to be set in the field_mask of
1774 the MSR instruction.
1775
1776 * arm-dis.c (print_insn_arm): Decode _x and _s bits of the
1777 field_mask of an MSR instruction.
1778
1779 2000-05-11 Thomas de Lellis <tdel@windriver.com>
1780
1781 * arm-opc.h: Disassembly of thumb ldsb/ldsh
1782 instructions changed to ldrsb/ldrsh.
1783
1784 2000-05-11 Ulf Carlsson <ulfc@engr.sgi.com>
1785
1786 * mips-dis.c (print_insn_arg): Don't mask top 32 bits of 64-bit
1787 target addresses for 'jal' and 'j'.
1788
1789 2000-05-10 Geoff Keating <geoffk@redhat.com>
1790
1791 * ppc-opc.c (powerpc_opcodes): Make the predicted-branch opcodes
1792 also available in common mode when powerpc syntax is being used.
1793
1794 2000-05-08 Alan Modra <alan@linuxcare.com.au>
1795
1796 * m68k-dis.c (dummy_printer): Add ATTRIBUTE_UNUSED to args.
1797 (dummy_print_address): Ditto.
1798
1799 2000-05-04 Timothy Wall <twall@redhat.com>
1800
1801 * tic54x-opc.c: New.
1802 * tic54x-dis.c: New.
1803 * disassemble.c (disassembler): Add ARCH_tic54x.
1804 * configure.in: Added tic54x target.
1805 * configure: Ditto.
1806 * Makefile.am: Add tic54x dependencies.
1807 * Makefile.in: Ditto.
1808
1809 2000-05-03 J.T. Conklin <jtc@redback.com>
1810
1811 * ppc-opc.c (VA, VB, VC, VD, VS, SIMM, UIMM, SHB): New macros, for
1812 vector unit operands.
1813 (VX, VX_MASK, VXA, VXA_MASK, VXR, VXR_MASK): New macros, for vector
1814 unit instruction formats.
1815 (PPCVEC): New macro, mask for vector instructions.
1816 (powerpc_operands): Add table entries for above operand types.
1817 (powerpc_opcodes): Add table entries for vector instructions.
1818
1819 * ppc-dis.c (print_insn_big_powerpc): Add PPC_OPCODE_ALTIVEC to mask.
1820 (print_insn_little_powerpc): Likewise.
1821 (print_insn_powerpc): Prepend 'v' when printing vector registers.
1822
1823 2000-04-24 Clinton Popetz <cpopetz@redhat.com>
1824
1825 * configure.in: Add bfd_powerpc_64_arch.
1826 * disassemble.c (disassembler): Use print_insn_big_powerpc for
1827 64 bit code.
1828
1829 2000-04-24 Nick Clifton <nickc@redhat.com>
1830
1831 * fr30-desc.c (fr30_cgen_cpu_open): Initialise signed_overflow
1832 field.
1833
1834 2000-04-23 Denis Chertykov <denisc@overta.ru>
1835
1836 * avr-dis.c (reg_fmul_d): New. Extract destination register from
1837 FMUL instruction.
1838 (reg_fmul_r): New. Extract source register from FMUL instruction.
1839 (reg_muls_d): New. Extract destination register from MULS instruction.
1840 (reg_muls_r): New. Extract source register from MULS instruction.
1841 (reg_movw_d): New. Extract destination register from MOVW instruction.
1842 (reg_movw_r): New. Extract source register from MOVW instruction.
1843 (print_insn_avr): Handle MOVW, MULS, MULSU, FMUL, FMULS, FMULSU,
1844 EICALL, EIJMP, LPM r,Z, ELPM r,Z, SPM, ESPM instructions.
1845
1846 2000-04-22 Timothy Wall <twall@redhat.com>
1847
1848 * ia64-gen.c (general): Add an ordered table of primary
1849 opcode names, as well as priority fields to disassembly data
1850 structures to enforce a preferred disassembly format based on the
1851 ordering of the opcode tables.
1852 (load_insn_classes): Show a useful message if IC tables are missing.
1853 (load_depfile): Ditto.
1854 * ia64-asmtab.h (struct ia64_dis_names ): Add priority flag to
1855 distinguish preferred disassembly.
1856 * ia64-opc-f.c: Reorder some insn for preferred disassembly
1857 format. Fix incorrect flag on fma.s/fma.s.s0.
1858 * ia64-opc.c: Scan *all* disassembly matches and use the one with
1859 the highest priority.
1860 * ia64-opc-b.c: Use more abbreviations.
1861 * ia64-asmtab.c: Regenerate.
1862
1863 2000-04-21 Jason Eckhardt <jle@redhat.com>
1864
1865 * hppa-dis.c (extract_16): New function.
1866 (print_insn_hppa): Fix incorrect handling of 'fe'. Added handling of
1867 new operand types l,y,&,fe,fE,fx.
1868
1869 2000-04-21 Richard Henderson <rth@redhat.com>
1870 David Mosberger <davidm@hpl.hp.com>
1871 Timothy Wall <twall@redhat.com>
1872 Bob Manson <manson@charmed.cygnus.com>
1873 Jim Wilson <wilson@redhat.com>
1874
1875 * Makefile.am (HFILES): Add ia64-asmtab.h, ia64-opc.h.
1876 (CFILES): Add ia64-dis.c, ia64-opc-a.c, ia64-opc-b.c, ia64-opc-f.c,
1877 ia64-opc-i.c, ia64-opc-m.c, ia64-opc-d.c, ia64-opc.c, ia64-gen.c,
1878 ia64-asmtab.c.
1879 (ALL_MACHINES): Add ia64-dis.lo, ia64-opc.lo.
1880 (ia64-ic.tbl, ia64-raw.tbl, ia64-waw.tbl, ia64-war.tbl, ia64-gen,
1881 ia64-gen.o, ia64-asmtab.c, ia64-dis.lo, ia64-opc.lo): New rules.
1882 * Makefile.in: Rebuild.
1883 * configure Rebuild.
1884 * configure.in (bfd_ia64_arch): New target.
1885 * disassemble.c (ARCH_ia64): Define.
1886 (disassembler): Support ARCH_ia64.
1887 * ia64-asmtab.c, ia64-asmtab.h, ia64-dis.c, ia64-gen.c ia64-ic.tbl,
1888 ia64-opc-a.c, ia64-opc-b.c, ia64-opc-d.c ia64-opc-f.c, ia64-opc-i.c,
1889 ia64-opc-m.c, ia64-opc-x.c, ia64-opc.c, ia64-opc.h, ia64-raw.tbl,
1890 ia64-war.tbl, ia64-waw.tbl: New files.
1891
1892 2000-04-20 Alexandre Oliva <aoliva@redhat.com>
1893
1894 * m10300-dis.c (HAVE_AM30, HAVE_AM33): Define.
1895 (disassemble): Use them.
1896
1897 2000-04-14 Alan Modra <alan@linuxcare.com.au>
1898
1899 * sysdep.h: Include "ansidecl.h" not <ansidecl.h>
1900 * Makefile.am: Update dependencies.
1901 * Makefile.in: Regenerate.
1902
1903 2000-04-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1904
1905 * a29k-dis.c, alpha-dis.c, alpha-opc.c, arc-dis.c, arc-opc.c,
1906 avr-dis.c, d10v-dis.c, d10v-opc.c, d30v-dis.c, d30v-opc.c,
1907 disassemble.c, h8300-dis.c, h8500-dis.c, hppa-dis.c, i370-dis.c,
1908 i370-opc.c, i960-dis.c, m10200-dis.c, m10200-opc.c, m10300-dis.c,
1909 m10300-opc.c, m68k-dis.c, m68k-opc.c, m88k-dis.c, mcore-dis.c,
1910 mips-dis.c, mips-opc.c, mips16-opc.c, pj-dis.c, pj-opc.c,
1911 ppc-dis.c, ppc-opc.c, sh-dis.c, sparc-dis.c, sparc-opc.c,
1912 tic80-dis.c, tic80-opc.c, v850-dis.c, v850-opc.c, vax-dis.c,
1913 w65-dis.c, z8k-dis.c, z8kgen.c: Include sysdep.h. Remove
1914 ansidecl.h as sysdep.h includes it.
1915
1916 2000-04-7 Andrew Cagney <cagney@b1.redhat.com>
1917
1918 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
1919 --enable-build-warnings option.
1920 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
1921 * Makefile.in, configure: Re-generate.
1922
1923 2000-04-05 J"orn Rennecke <amylaar@redhat.com>
1924
1925 * sh-opc.h (sh_table): Use A_DISP_PC / PCRELIMM_8BY2 for ldre & ldrs.
1926 stc GBR,@-<REG_N> is available for arch_sh1_up.
1927 Group parallel processing insn with identical mnemonics together.
1928 Make three-operand psha / pshl come first.
1929
1930 2000-04-05 J"orn Rennecke <amylaar@redhat.co.uk>
1931
1932 * sh-opc.h (sh_nibble_type): Remove DISP_8 and DISP_4.
1933 Split IMM_[48]{,BY[24]} into IMM[01]_[48]{,BY[24]}. Add REPEAT.
1934 (sh_arg_type): Add A_PC.
1935 (sh_table): Update entries using immediates. Add repeat.
1936 * sh-dis.c (print_insn_shx): Remove DISP_8 and DISP_4.
1937 Split IMM_[48]{,BY[24]} into IMM[01]_[48]{,BY[24]}. Add REPEAT.
1938
1939 2000-04-04 Alan Modra <alan@linuxcare.com.au>
1940
1941 * po/opcodes.pot: Regenerate.
1942
1943 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
1944 (DEP): Quote when passing vars to sub-make. Add warning message
1945 to end.
1946 (DEP1): Rewrite for "gcc -MM".
1947 (CLEANFILES): Add DEP2.
1948 Update dependencies.
1949 * Makefile.in: Regenerate.
1950
1951 2000-04-03 Denis Chertykov <denisc@overta.ru>
1952
1953 * avr-dis.c: Syntax cleanup.
1954 (add0fff): Print the pc relative address as a signed number.
1955 (add03f8): Likewise.
1956
1957 2000-04-01 Ian Lance Taylor <ian@zembu.com>
1958
1959 * disassemble.c (disassembler_usage): Don't use a prototype. Mark
1960 the parameter ATTRIBUTE_UNUSED.
1961 * ppc-opc.c: Add ATTRIBUTE_UNUSED as needed.
1962
1963 2000-04-01 Alexandre Oliva <aoliva@redhat.com>
1964
1965 * m10300-opc.c: SP-based offsets are always unsigned.
1966
1967 2000-03-29 Thomas de Lellis <tdel@windriver.com>
1968
1969 * arm-opc.h (thumb_opcodes): Disassemble 0xde.. to "bal"
1970 [branch always] instead of "undefined".
1971
1972 2000-03-27 Nick Clifton <nickc@redhat.com>
1973
1974 * d30v-opc.c (d30v_format_table): Move SHORT_AR to end of list of
1975 short instructions, from end of list of long instructions.
1976
1977 2000-03-27 Ian Lance Taylor <ian@zembu.com>
1978
1979 * Makefile.am (CFILES): Add avr-dis.c.
1980 (ALL_MACHINES): Add avr-dis.lo.
1981
1982 2000-03-27 Alan Modra <alan@linuxcare.com>
1983
1984 * avr-dis.c (add0fff, add03f8): Don't use structure bitfields to
1985 truncate integers.
1986 (print_insn_avr): Call function via pointer in K&R compatible way.
1987 (dispLDD, regPP, reg50, reg104, reg40, reg20w, lit404, lit204,
1988 add0fff, add03f8): Convert to old style function declaration and
1989 add prototype.
1990 (avrdis_opcode): Add prototype.
1991
1992 2000-03-27 Denis Chertykov <denisc@overta.ru>
1993
1994 * avr-dis.c: New file. AVR disassembler.
1995 * configure.in (bfd_avr_arch): New architecture support.
1996 * disassemble.c: Likewise.
1997 * configure: Regenerate.
1998
1999 2000-03-06 J"oern Rennecke <amylaar@redhat.com>
2000
2001 * sh-opc.h (sh_table): ldre and ldrs have a *signed* displacement.
2002
2003 2000-03-02 J"orn Rennecke <amylaar@redhat.co.uk>
2004
2005 * d30v-dis.c (print_insn): Remove d*i hacks. Use per-operand
2006 flag to determine if operand is pc-relative.
2007 * d30v-opc.c:
2008 (d30v_format_table):
2009 (REL6S3): Renamed from IMM6S3.
2010 Added flag OPERAND_PCREL.
2011 (REL12S3, REL18S3, REL32): Split from IMM12S3, IMM18S3, REL32, with
2012 added flag OPERAND_PCREL.
2013 (IMM12S3U): Replaced with REL12S3.
2014 (SHORT_D2, LONG_D): Delay target is pc-relative.
2015 (SHORT_B2r, SHORT_B3r, SHORT_B3br, SHORT_D2r, LONG_Ur, LONG_2r):
2016 Split from SHORT_B2, SHORT_D2, SHORT_B3b, SHORT_D2, LONG_U, LONG_2r,
2017 using the REL* operands.
2018 (LONG_2br, LONG_Dr): Likewise, from LONG_2b, LONG_D.
2019 (SHORT_D1r, SHORT_D2Br, LONG_Dbr): Renamed from SHORT_D1, SHORT_D2B,
2020 LONG_Db, using REL* operands.
2021 (SHORT_U, SHORT_A5S): Removed stray alternatives.
2022 (d30v_opcode_table): Use new *r formats.
2023
2024 2000-02-28 Nick Clifton <nickc@redhat.com>
2025
2026 * m32r-desc.c (m32r_cgen_cpu_open): Replace 'flags' with
2027 'signed_overflow_ok_p'.
2028
2029 2000-02-27 Eli Zaretskii <eliz@is.elta.co.il>
2030
2031 * Makefile.am (stamp-lib): Use $(LIBTOOL) --config to get the
2032 name of the libtool directory.
2033 * Makefile.in: Rebuild.
2034
2035 2000-02-24 Nick Clifton <nickc@redhat.com>
2036
2037 * cgen-opc.c (cgen_set_signed_overflow_ok): New function.
2038 (cgen_clear_signed_overflow_ok): New function.
2039 (cgen_signed_overflow_ok_p): New function.
2040
2041 2000-02-23 Andrew Haley <aph@redhat.com>
2042
2043 * m32r-asm.c, m32r-desc.c, m32r-desc.h, m32r-dis.c,
2044 m32r-ibld.c, m32r-opc.h: Rebuild.
2045
2046 2000-02-23 Linas Vepstas <linas@linas.org>
2047
2048 * i370-dis.c, i370-opc.c: New.
2049
2050 * disassemble.c (ARCH_i370): Define.
2051 (disassembler): Handle it.
2052
2053 * Makefile.am: Add support for Linux/IBM 370.
2054 * configure.in: Likewise.
2055
2056 * Makefile.in: Regenerate.
2057 * configure: Likewise.
2058
2059 2000-02-22 Chandra Chavva <cchavva@redhat.com>
2060
2061 * d30v-opc.c (d30v_opcode_tab) : Added FLAG_NOT_WITH_ADDSUBppp to
2062 ST2H, STB, STH, STHH, STW and ST2H opcodes to prohibit parallel
2063 procedure.
2064
2065 2000-02-22 Andrew Haley <aph@redhat.com>
2066
2067 * mips-dis.c (_print_insn_mips): New arg for OPCODE_IS_MEMBER:
2068 force gp32 to zero.
2069 * mips-opc.c (G6): New define.
2070 (mips_builtin_op): Add "move" definition for -gp32.
2071
2072 2000-02-22 Ian Lance Taylor <ian@zembu.com>
2073
2074 From Grant Erickson <gerickso@Brocade.COM>:
2075 * ppc-opc.c: Correct dcread--it takes 3 arguments, not 2.
2076
2077 2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
2078
2079 * dis-buf.c (buffer_read_memory): Change `length' param and all int
2080 vars to unsigned.
2081
2082 2000-02-17 J"orn Rennecke <amylaar@redhat.co.uk>
2083
2084 * sh-dis.c (print_movxy, print_insn_ddt, print_dsp_reg): New functions.
2085 (print_insn_ppi): Likewise.
2086 (print_insn_shx): Use info->mach to select appropriate insn set.
2087 Add support for sh-dsp. Remove FD_REG_N support.
2088 * sh-opc.h (sh_nibble_type): Add new values for sh-dsp support.
2089 (sh_arg_type): Likewise. Remove FD_REG_N.
2090 (sh_dsp_reg_nums): New enum.
2091 (arch_sh1, arch_sh2, arch_sh3, arch_sh3e, arch_sh4): New macros.
2092 (arch_sh_dsp, arch_sh3_dsp, arch_sh1_up, arch_sh2_up): Likewise.
2093 (arch_sh3_up, arch_sh3e_up, arch_sh4_up, arch_sh_dsp_up): Likewise.
2094 (arch_sh3_dsp_up): Likewise.
2095 (sh_opcode_info): New field: arch.
2096 (sh_table): Split up insn with FD_REG_N into ones with F_REG_N and
2097 D_REG_N. Fill in arch field. Add sh-dsp insns.
2098
2099 2000-02-14 Fernando Nasser <fnasser@totem.to.redhat.com>
2100
2101 * arm-dis.c: Change flavor name from atpcs-special to
2102 special-atpcs to prevent name conflict in gdb.
2103 (get_arm_regname_num_options, set_arm_regname_option,
2104 get_arm_regnames): New functions. API to access the several
2105 flavor of register names. Note: Used by gdb.
2106 (print_insn_thumb): Use the register name entry from the currently
2107 selected flavor for LR and PC.
2108
2109 2000-02-10 Nick Clifton <nickc@redhat.com>
2110
2111 * mcore-opc.h (enum mcore_opclass): Add MULSH and OPSR
2112 classes.
2113 (mcore_table): Add "idly4", "psrclr", "psrset", "mulsh" and
2114 "mulsh.h" instructions.
2115 * mcore-dis.c (imsk array): Add masks for MULSH and OPSR
2116 classes.
2117 (print_insn_mcore): Add support for little endian targets.
2118 Add support for MULSH and OPSR classes.
2119
2120 2000-02-07 Nick Clifton <nickc@redhat.com>
2121
2122 * arm-dis.c (parse_arm_diassembler_option): Rename again.
2123 Previous delat did not take.
2124
2125 2000-02-03 Timothy Wall <twall@redhat.com>
2126
2127 * dis-buf.c (buffer_read_memory): Use octets_per_byte field
2128 to adjust target address bounds checking and calculate the
2129 appropriate octet offset into data.
2130
2131 2000-01-27 Nick Clifton <nickc@redhat.com>
2132
2133 * arm-dis.c: (parse_disassembler_option): Rename to
2134 parse_arm_disassembler_option and allow to be exported.
2135
2136 * disassemble.c (disassembler_usage): New function: Print out any
2137 target specific disassembler options.
2138 Call arm_disassembler_options() if the ARM architecture is being
2139 supported.
2140
2141 * arm-dis.c (NUM_ELEM): Define this macro if not already
2142 defined.
2143 (arm_regname): New struct type for ARM register names.
2144 (arm_toggle_regnames): Delete.
2145 (parse_disassembler_option): Use register name structure.
2146 (print_insn): New function: Combines duplicate code found in
2147 print_insn_big_arm and print_insn_little_arm.
2148 (print_insn_big_arm): Call print_insn.
2149 (print_insn_little_arm): Call print_insn.
2150 (print_arm_disassembler_options): Display list of supported,
2151 ARM specific disassembler options.
2152
2153 2000-01-27 Thomas de Lellis <tdel@windriver.com>
2154
2155 * arm-dis.c (printf_insn_big_arm): Treat ELF symbols with the
2156 ARM_STT_16BIT flag as Thumb code symbols.
2157
2158 * arm-dis.c (printf_insn_little_arm): Ditto.
2159
2160 2000-01-25 Thomas de Lellis <tdel@windriver.com>
2161
2162 * arm-dis.c (printf_insn_thumb): Prevent double dumping
2163 of raw thumb instructions.
2164
2165 2000-01-20 Nick Clifton <nickc@redhat.com>
2166
2167 * mcore-opc.h (mcore_table): Add "add" as an alias for "addu".
2168
2169 2000-01-03 Nick Clifton <nickc@cygnus.com>
2170
2171 * arm-dis.c (streq): New macro.
2172 (strneq): New macro.
2173 (force_thumb): ew local variable.
2174 (parse_disassembler_option): New function: Parse a single, ARM
2175 specific disassembler command line switch.
2176 (parse_disassembler_option): Call parse_disassembler_option to
2177 parse individual command line switches.
2178 (print_insn_big_arm): Check force_thumb.
2179 (print_insn_little_arm): Check force_thumb.
2180
2181 For older changes see ChangeLog-9899
2182 \f
2183 Local Variables:
2184 mode: change-log
2185 left-margin: 8
2186 fill-column: 74
2187 version-control: never
2188 End:
This page took 0.074788 seconds and 5 git commands to generate.