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