Build cleanups in opcodes: cross-compilation and generators.
[deliverable/binutils-gdb.git] / opcodes / ChangeLog
1 2009-08-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2
3 * Makefile.am (SUBDIRS): Build '.' before 'po'.
4 (COMPILE_FOR_BUILD, LINK_FOR_BUILD, BUILD_LIBIBERTY)
5 (MOSTLYCLEANFILES, MAINTAINERCLEANFILES): New variables.
6 (i386-gen$(EXEEXT_FOR_BUILD)): Renamed from i386-gen, rewrite
7 using *BUILD variables, depend upon $(BUILD_LIBIBERTY).
8 (i386-gen.o): New rule.
9 ($(srcdir)/i386-init.h): Adjust.
10 (i386-opc.lo): Depend on $(srcdir)/i386-tbl.h.
11 (ia64-gen$(EXEEXT_FOR_BUILD)): Rename from ia64-gen, adjust likewise.
12 (ia64-gen.o): New rule.
13 (ia64_asmtab_deps): New variable.
14 ($(srcdir)/ia64-asmtab.c): Use it; adjust likewise.
15 (ia64-opc.lo): Depend on $(srcdir)/ia64-asmtab.c.
16 (s390-mkopc$(EXEEXT_FOR_BUILD)): Rename from s390-mkopc, adjust
17 likewise.
18 (s390-opc.tab): Adjust.
19 (z8kgen$(EXEEXT_FOR_BUILD), z8kgen.o, $(srcdir)/z8k-opc.h): New
20 rules.
21 (z8k-dis.lo): Depend on $(srcdir)/z8k-opc.h.
22 * Makefile.in: Regenerate.
23 * z8kgen.c (gas): Avoid '/*' in comment.
24 * z8k-opc.h (func): Regenerate.
25
26 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
27
28 * Makefile.am (TARGET_LIBOPCODES_CFILES): New variable, taken
29 from $(CFILES), sorted, with dis-buf.c, dis-init.c, disassemble.c,
30 i386-gen.c, ia64-opc-a.c, ia64-opc-b.c, ia64-opc-f.c, ia64-opc-i.c,
31 ia64-opc-m.c, ia64-opc-d.c, ia64-gen.c, ia64-asmtab.c removed, and
32 msp430-dis.c added.
33 (LIBOPCODES_CFILES): New variable, adding to
34 TARGET_LIBOPCODES_CFILES also non-target library sources.
35 (CFILES): Factorize based on $(LIBOPCODES_CFILES), adding generator
36 files.
37 (ALL_MACHINES): Factorize based on $(TARGET_LIBOPCODES_CFILES).
38 (EXTRA_libopcodes_la_SOURCES): Use $(LIBOPCODES_CFILES).
39 * Makefile.in: Regenerate.
40 * po/POTFILES.in: Regenerate.
41
42 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
43
44 * Makefile.am (libopcodes_la_LDFLAGS): Initialize early.
45 [INSTALL_LIBBFD] (bfdlib_LTLIBRARIES): Set only in this condition.
46 [INSTALL_LIBBFD] (bfdinclude_DATA): New.
47 [!INSTALL_LIBBFD] (noinst_LTLIBRARIES): New.
48 [!INSTALL_LIBBFD] (libopcodes_la_LDFLAGS): Ensure libopcodes.la
49 is built shared even if it is not to be installed.
50 (install-bfdlibLTLIBRARIES,uninstall-bfdlibLTLIBRARIES)
51 (install_libopcodes, uninstall_libopcodes): Remove.
52 (AM_CPPFLAGS): Renamed from ...
53 (INCLUDES): ... this.
54 * Makefile.in: Regenerate.
55
56 * Makefile.am (AUTOMAKE_OPTIONS): Remove 1.9 and cygnus, add
57 1.11, foreign, no-dist.
58 (MKDEP, m32c_opc_h): Remove variables.
59 (disassemble.lo): Rewrite using automake-style dependency
60 tracking rules; only list the dependency upon the primary source
61 file, but no included headers.
62 (m32c-asm.lo, m32c-desc.lo, m32c-dis.lo, m32c-ibld.lo, m32c-opc.lo)
63 (i386-gen.o, ia64-gen.o): Remove dependency statements.
64 (EXTRA_libopcodes_la_SOURCES): New variable, list $(CFILES) to
65 ensure all dependency fragments are included in the Makefile.
66 (s390-opc.lo): Depend on s390-opc.tab.
67 (DEP, DEP1, dep.sed, dep, dep-in, dep-am): Remove rules.
68 (mkdep section): Remove.
69 * Makefile.in: Regenerate.
70 * po/POTFILES.in: Regenerate.
71
72 * Makefile.am (install-pdf, install-html): Remove.
73 * Makefile.in: Regenerate.
74
75 * Makefile.in: Regenerate.
76 * aclocal.m4: Likewise.
77 * config.in: Likewise.
78 * configure: Likewise.
79
80 2009-08-06 Michael Eager <eager@eagercon.com>
81
82 * Makefile.am: Add microblaze-opc.h to HFILES, microblaze-dis.c to
83 CFILES, microblaze-dis.lo to ALL_MACHINES, targets.
84 * Makefile.in: Regenerate.
85 * configure.in: Add bfd_microblaze_arch target.
86 * configure: Regenerate.
87 * disassemble.c: Define ARCH_microblaze, return
88 print_insn_microblaze().
89 * microblaze-dis.c: New MicroBlaze disassembler.
90 * microblaze-opc.h: New MicroBlaze opcode definitions.
91 * microblaze-opcm.h: New MicroBlaze opcode types.
92
93 2009-07-25 H.J. Lu <hongjiu.lu@intel.com>
94
95 * configure.in: Handle bfd_l1om_arch.
96 * disassemble.c (disassembler): Likewise.
97
98 * configure: Regenerated.
99
100 * i386-dis.c (print_insn): Handle bfd_mach_l1om and
101 bfd_mach_l1om_intel_syntax. Use 8 bytes per line for Intel L1OM.
102
103 * i386-gen.c (cpu_flag_init): Set CPU_UNKNOWN_FLAGS to ~CpuL1OM.
104 Add CPU_L1OM_FLAGS.
105 (cpu_flags): Add CpuL1OM.
106 (set_bitfield): Take an argument to set the value field.
107 (process_i386_cpu_flag): Support ~CpuXXX and ~(CpuXXX|CpuYYY).
108 (process_i386_opcode_modifier): Updated.
109 (process_i386_operand_type): Likewise.
110 * i386-init.h: Regenerated.
111 * i386-tbl.h: Likewise.
112
113 * i386-opc.h (CpuL1OM): New.
114 (CpuXsave): Updated.
115 (i386_cpu_flags): Add cpul1om.
116
117 2009-07-24 Jan Beulich <jbeulich@novell.com>
118
119 * i386-dis.c (fgrps): Correct annotation for feni/fdisi. Add
120 frstpm.
121 * i386-gen.c (cpu_flag_init): Add FP enabling flags where needed.
122 (cpu_flags): Add Cpu8087, Cpu287, Cpu387, Cpu687, and CpuFISTTP.
123 (set_bitfield): Expand CpuFP to Cpu8087|Cpu287|Cpu387.
124 * i386-opc.h (Cpu8087, Cpu287, Cpu387, Cpu687, CpuFISTTP):
125 Define.
126 (union i386_cpu_flags): Add cpu8087, cpu287, cpu387, cpu687,
127 and cpufisttp.
128 * i386-opc.tbl: Qualify floating point instructions by their
129 respective CpuXXX flag. Fix fucom{,p,pp}, fprem1, fsin, fcos,
130 and fsincos to be avilable only on 387. Fix fstsw ax to be
131 available only on 287+. Add f{,n}eni, f{,n}disi, f{,n}setpm,
132 and frstpm.
133 * i386-init.h, i386-tbl.h: Regenerate.
134
135 2009-07-20 Nick Clifton <nickc@redhat.com>
136
137 PR 10288
138 * arm-dis.c (arm_opcodes): Catch non-zero bits 8-11 in register
139 offset or indexed based addressing mode 3.
140
141 2009-07-14 Nick Clifton <nickc@redhat.com>
142
143 PR 10288
144 * arm-dis.c (arm_opcodes): Catch illegal Addressing Mode 1
145 patterns.
146 (arm_decode_shift): Catch illegal register based shifts.
147 (print_insn_arm): Properly handle negative register r0
148 post-indexed addressing.
149
150 2009-07-10 Doug Kwan <dougkwan@google.com>
151
152 * arm-disc.c (print_insn_coprocessor, print_insn_arm): Print only
153 lower 32 bits of long types to make hexadecimal output consistent
154 on both 32-bit and 64-bit hosts.
155
156 2009-07-10 Alan Modra <amodra@bigpond.net.au>
157
158 * fr30-desc.c, * fr30-desc.h, * fr30-opc.c, * fr30-opc.h,
159 * frv-desc.c, * frv-desc.h, * frv-opc.c, * frv-opc.h,
160 * ip2k-desc.c, * ip2k-desc.h, * ip2k-opc.c, * ip2k-opc.h,
161 * iq2000-desc.c, * iq2000-desc.h, * iq2000-opc.c, * iq2000-opc.h,
162 * lm32-desc.c, * lm32-desc.h, * lm32-opc.c, * lm32-opc.h,
163 * lm32-opinst.c, * m32c-desc.c, * m32c-desc.h, * m32c-opc.c,
164 * m32c-opc.h, * m32r-desc.c, * m32r-desc.h, * m32r-opc.c,
165 * m32r-opc.h, * m32r-opinst.c, * mt-desc.c, * mt-desc.h,
166 * mt-opc.c, * mt-opc.h, * openrisc-desc.c, * openrisc-desc.h,
167 * openrisc-opc.c, * openrisc-opc.h, * xc16x-desc.c, * xc16x-desc.h,
168 * xc16x-opc.c, * xc16x-opc.h, * xstormy16-desc.c, * xstormy16-desc.h,
169 * xstormy16-opc.c, * xstormy16-opc.h: Regenerate.
170
171 2009-07-07 Chung-Lin Tang <cltang@pllab.cs.nthu.edu.tw>
172
173 * arm-dis.c (coprocessor_opcodes): Fix mask for waddbhus.
174
175 2009-07-07 Nick Clifton <nickc@redhat.com>
176
177 PR 10288
178 * arm-dis.c (arm_opcodes): Be more strict about decoding scaled
179 addressing modes.
180
181 2009-07-06 DJ Delorie <dj@redhat.com>
182
183 * mep-desc.c: Regenerate.
184 * mep-desc.h: Regenerate.
185 * mep-opc.c: Regenerate.
186 * mep-opc.h: Regenerate.
187
188 2009-07-06 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
189
190 * i386-opc.h (CpuFMA4): Add CpuFMA4.
191 (i386_cpu_flags): New.
192 * i386-gen.c: Add CPU_FMA4_FLAGS.
193 * i386-opc.tbl: Add FMA4 instructions.
194 * i386-tbl.h: Regenerate.
195 * i386-init.h: Regenerate.
196 * i386-dis.c (OP_VEX_FMA): New. Handle FMA4.
197 (OP_XMM_VexW): Ditto.
198 (OP_EX_VexW): Ditto.
199 (VEXI4_Fixup): Ditto.
200 (VexI4, VexFMA, Vex128FMA, EXVexW, EXdVexW, XMVexW): New Macros.
201 (PREFIX_VEX_3A5C, PREFIX_VEX_3A5D, PREFIX_VEX_3A5E): New.
202 (PREFIX_VEX_3A5F, PREFIX_VEX_3A60): New.
203 (PREFIX_VEX_3A68, PREFIX_VEX_3A69, PREFIX_VEX_3A6A): New.
204 (PREFIX_VEX_3A6B, PREFIX_VEX_3A6C, PREFIX_VEX_3A6D): New.
205 (PREFIX_VEX_3A6E, PREFIX_VEX_3A6F, PREFIX_VEX_3A7A): New.
206 (PREFIX_VEX_3A7B, PREFIX_VEX_3A7C, PREFIX_VEX_3A7D): New.
207 (PREFIX_VEX_3A7E, PREFIX_VEX_3A7F): New.
208 (VEX_LEN_3A6A_P_2,VEX_LEN_3A6B_P_2, VEX_LEN_3A6E_P_2): New.
209 (VEX_LEN_3A6F_P_2,VEX_LEN_3A7A_P_2, VEX_LEN_3A7B_P_2): New.
210 (VEX_LEN_3A7E_P_2,VEX_LEN_3A7F_P_2): New.
211 (get_vex_imm8): New. handle FMA4.
212 (OP_EX_VexReg): Ditto.
213
214 2009-06-30 Nick Clifton <nickc@redhat.com>
215
216 PR 10288
217 * arm-dis.c (coprocessor): Print the LDC and STC versions of the
218 LFM and SFM instructions as comments,.
219 Improve consistency of formatting for instructions displayed as
220 comments and decimal values displayed with their hexadecimal
221 equivalents.
222 Formatting tidy ups.
223
224 2009-06-29 Nick Clifton <nickc@redhat.com>
225
226 PR 10288
227 * arm-dis.c (enum opcode_sentinels): New: Used to mark the
228 boundary between variaant and generic coprocessor instuctions.
229 (coprocessor): Use it.
230 Fix architecture version of MCRR and MRRC instructions.
231 (arm_opcdes): Fix patterns for STRB and STRH instructions.
232 (print_insn_coprocessor): Check architecture and extension masks.
233 Print a hexadecimal version of any decimal constant that is
234 outside of the range of -16 to +32.
235 (print_arm_address): Add a return value of the offset used in the
236 adress, if it is worth printing a hexadecimal version of it.
237 (print_insn_neon): Print a hexadecimal version of any decimal
238 constant that is outside of the range of -16 to +32.
239 (print_insn_arm): Likewise.
240 (print_insn_thumb16): Likewise.
241 (print_insn_thumb32): Likewise.
242
243 PR 10297
244 * arm-dis.c (UNDEFINED_INSTRUCTION): New macro for a description
245 of an undefined instruction.
246 (arm_opcodes): Use it.
247 (thumb_opcod): Use it.
248 (thumb32_opc): Use it.
249
250 2009-06-23 DJ Delorie <dj@redhat.com>
251
252 * mep-desc.c: Regenerate.
253 * mep-desc.h: Regenerate.
254 * mep-dis.c: Regenerate.
255 * mep-ibld.c: Regenerate.
256 * mep-opc.c: Regenerate.
257
258 * mep-asm.c: Regenerate.
259 * mep-opc.c: Regenerate.
260 * mep-opc.h: Regenerate.
261
262 2009-06-22 Nick Clifton <nickc@redhat.com>
263
264 * po/fi.po: Updated Finish translation.
265
266 2009-06-22 Alan Modra <amodra@bigpond.net.au>
267
268 * m32c-asm.c: Regenerate.
269
270 2009-06-22 Alan Modra <amodra@bigpond.net.au>
271
272 * score-dis.c (print_insn_score48, print_insn_score32): Move default
273 case label to proper lexical block.
274 * score7-dis.c (print_insn_score32): Likewise.
275
276 2009-06-19 Martin Schwidefsky <sschwidefsky@de.ibm.com>
277
278 * s390-opc.c (INSTR_RR_0R_OPT, INSTR_RX_0RRD_OPT, MASK_RR_0R_OPT,
279 MASK_RX_0RRD_OPT): New instruction formats with optional arguments.
280 * s390-opc.txt (nopr, nop): Use new instruction format.
281
282 2009-06-18 Nick Clifton <nickc@redhat.com>
283
284 PR 10288
285 * arm-dis.c (print_insn_coprocessor): Check that a user specified
286 ARM architecture supports the matched instruction.
287 (print_insn_arm): Likewise.
288 (select_arm_features): New function. Fills in the fields of an
289 arm_feature_set structure based on a given arm machine number.
290 (print_insn): Initialise an arm_feature_set structure.
291
292 2009-06-16 Maciej W. Rozycki <macro@linux-mips.org>
293
294 * vax-dis.c (is_function_entry): Return success for synthetic
295 symbols too.
296 (is_plt_tail): New function.
297 (print_insn_vax): Decode PLT entry offset longword.
298
299 2009-06-15 Nick Clifton <nickc@redhat.com>
300
301 PR 10186
302 * arm-dis.c (thumb32_opcodes): Fix binary value of SEV.W
303 instruction.
304
305 PR 10173
306 * cr16-dis.c (print_arg): Avoid printing the 0x prefix twice.
307
308 2009-06-15 Nick Clifton <nickc@redhat.com>
309
310 PR 10263
311 * arm-dis.c (print_insn): Ignore is_data if the user has requested
312 the disassembly of data as well as instructions.
313
314 2009-06-11 Doug Evans <dje@sebabeach.org>
315
316 * cgen.sh: Handle multiple simultaneous runs for parallel makes.
317
318 2009-06-11 Anthony Green <green@moxielogic.com>
319
320 * moxie-opc.c (moxie_form1_opc_info): Remove branch instructions.
321 (moxie_form3_opc_info): Add branch instructions.
322 * moxie-dis.c (print_insn_moxie): Disassemble MOXIE_F3_PCREL
323 encoded instructions.
324
325 2009-06-06 Anthony Green <green@moxielogic.com>
326
327 * moxie-opc.c: Recode some MOXIE_F1_4 opcodes as MOXIE_F1_M.
328 * moxie-dis.c (print_insn_moxie): Handle MOXIE_F1_M case.
329
330 2009-06-04 Alan Modra <amodra@bigpond.net.au>
331
332 * dep-in.sed: Don't use \n in replacement part of s command.
333 * Makefile.am (DEP1): LC_ALL for uniq.
334 * Makefile.in: Regenerate.
335
336 2009-06-02 Nick Clifton <nickc@redhat.com>
337
338 * po/nl.po: Updated Dutch translation.
339
340 2009-06-02 Tristan Gingold <gingold@adacore.com>
341
342 * ia64-gen.c (parse_resource_users, print_dependency_table,
343 add_dis_table_ent, finish_distable, insert_bit_table_ent,
344 add_dis_entry, compact_distree, gen_dis_table, completer_entries_eq,
345 get_prefix_len, compute_completer_bits, insert_opcode_dependencies,
346 insert_completer_entry, print_completer_entry, print_completer_table,
347 opcodes_eq, add_opcode_entry, shrink): Use ISO C syntax for functions.
348
349 2009-05-28 DJ Delorie <dj@redhat.com>
350
351 * mep-asm.c: Regenerate.
352 * mep-desc.c: Regenerate.
353
354 2009-05-26 DJ Delorie <dj@redhat.com>
355
356 * mep-asm.c: Regenerate.
357 * mep-desc.c: Regenerate.
358 * mep-desc.h: Regenerate.
359 * mep-dis.c: Regenerate.
360 * mep-ibld.c: Regenerate.
361 * mep-opc.c: Regenerate.
362 * mep-opc.h: Regenerate.
363
364 2009-05-26 Nick Clifton <nickc@redhat.com>
365
366 * po/id.po: Updated Indonesian translation.
367 * po/opcodes.pot: Updated template file.
368
369 2009-05-26 Alan Modra <amodra@bigpond.net.au>
370
371 * dep-in.sed: Don't modify .o to .lo here. Output one filename
372 per line with all lines having continuation backslash. Prefix
373 first line with "A", following lines with "B".
374 * Makefile.am (DEP): Don't use dep.sed here.
375 (DEP1): Run $MKDEP on single files, modify .o to .lo here. Use
376 dep.sed here on dependencies, sort and uniq.
377 * Makefile.in: Regenerate.
378
379 2009-05-25 Tristan Gingold <gingold@adacore.com>
380
381 * makefile.vms (OPT): New variable.
382 (CFLAGS): Update compilation flags.
383
384 2009-05-22 DJ Delorie <dj@redhat.com>
385
386 * mep-asm.c: Regenerate.
387 * mep-desc.c: Regenerate.
388 * mep-desc.h: Regenerate.
389 * mep-dis.c: Regenerate.
390 * mep-ibld.c: Regenerate.
391 * mep-opc.c: Regenerate.
392 * mep-opc.h: Regenerate.
393
394 2009-05-22 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
395
396 * i386-opc.h (Cpusse5): Delete.
397 (i386_cpu_flags): Delete.
398 * i386-gen.c: Remove CpuSSE5, Drex, Drexv and Drexc.
399 * i386-opc.tbl: Remove SSE5 instructions.
400 * i386-tbl.h: Regenerate.
401 * i386-init.h: Regenerate.
402 * i386-dis.c (OP_E_memeory, OP_E_extended): Remove drex handling.
403 (print_drex_arg): Delete.
404 (OP_DREX4): Delete.
405 (OP_DREX3): Delete.
406 (OP_DREX_ICMP): Delete.
407 (OP_DREX_FCMP): Delete.
408 (DREX_*): Delete.
409 (THREE_BYTE_0F24, THREE_BYTE_0F25, THREE_BYTE_0f7B): Delete.
410
411 2009-05-22 Alan Modra <amodra@bigpond.net.au>
412
413 * Makefile.am: Run "make dep-am".
414 * Makefile.in: Regenerate.
415 * po/POTFILES.in: Regenerate.
416
417 2009-05-19 DJ Delorie <dj@redhat.com>
418
419 * mep-asm.c: Regenerate.
420 * mep-opc.c: Regenerate.
421
422 2009-04-30 DJ Delorie <dj@redhat.com>
423
424 * mep-asm.c: Regenerate.
425 * mep-desc.c: Regenerate.
426 * mep-desc.h: Regenerate.
427 * mep-dis.c: Regenerate.
428 * mep-ibld.c: Regenerate.
429 * mep-opc.c: Regenerate.
430 * mep-opc.h: Regenerate.
431
432 2009-04-17 DJ Delorie <dj@redhat.com
433
434 * mep-desc.c: Regenerate.
435 * mep-ibld.c: Regenerate.
436 * mep-opc.c: Regenerate.
437 * mep-opc.h: Regenerate.
438
439 2009-04-15 Anthony Green <green@moxielogic.com>
440
441 * moxie-opc.c, moxie-dis.c: Created.
442 * Makefile.am: Build the moxie source files.
443 * configure.in: Add moxie support.
444 * Makefile.in, configure: Rebuilt.
445 * disassemble.c (disassembler): Add moxie support.
446 (ARCH_moxie): Define.
447
448 2009-04-15 Jan Beulich <jbeulich@novell.com>
449
450 * i386-opc.tbl (protb, protw, protd, protq): Set opcode
451 extension to None.
452 (pshab, pshaw, pshad, pshaq): Likewise.
453 * i386-tbl.h: Re-generate.
454
455 2009-04-08 DJ Delorie <dj@redhat.com
456
457 * mep-asm.c: Regenerate.
458 * mep-desc.c: Regenerate.
459 * mep-desc.h: Regenerate.
460 * mep-dis.c: Regenerate.
461 * mep-ibld.c: Regenerate.
462 * mep-opc.c: Regenerate.
463 * mep-opc.h: Regenerate.
464
465 2009-04-07 Peter Bergner <bergner@vnet.ibm.com>
466
467 * ppc-opc.c (powerpc_opcodes) <"tlbilxlpid", "tlbilxpid", "tlbilxva",
468 "tlbilx">: Use secondary opcode "18" as per the ISA 2.06 documentation.
469 Reorder entries so the extended mnemonics are listed before tlbilx.
470
471 2009-04-02 Peter Bergner <bergner@vnet.ibm.com>
472
473 * ppc-dis.c (powerpc_init_dialect): Do not choose a default dialect
474 due to -many/-Many.
475 (print_insn_powerpc): Make sure we only deprecate instructions using
476 the original dialect and not a modified dialect due to -Many handling.
477 Move the handling of the condition register and default operands to
478 the end of the if/else if/else chain.
479 * ppc-opc.c (powerpc_opcodes): Reorder the opcode table so that
480 instructions from newer processors are listed before older ones.
481 <"icblce", "sync", "eieio", "tlbld">: Deprecate for processors
482 that have instructions with conflicting opcodes.
483
484 2009-04-01 Peter Bergner <bergner@vnet.ibm.com>
485
486 * ppc-opc.c (powerpc_opcodes) <"dcbzl">: Merge the POWER4 and
487 E500MC entries.
488
489 2009-04-01 Christophe Lyon <christophe.lyon@st.com>
490
491 * arm-dis.c (print_insn): Print BE8 opcodes in little endianness.
492
493 2009-03-30 Joseph Myers <joseph@codesourcery.com>
494
495 * arm-dis.c (print_insn): Also check section matches in backwards
496 search for mapping symbol.
497
498 2009-03-26 H.J. Lu <hongjiu.lu@intel.com>
499
500 * i386-dis.c (get_valid_dis386): Abort on unhandled table.
501
502 2009-03-18 Alan Modra <amodra@bigpond.net.au>
503
504 * cgen-opc.c: Include alloca-conf.h rather than alloca.h.
505 * Makefile.am: Run "make dep-am".
506 * Makefile.in: Regenerate.
507 * openrisc-opc.c: Regenerate.
508
509 2009-03-10 Nick Clifton <nickc@redhat.com>
510
511 * po/id.po: Updated Indonesian translation.
512
513 2009-03-10 Alan Modra <amodra@bigpond.net.au>
514
515 * ppc-dis.c: Include "opintl.h".
516 (struct ppc_mopt, ppc_opts): New.
517 (ppc_parse_cpu): New function.
518 (powerpc_init_dialect): Use it.
519 (print_ppc_disassembler_options): Dump options from ppc_opts.
520 Internationalize message.
521
522 2009-03-06 Nick Clifton <nickc@redhat.com>
523
524 * po/es.po: Updated Spanish translation.
525
526 2009-03-04 Alan Modra <amodra@bigpond.net.au>
527
528 PR 6768
529 * configure.in: Test for ld --as-needed support. Link shared
530 libopcodes against libm.
531 * configure: Regenerate.
532
533 2009-03-03 Peter Bergner <bergner@vnet.ibm.com>
534
535 * ppc-opc.c (powerpc_opcodes): Reorder the opcode table so that
536 instructions from newer processors are listed before older ones.
537
538 2009-03-03 Alan Modra <amodra@bigpond.net.au>
539
540 * Makefile.am: Run "make dep-am".
541 (HFILES): Move lm32-desc.h and lm32-opc.h from..
542 (CFILES): ..here.
543 * Makefile.in: Regenerate.
544
545 2009-03-02 Qinwei <qinwei@sunnorth.com.cn>
546
547 * score7-dis.c: New file.
548 * Makefile.am: Add dependencies for score7-dis.c.
549 * Makefile.in: Regenerate.
550 * configure.in: Add score7-dis to score files.
551 * configure: Regenerate.
552 * score-dis.c: Add support for score7 architecture.
553 * score-opc.h: Likewise.
554
555 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
556
557 * configure: Regenerate.
558
559 2009-02-27 H.J. Lu <hongjiu.lu@intel.com>
560
561 * i386-dis.c (OP_EX): Call OP_E_memory instead of OP_E.
562
563 2009-02-26 Peter Bergner <bergner@vnet.ibm.com>
564
565 * ppc-dis.c (powerpc_init_dialect): Extend -Mpower7 to disassemble
566 the power7 and the isel instructions.
567 * ppc-opc.c (insert_xc6, extract_xc6): New static functions.
568 (insert_dm, extract_dm): Likewise.
569 (XB6): Update comment to include XX2 form.
570 (WC, XC6, SHW, DMEX, UIM, XX2, XX3RC, XX4, XX2_MASK, XX2UIM_MASK,
571 XX2BF_MASK, XX3BF_MASK, XX3SHW_MASK, XX4_MASK, XWC_MASK, POWER7): New.
572 (RemoveXX3DM): Delete.
573 (powerpc_opcodes): <"lfdp", "lfdpx", "mcrxr", "mftb", "mffgpr",
574 "mftgpr">: Deprecate for POWER7.
575 <"fres", "fres.", "frsqrtes", "frsqrtes.", "fre", "fre.", "frsqrte",
576 "frsqrte.">: Deprecate the three operand form and enable the two
577 operand form for POWER7 and later.
578 <"wait">: Extend to accept optional parameter. Enable for POWER7.
579 <"waitsrv", "waitimpl">: Add extended opcodes.
580 <"ldbrx", "stdbrx">: Enable for POWER7.
581 <"cdtbcd", "cbcdtd", "addg6s">: Add POWER6 opcodes.
582 <"bpermd", "dcbtstt", "dcbtt", "dcffix.", "dcffix", "divde.", "divde",
583 "divdeo.", "divdeo", "divdeu.", "divdeu", "divdeuo.", "divdeuo",
584 "divwe.", "divwe", "divweo.", "divweo", "divweu.", "divweu", "divweuo.",
585 "divweuo", "fcfids.", "fcfids", "fcfidu.", "fcfidu", "fcfidus.",
586 "fcfidus", "fctidu.", "fctidu", "fctiduz.", "fctiduz", "fctiwu.",
587 "fctiwu", "fctiwuz.", "fctiwuz", "ftdiv", "ftsqrt", "lbarx", "lfiwzx",
588 "lharx", "popcntd", "popcntw", "stbcx.", "sthcx.">: Add POWER7 opcodes.
589 <"lxsdux", "lxsdx", "lxvdsx", "lxvw4ux", "lxvw4x", "stxsdux", "stxsdx",
590 "stxvw4ux", "stxvw4x", "xsabsdp", "xsadddp", "xscmpodp", "xscmpudp",
591 "xscpsgndp", "xscvdpsp", "xscvdpsxds", "xscvdpsxws", "xscvdpuxds",
592 "xscvdpuxws", "xscvspdp", "xscvsxddp", "xscvuxddp", "xsdivdp",
593 "xsmaddadp", "xsmaddmdp", "xsmaxdp", "xsmindp", "xsmsubadp",
594 "xsmsubmdp", "xsmuldp", "xsnabsdp", "xsnegdp", "xsnmaddadp",
595 "xsnmaddmdp", "xsnmsubadp", "xsnmsubmdp", "xsrdpi", "xsrdpic",
596 "xsrdpim", "xsrdpip", "xsrdpiz", "xsredp", "xsrsqrtedp", "xssqrtdp",
597 "xssubdp", "xstdivdp", "xstsqrtdp", "xvabsdp", "xvabssp", "xvadddp",
598 "xvaddsp", "xvcmpeqdp.", "xvcmpeqdp", "xvcmpeqsp.", "xvcmpeqsp",
599 "xvcmpgedp.", "xvcmpgedp", "xvcmpgesp.", "xvcmpgesp", "xvcmpgtdp.",
600 "xvcmpgtdp", "xvcmpgtsp.", "xvcmpgtsp", "xvcpsgnsp", "xvcvdpsp",
601 "xvcvdpsxds", "xvcvdpsxws", "xvcvdpuxds", "xvcvdpuxws", "xvcvspdp",
602 "xvcvspsxds", "xvcvspsxws", "xvcvspuxds", "xvcvspuxws", "xvcvsxddp",
603 "xvcvsxdsp", "xvcvsxwdp", "xvcvsxwsp", "xvcvuxddp", "xvcvuxdsp",
604 "xvcvuxwdp", "xvcvuxwsp", "xvdivdp", "xvdivsp", "xvmaddadp",
605 "xvmaddasp", "xvmaddmdp", "xvmaddmsp", "xvmaxdp", "xvmaxsp",
606 "xvmindp", "xvminsp", "xvmovsp", "xvmsubadp", "xvmsubasp", "xvmsubmdp",
607 "xvmsubmsp", "xvmuldp", "xvmulsp", "xvnabsdp", "xvnabssp", "xvnegdp",
608 "xvnegsp", "xvnmaddadp", "xvnmaddasp", "xvnmaddmdp", "xvnmaddmsp",
609 "xvnmsubadp", "xvnmsubasp", "xvnmsubmdp", "xvnmsubmsp", "xvrdpi",
610 "xvrdpic", "xvrdpim", "xvrdpip", "xvrdpiz", "xvredp", "xvresp",
611 "xvrspi", "xvrspic", "xvrspim", "xvrspip", "xvrspiz", "xvrsqrtedp",
612 "xvrsqrtesp", "xvsqrtdp", "xvsqrtsp", "xvsubdp", "xvsubsp", "xvtdivdp",
613 "xvtdivsp", "xvtsqrtdp", "xvtsqrtsp", "xxland", "xxlandc", "xxlnor",
614 "xxlor", "xxlxor", "xxmrghw", "xxmrglw", "xxsel", "xxsldwi", "xxspltd",
615 "xxspltw", "xxswapd">: Add VSX opcodes.
616
617 2009-02-23 H.J. Lu <hongjiu.lu@intel.com>
618
619 * i386-gen.c (operand_type_init): Remove OPERAND_TYPE_VEX_IMM4.
620 (operand_types): Remove Vex_Imm4.
621
622 * i386-opc.h (Vex_Imm4): Removed.
623 (OTMax): Updated.
624 (i386_operand_type): Remove vex_imm4.
625
626 * i386-opc.tbl: Remove Vex_Imm4 comments.
627 * i386-init.h: Regenerated.
628 * i386-tbl.h: Likewise.
629
630 2009-02-23 Richard Earnshaw <rearnsha@arm.com>
631
632 * arm-dis.c (neon_opcodes): Correct bit-mask and patterns for
633 vq{r}shr{u}n.s64 insnstructions.
634
635 2009-02-19 Peter Bergner <bergner@vnet.ibm.com>
636
637 * ppc-opc.c (powerpc_opcodes) <"lfdepx", "stfdepx">: Fix the first
638 operand to be a float point register (FRT/FRS).
639
640 2009-02-18 Adam Nemet <anemet@caviumnetworks.com>
641
642 * mips-opc.c (mips_builtin_opcodes): Move the Octeon-specific
643 dmfc2 and dmtc2 before the architecture-level variants.
644
645 2009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
646
647 * fr30-opc.c: Regenerate.
648 * frv-opc.c: Regenerate.
649 * ip2k-opc.c: Regenerate.
650 * iq2000-opc.c: Regenerate.
651 * lm32-opc.c: Regenerate.
652 * m32c-opc.c: Regenerate.
653 * m32r-opc.c: Regenerate.
654 * mep-opc.c: Regenerate.
655 * mt-opc.c: Regenerate.
656 * xc16x-opc.c: Regenerate.
657 * xstormy16-opc.c: Regenerate.
658 * tic54x-dis.c (print_instruction): Avoid compiler warning on
659 sprintf call.
660
661 2009-02-12 Nathan Sidwell <nathan@codesourcery.com>
662
663 * m68k-opc.c (m68k_opcodes): Add stldsr instruction.
664
665 2009-02-05 Peter Bergner <bergner@vnet.ibm.com>
666
667 * ppc-opc.c: Update copyright year.
668 (powerpc_opcodes) <"dcbt", "dcbtst">: Deprecate the Embedded operand
669 ordering for POWER4 and later and use the correct Server ordering.
670
671 2009-02-04 H.J. Lu <hongjiu.lu@intel.com>
672
673 AVX Programming Reference (January, 2009)
674 * i386-dis.c (PREFIX_VEX_3A44): New.
675 (VEX_LEN_3A44_P_2): Likewise.
676 (PREFIX_VEX_3A48): Updated.
677 (VEX_LEN_3A4C_P_2): Likewise.
678 (prefix_table): Add PREFIX_VEX_3A44.
679 (vex_table): Likewise.
680 (vex_len_table): Add VEX_LEN_3A44_P_2.
681
682 * i386-opc.tbl: Add PCLMUL + AVX instructions.
683 * i386-tbl.h: Regenerated.
684
685 2009-02-03 Sandip Matte <sandip@rmicorp.com>
686
687 * mips-dis.c (mips_cp0_names_xlr, mips_cp0sel_names_xlr): Define.
688 (mips_arch_choices): Add XLR entry.
689 * mips-opc.c (XLR): Define.
690 (mips_builtin_opcodes): Add XLR instructions.
691
692 2009-02-03 Carlos O'Donell <carlos@codesourcery.com>
693
694 * Makefile.am: Add install-pdf target.
695 * po/Make-in: Add install-pdf target.
696 * Makefile.in: Regenerate.
697
698 2009-02-02 DJ Delorie <dj@redhat.com>
699
700 * mep-asm.c: Regenerate.
701 * mep-desc.c: Regenerate.
702 * mep-desc.h: Regenerate.
703 * mep-dis.c: Regenerate.
704 * mep-ibld.c: Regenerate.
705 * mep-opc.c: Regenerate.
706 * mep-opc.h: Regenerate.
707
708 2009-01-29 Mark Mitchell <mark@codesourcery.com>
709
710 * arm-dis.c (thumb32_opcodes): Correct decoding for qadd, qdadd,
711 qsub, and qdsub.
712
713 2009-01-28 Chao-ying Fu <fu@mips.com>
714
715 * mips-opc.c (suxc1): Add the flag of FP_D.
716
717 2009-01-20 Alan Modra <amodra@bigpond.net.au>
718
719 * fr30-asm.c, fr30-dis.c, fr30-ibld.c, frv-asm.c, frv-dis.c,
720 * frv-ibld.c, ip2k-asm.c, ip2k-dis.c, ip2k-ibld.c,
721 * iq2000-asm.c, iq2000-dis.c, iq2000-ibld.c, m32c-asm.c,
722 * m32c-dis.c, m32c-ibld.c, m32r-asm.c, m32r-dis.c,
723 * m32r-ibld.c, mep-asm.c, mep-dis.c, mep-ibld.c, mt-asm.c,
724 * mt-dis.c, mt-ibld.c, openrisc-asm.c, openrisc-dis.c,
725 * openrisc-ibld.c, xc16x-asm.c, xc16x-dis.c, xc16x-ibld.c,
726 * xstormy16-asm.c, xstormy16-dis.c, xstormy16-ibld.c: Regenerate.
727
728 2009-01-16 Alan Modra <amodra@bigpond.net.au>
729
730 * configure.in (commonbfdlib): Delete.
731 (SHARED_LIBADD): Add pic libiberty if such is available.
732 * configure: Regenerate.
733 * po/POTFILES.in: Regenerate.
734
735 2009-01-14 Peter Bergner <bergner@vnet.ibm.com>
736
737 * ppc-dis.c (print_insn_powerpc): Skip insn if it is deprecated.
738 * ppc-opc.c (powerpc_opcodes) <mtfsf, mtfsf.>: Deprecate the two
739 operand form and enable the four operand form for POWER6 and later.
740 <mtfsfi, mtfsfi.>: Deprecate the two operand form and enable the
741 three operand form for POWER6 and later.
742
743 2009-01-14 Mike Frysinger <vapier@gentoo.org>
744
745 * bfin-dis.c (OUTS): Use "%s" as format string.
746
747 2009-01-13 H.J. Lu <hongjiu.lu@intel.com>
748
749 * i386-gen.c (cpu_flag_init): Remove a white space.
750 (operand_type_init): Likewise.
751
752 2009-01-12 H.J. Lu <hongjiu.lu@intel.com>
753
754 * i386-opc.tbl: Add NoAVX to movnti, lfence and mfence.
755 * i386-tbl.h: Regenerated.
756
757 2009-01-12 H.J. Lu <hongjiu.lu@intel.com>
758
759 * i386-dis.c (dis386): Use EbS on addB, orB, adcB, sbbB, andB,
760 subB, xorB and cmpB. Use EvS on addS, orS, adcS, sbbS, andS,
761 subS, xorS and cmpS.
762
763 2009-01-10 H.J. Lu <hongjiu.lu@intel.com>
764
765 * i386-gen.c (cpu_flag_init): Replace CpuP4 and CpuK6 with
766 CpuClflush and CpuSYSCALL, respectively. Remove CpuK8. Add
767 CPU_COREI7_FLAGS, CPU_CLFLUSH_FLAGS and CPU_SYSCALL_FLAGS.
768 (cpu_flags): Remove CpuP4, CpuK6 and CpuK8. Add CpuClflush
769 and CpuSYSCALL.
770 (lineno): Removed.
771 (set_bitfield): Take an argument, lineno. Don't report lineno
772 on error if it is -1.
773 (process_i386_cpu_flag): Take an argument, lineno.
774 (process_i386_opcode_modifier): Likewise.
775 (process_i386_operand_type): Likewise.
776 (output_i386_opcode): Likewise.
777 (opcode_hash_entry): Add lineno.
778 (process_i386_opcodes): Updated.
779 (process_i386_registers): Likewise.
780 (process_i386_initializers): Likewise.
781
782 * i386-opc.h (CpuP4): Removed.
783 (CpuK6): Likewise.
784 (CpuK8): Likewise.
785 (CpuClflush): New.
786 (CpuSYSCALL): Likewise.
787 (CpuMMX): Updated.
788 (i386_cpu_flags): Remove cpup4, cpuk6 and cpuk8. Add
789 cpuclflush and cpusyscall.
790
791 * i386-opc.tbl: Update movnti, clflush, lfence, mfence, pause,
792 syscall and sysret.
793 * i386-init.h: Regenerated.
794 * i386-tbl.h: Likewise.
795
796 2009-01-09 H.J. Lu <hongjiu.lu@intel.com>
797
798 * i386-gen.c (cpu_flag_init): Add CpuRdtscp to CPU_K8_FLAGS
799 and CPU_AMDFAM10_FLAGS. Add CPU_RDTSCP_FLAGS.
800 (cpu_flags): Add CpuRdtscp.
801 (set_bitfield): Remove CpuSledgehammer check.
802
803 * i386-opc.h (CpuRdtscp): New.
804 (CpuLM): Updated.
805 (i386_cpu_flags): Add cpurdtscp.
806
807 * i386-opc.tbl: Replace CpuSledgehammer with CpuRdtscp.
808 * i386-init.h: Regenerated.
809 * i386-tbl.h: Likewise.
810
811 2009-01-09 Peter Bergner <bergner@vnet.ibm.com>
812
813 * ppc-opc.c (PPCNONE): Define.
814 (NOPOWER4): Delete.
815 (powerpc_opcodes): Initialize the new "deprecated" field.
816
817 2009-01-06 H.J. Lu <hongjiu.lu@intel.com>
818
819 AVX Programming Reference (December, 2008)
820 * i386-dis.c (VEX_LEN_2B_M_0): Removed.
821 (VEX_LEN_E7_P_2_M_0): Likewise.
822 (VEX_LEN_2C_P_1): Updated.
823 (VEX_LEN_E8_P_2): Likewise.
824 (vex_len_table): Remove VEX_LEN_2B_M_0 and VEX_LEN_E7_P_2_M_0.
825 (mod_table): Likewise.
826
827 * i386-opc.tbl: Add 256bit vmovntdq, vmovntpd and vmovntps.
828 * i386-tbl.h: Regenerated.
829
830 2009-01-05 H.J. Lu <hongjiu.lu@intel.com>
831
832 * i386-gen.c (process_copyright): Update for 2009.
833
834 * i386-init.h: Regenerated.
835 * i386-tbl.h: Likewise.
836
837 2009-01-05 H.J. Lu <hongjiu.lu@intel.com>
838
839 AVX Programming Reference (December, 2008)
840 * i386-dis.c (OP_VEX_FMA): Removed.
841 (OP_EX_VexW): Likewise.
842 (OP_EX_VexImmW): Likewise.
843 (OP_XMM_VexW): Likewise.
844 (VEXI4_Fixup): Likewise.
845 (VPERMIL2_Fixup): Likewise.
846 (VexI4): Likewise.
847 (VexFMA): Likewise.
848 (Vex128FMA): Likewise.
849 (EXVexW): Likewise.
850 (EXdVexW): Likewise.
851 (EXqVexW): Likewise.
852 (EXVexImmW): Likewise.
853 (XMVexW): Likewise.
854 (VPERMIL2): Likewise.
855 (PREFIX_VEX_3A48...PREFIX_VEX_3A4A): Likewise.
856 (PREFIX_VEX_3A5C...PREFIX_VEX_3A5F): Likewise.
857 (PREFIX_VEX_3A68...PREFIX_VEX_3A6F): Likewise.
858 (PREFIX_VEX_3A78...PREFIX_VEX_3A7F): Likewise.
859 (VEX_LEN_3A6A_P_2...VEX_LEN_3A6F_P_2): Likewise.
860 (VEX_LEN_3A7A_P_2...VEX_LEN_3A7F_P_2): Likewise.
861 (get_vex_imm8): Likewise.
862 (OP_EX_VexReg): Likewise.
863 vpermil2_op): Likewise.
864 (EXVexWdq): New.
865 (vex_w_dq_mode): Likewise.
866 (PREFIX_VEX_3896...PREFIX_VEX_389F): Likewise.
867 (PREFIX_VEX_38A6...PREFIX_VEX_38AF): Likewise.
868 (PREFIX_VEX_38B6...PREFIX_VEX_38BF): Likewise.
869 (es_reg): Updated.
870 (PREFIX_VEX_38DB): Likewise.
871 (PREFIX_VEX_3A4A): Likewise.
872 (PREFIX_VEX_3A60): Likewise.
873 (PREFIX_VEX_3ADF): Likewise.
874 (VEX_LEN_3ADF_P_2): Likewise.
875 (prefix_table): Remove PREFIX_VEX_3A48...PREFIX_VEX_3A4A,
876 PREFIX_VEX_3A5C...PREFIX_VEX_3A5F,
877 PREFIX_VEX_3A68...PREFIX_VEX_3A6F and
878 PREFIX_VEX_3A78...PREFIX_VEX_3A7F. Add
879 PREFIX_VEX_3896...PREFIX_VEX_389F,
880 PREFIX_VEX_38A6...PREFIX_VEX_38AF and
881 PREFIX_VEX_38B6...PREFIX_VEX_38BF.
882 (vex_table): Likewise.
883 (vex_len_table): Remove VEX_LEN_3A6A_P_2...VEX_LEN_3A6F_P_2
884 and VEX_LEN_3A7A_P_2...VEX_LEN_3A7F_P_2.
885 (putop): Support "%XW".
886 (intel_operand_size): Handle vex_w_dq_mode.
887
888 * i386-opc.h (VexNDS): Add a comment for VEX NDS and VEX DDS.
889
890 * i386-opc.tbl: Remove vpermil2pd/vpermil2ps and old FMA
891 instructions. Add new FMA instructions.
892 * i386-tbl.h: Regenerated.
893
894 2009-01-02 Matthias Klose <doko@ubuntu.com>
895
896 * or32-opc.c (or32_print_register, or32_print_immediate,
897 disassemble_insn): Don't rely on undefined sprintf behaviour.
898
899 For older changes see ChangeLog-2008
900 \f
901 Local Variables:
902 mode: change-log
903 left-margin: 8
904 fill-column: 74
905 version-control: never
906 End:
This page took 0.146525 seconds and 5 git commands to generate.