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