OSDN Git Service

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