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