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