OSDN Git Service

PR binutils/10924
[pf3gnuchains/pf3gnuchains3x.git] / opcodes / ChangeLog
1 2009-11-11  Nick Clifton  <nickc@redhat.com>
2
3         PR binutils/10924
4         * arm-dis.c (UNPREDICTABLE_INSTRUCTION): New macro.
5         (print_insn_arm): Extend %s format control code to check for
6         unpredictable addressing modes.  Add support for %S format control
7         code which suppresses this check.
8         (W_BIT, I_BIT, U_BIT, P_BIT): New macros.
9         (WRITEBACK_BIT_SET, IMMEDIATE_BIT_SET, NEGATIVE_BIT_SET,
10         PRE_BIT_SET): New macros.
11         (print_insn_coprocessor): Use the new macros instead of magic
12         constants.
13         (print_arm_address): Likewise.
14         (pirnt_insn_arm): Likewise.
15         (print_insn_thumb32): Likewise.
16
17 2009-11-11  Nick Clifton  <nickc@redhat.com>
18
19         * po/id.po: Updated Indonesian translation.
20
21 2009-11-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
22
23         * m68k-dis.c (print_insn_arg): Handle RGPIOBAR, ACR[4-7] and MBAR[01].
24
25 2009-11-06  Sebastian Pop  <sebastian.pop@amd.com>
26
27         * i386-dis.c (reg_table): Add XOP_8F_TABLE (XOP_09) to
28         reg_table[REG_8F][1]: for XOP instructions, ModRM.reg first points to
29         B.mm in the RXB.mmmmm byte, and so when B is set, we still should use
30         the xop_table.
31         (get_valid_dis386): Removed unused condition (from cut/n/paste) for
32         XOP instructions.
33
34 2009-11-05  Sebastian Pop  <sebastian.pop@amd.com>
35             Quentin Neill  <quentin.neill@amd.com>
36
37         * opcodes/i386-dis.c (OP_LWPCB_E): New.
38         (OP_LWP_E): New.
39         (OP_LWP_I): New.
40         (USE_XOP_8F_TABLE): New.
41         (XOP_8F_TABLE): New.
42         (REG_XOP_LWPCB): New.
43         (REG_XOP_LWP): New.
44         (XOP_09): New.
45         (XOP_0A): New.
46         (reg_table): Redirect REG_8F to XOP_8F_TABLE.
47         Add entries for REG_XOP_LWPCB and REG_XOP_LWP.
48         (xop_table): New.
49         (get_valid_dis386): Handle USE_XOP_8F_TABLE.
50         Use the offsets VEX_0F, VEX_0F38, and VEX_0F3A instead of their values
51         to access to the vex_table.
52         (OP_LWPCB_E): New.
53         (OP_LWP_E): New.
54         (OP_LWP_I): New.
55         * opcodes/i386-gen.c (cpu_flag_init): Add CPU_LWP_FLAGS, CpuLWP.
56         (cpu_flags): Add CpuLWP.
57         (opcode_modifiers): Add VexLWP, XOP09, and XOP0A.
58         * opcodes/i386-opc.h (CpuLWP): New.
59         (i386_cpu_flags): Add bit cpulwp.
60         (VexLWP): New.
61         (XOP09): New.
62         (XOP0A): New.
63         (i386_opcode_modifier): Add vexlwp, xop09, and xop0a.
64         * opcodes/i386-opc.tbl (llwpcb): Added.
65         (lwpval): Added.
66         (lwpins): Added.
67
68 2009-11-04  DJ Delorie  <dj@redhat.com>
69
70         * rx-decode.opc (rx_decode_opcode) (mvtipl): Add.
71         (mvtcp, mvfcp, opecp): Remove.
72         * rx-decode.c: Regenerate.
73         * rx-dis.c (cpen): Remove.
74
75 2009-11-03  Doug Evans  <dje@sebabeach.org>
76
77         * m32c-desc.c: Regenerate.
78         * mep-desc.c: Regenerate.
79
80 2009-11-02  Paul Brook  <paul@codesourcery.com>
81
82         * arm-dis.c (coprocessor_opcodes): Update to use new feature flags.
83         Add VFPv4 instructions.
84
85 2009-10-29  Sebastian Pop  <sebastian.pop@amd.com>
86
87         * i386-dis.c (OP_VEX_FMA): Removed.
88         (VexFMA): Removed.
89         (Vex128FMA): Removed.
90         (prefix_table): First source operand of FMA4 insns is decoded
91         with Vex not with VexFMA.
92         (OP_EX_VexW): Second source operand is decoded with get_vex_imm8
93         when vex.w is set.  Third source operand is decoded with
94
95 2009-10-27  Alan Modra  <amodra@bigpond.net.au>
96
97         * Makefile.am (HFILES): Remove cgen-ops.h and cgen-types.h.
98         * Makefile.in: Regenerate.
99         * po/POTFILES.in: Regenerate.
100
101 2009-10-23  Doug Evans  <dje@sebabeach.org>
102
103         * cgen-ops.h: Delete, moved to ../include/cgen/basic-ops.h.
104         * cgen-types.h: Delete, moved to ../include/cgen/basic-modes.h.
105         * cgen-bitset.c: Update.
106         * fr30-desc.h: Regenerate.
107         * frv-desc.h: Regenerate.
108         * ip2k-desc.h: Regenerate.
109         * iq2000-desc.h: Regenerate.
110         * lm32-desc.h: Regenerate.
111         * m32c-desc.h: Regenerate.
112         * m32c-opc.h: Regenerate.
113         * m32r-desc.h: Regenerate.
114         * mep-desc.h: Regenerate.
115         * mt-desc.h: Regenerate.
116         * openrisc-desc.h: Regenerate.
117         * xc16x-desc.h: Regenerate.
118         * xstormy16-desc.h: Regenerate.
119
120 2009-10-22  DJ Delorie  <dj@redhat.com>
121
122         * rx-decode.opc (decode_opcode): Fix flags for MUL, SUNTIL, and SWHILE.
123         * rx-decode.c: Regenerated.
124
125 2009-10-20  H.J. Lu  <hongjiu.lu@intel.com>
126
127         PR gas/10775
128         * i386-dis.c: Document LB, LS and LV macros.
129         (dis386): Use mov%LB, mov%LS and mov%LV on mov instruction
130         with the 64-bit displacement or immediate operand.
131         (putop): Handle LB, LS and LV macros.
132
133 2009-10-18  Doug Evans  <dje@sebabeach.org>
134
135         * lm32-opinst.c: Regenerate.
136         * m32c-desc.c: Regenerate.
137         * m32r-opinst.c: Regenerate.
138         * openrisc-ibld.c: Regenerate.
139         * xc16x-desc.c: Regenerate.
140         * xc16x-desc.h: Regenerate.
141
142 2009-10-17  Doug Evans  <dje@sebabeach.org>
143
144         * Makefile.am (CGEN_CPUS): Add iq2000, lm32.
145         (FR30_DEPS, FRV_DEPS, IQ2000_DEPS): Move so all cgen *_DEPS are
146         sorted alphabetically.
147         (stamp-fr30, stamp-frv, stamp-iq2000, stamp-xc16x): Move so all cgen
148         stamp-* rules are sorted alphabetically.
149         * Makefile.in: Regenerate.
150
151 2009-10-16  H.J. Lu  <hongjiu.lu@intel.com>
152
153         * i386-opc.h: Use enum instead of nested macros.
154
155 2009-10-16  H.J. Lu  <hongjiu.lu@intel.com>
156
157         * i386-dis.c: Simplify enums.
158
159 2009-10-15  H.J. Lu  <hongjiu.lu@intel.com>
160             Ineiev <ineiev@gmail.com>
161
162         PR binutils/10767
163         * i386-dis.c: Use enum instead of nested macros.
164
165 2009-10-15  H.J. Lu  <hongjiu.lu@intel.com>
166
167         * i386-dis.c (MAX_BYTEMODE): Removed.
168
169 2009-10-14  Tomas Hurka  <tom@hukatronic.cz>
170
171         PR 969
172         * m68k-opc.c (m68k_opcodes): Correct mask for macl and msacl.
173
174 2009-10-13  H.J. Lu  <hongjiu.lu@intel.com>
175
176         * i386-dis.c (print_insn): Always clear need_vex, need_vex_reg
177         and vex_w_done.
178
179 2009-10-07  Michael Eager  <eager@eagercon.com>
180
181         * microblaze-dis.c: Add include for microblaze-dis.h,
182         eliminate local extern decls.
183         * microblaze-dis.h: New.
184
185 2009-10-06  Nick Clifton  <nickc@redhat.com>
186
187         * po/fi.po: Updated Finnish translation.
188
189 2009-10-03  Andreas Schwab  <schwab@linux-m68k.org>
190
191         * opc2c.c: Include "libiberty.h" and <errno.h>.
192         (orig_filename): Constify.
193         (dump_lines): Fix line number directive.
194         (main): Set orig_filename to basename of input file.  Use
195         xstrerror.
196
197         * Makefile.am (rx-dis.lo): Remove explicit dependencies.
198         ($(srcdir)/rx-decode.c): Use @MAINT@.  Use $(EXEEXT_FOR_BUILD)
199         instead of $(EXEEXT).
200         (opc2c$(EXEEXT_FOR_BUILD)): Renamed from opc2c$(EXEEXT) and use
201         $(LINK_FOR_BUILD).  Link with libiberty.
202         (MOSTLYCLEANFILES): Add opc2c$(EXEEXT_FOR_BUILD).
203         (MAINTAINERCLEANFILES): Add $(srcdir)/rx-decode.c.
204         * Makefile.in: Regenerated.
205         * rx-decode.c: Regenerated.
206
207 2009-10-03  Paul Reed  <paulreed@paddedcell.com>
208
209         * arm-dis.c (print_insn): Check symtab_size not *symtab.
210
211 2009-10-02  H.J. Lu  <hongjiu.lu@intel.com>
212
213         * i386-opc.tbl: Drop Disp64 on jump and loop instructions.
214         * i386-tbl.h: Regenerated.
215
216 2009-10-02  Peter Bergner  <bergner@vnet.ibm.com>
217
218         * ppc-dis.c (ppc_opts): Add "476" entry.
219         * ppc-opc.c (PPC476): Define.
220         (powerpc_opcodes): Update mnemonics where required for 476.
221
222 2009-10-01  Peter Bergner  <bergner@vnet.ibm.com>
223
224         * ppc-opc.c (PPCA2): Use renamed mask PPC_OPCODE_A2.
225         * ppc-dis.c (ppc_opts): Likewise.
226         Rename "ppca2" to "a2".
227
228 2009-10-01  M R Swami Reddy <MR.Swami.Reddy@nsc.com>
229
230         * crx-dis.c (match_opcode): Truncate mcode to 32-bit.
231
232 2009-09-29  DJ Delorie  <dj@redhat.com>
233
234         * Makefile.am: Add RX files.
235         * configure.in: Add support for RX target.
236         * disassemble.c: Likewise.
237         * Makefile.in: Regenerate.
238         * configure: Regenerate.
239         * opc2c.c: New file.
240         * rx-decode.c: New file.
241         * rx-decode.opc: New file.
242         * rx-dis.c: New file.
243
244 2009-09-29  Peter Bergner  <bergner@vnet.ibm.com>
245
246         * ppc-opc.c (powerpc_opcodes): Remove support for the the "lxsdux",
247         "lxvd2ux", "lxvw4ux", "stxsdux", "stxvd2ux" and "stxvw4ux" opcodes.
248
249 2009-09-25  Michael Eager  <eager@eagercon.com>
250
251         * microblaze-dis.c (get_insn_microblaze, microblaze_get_target_address,
252         microblaze_decode_insn): Add declarations.
253         (get_delay_slots_microblaze): Remove.
254
255 2009-09-25  Martin Thuresson  <martint@google.com>
256
257         Update sources to make arc and arm targets compile cleanly with
258         -Wc++-compat:
259         * arc-dis.c Fix casts.
260         * arc-ext.c: Add casts.
261         * arm-dis.c (enum opcode_sentinel_enum): Gave name to anonymous
262         enum.
263
264 2009-09-24  H.J. Lu  <hongjiu.lu@intel.com>
265
266         * i386-gen.c (opcode_modifiers): Remove Vex256.
267         (set_bitfield): Handle XXX=V.
268
269         * i386-opc.h (Vex): Update comments.
270         (Vex256): Removed.
271         (VexNDS): Updated.
272         (i386_opcode_modifier): Change vex to 2 bits.  Remove vex256.
273
274         * i386-opc.tbl: Replace "Vex|Vex256" with Vex=2.
275         * i386-tbl.h: Regenerated.
276
277 2009-09-23  Nick Clifton  <nickc@redhat.com>
278
279         * po/fr.po: Updated French translation.
280
281 2009-09-21  Ben Elliston  <bje@au.ibm.com>
282             Peter Bergner  <bergner@vnet.ibm.com>
283
284         * ppc-dis.c (ppc_opts): Add "ppca2" entry.
285         * ppc-opc.c (powerpc_opcodes): Add eratilx, eratsx, eratsx.,
286         eratre, wchkall, eratwe, ldawx., mdfcrx., mfdcr. mtdcrx., icswx,
287         icswx., mtdcr., dci, wclrone, wclrall, wclr, erativax, tlbsrx.,
288         ici mnemonics.
289         (ERAT_T): New operand.
290         (XWC_MASK): New mask.
291         (XOPL2): New macro.
292         (PPCA2): Define.
293
294 2009-09-18  Nick Clifton  <nickc@redhat.com>
295
296         * po/es.po: Updated Spanish translation.
297         * po/vi.po: Updated Vietnamese translation.
298
299 2009-09-15  H.J. Lu  <hongjiu.lu@intel.com>
300
301         * i386-dis.c (OP_E_memory): Don't print '-' in Intel mode if
302         disp == -disp.
303
304 2009-09-14  Nick Clifton  <nickc@redhat.com>
305
306         * po/nl.po: Updated Dutch translation.
307
308 2009-09-11  Nick Clifton  <nickc@redhat.com>
309
310         * po/opcodes.pot: Updated by the Translation project.
311
312 2009-09-11  Martin Thuresson  <martint@google.com>
313
314         Updated sources to compile cleanly with -Wc++-compat:
315         * ld.h (enum endian_enum,enum symbolic_enum,enum dynamic_list_enum): Move to top level.
316         * ldcref.c: Add casts.
317         * ldctor.c: Add casts.
318         * ldexp.c
319         * ldexp.h (enum node_tree_enum,enum phase_enum): Move to top level.
320         * ldlang.c: Add casts. (lang_insert_orphan): Use enum name instead of integer.
321         * ldlang.h (enum statement_enum): Move to top level.
322         * ldmain.c: Add casts.
323         * ldwrite.c: Add casts.
324         * lexsup.c: Add casts. (enum control_enum): Move to top level.
325         * mri.c: Add casts. (mri_draw_tree): Use enum name instead of integer.
326
327 2009-09-10  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
328
329         * s390-dis.c (print_insn_s390): Avoid 'long long'.
330
331 2009-09-10  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
332
333         * s390-dis.c (s390_extract_operand): Remove the shift for pcrel operands.
334         (print_insn_s390): Signextend and shift pcrel operands before printing.
335
336 2009-09-09  H.J. Lu  <hongjiu.lu@intel.com>
337
338         * i386-dis.c (vex_len_table): Change VEX_LEN_AE_R_X_M0 to
339         VEX_LEN_AE_R_X_M_0 in comments.
340
341 2009-09-08  DJ Delorie  <dj@redhat.com>
342
343         * mep-opc.c: Regenerate.
344
345 2009-09-08  Andreas Schwab  <schwab@linux-m68k.org>
346
347         * z8kgen.c (struct op): Replace unused flavor with id.
348         (opt): Remove extra xorb entry.
349         (func): Use id field as fallback.
350         (sub): Return new string, caller changed.
351         (internal): Allocate end marker.  Assign unique id before sorting.
352         (gas): Likewise.  Fix loop end condition.
353         * z8k-opc.h: Regenerate.
354
355 2009-09-08  Alan Modra  <amodra@bigpond.net.au>
356
357         * ppc-opc.c (powerpc_macros <extrdi>): Allow n+b of 64.
358
359 2009-09-07  Alan Modra  <amodra@bigpond.net.au>
360
361         * z8kgen.c (func): Fix thinko last patch.
362
363 2009-09-07  Alan Modra  <amodra@bigpond.net.au>
364
365         * z8kgen.c (func): Stabilize qsort of identically named entries.
366         * z8k-opc.h: Regenerate.
367
368 2009-09-07  Tristan Gingold  <gingold@adacore.com>
369
370         * po/opcodes.pot: Regenerate.
371
372 2009-09-07  Alan Modra  <amodra@bigpond.net.au>
373
374         * configure.in (BUILD_LIBS, BUILD_LIB_DEPS): Define and subst.
375         * configure: Regenerate.
376         * Makefile.am (LIBIBERTY, BUILD_LIBIBERTY, BUILD_LIBINTL): Delete.
377         (BUILD_LIBS, BUILD_LIB_DEPS): Define.  Use..
378         (i386-gen, ia64-gen, z8kgen): ..here.
379         * Makefile.in: Regenerate.
380
381 2009-09-07  Tristan Gingold  <gingold@adacore.com>
382
383         * z8k-opc.h: Regenerate.
384
385 2009-09-05  Martin Thuresson  <martin@mtme.org>
386
387         * ia64-dis.c (print_insn_ia64): Update code to use renamed member.
388         * m88k-dis.c (m88kdis): Rename variable class to in_class.
389         * tic80-opc.c (tic80_symbol_to_value, tic80_value_to_symbol):
390         Rename argument class to symbol_class.
391
392 2009-09-04  Jie Zhang  <jie.zhang@analog.com>
393
394         * bfin-dis.c (decode_pseudodbg_assert_0): Change according
395         to the new encoding of DBGA, DBGAH, and DBGAL.
396         (_print_insn_bfin): Likewise.
397
398 2009-09-03  Jie Zhang  <jie.zhang@analog.com>
399
400         * bfin-dis.c (_print_insn_bfin): Don't declare.
401         (print_insn_bfin): Don't declare.
402         (dregs_pair): Remove.
403         (ignore_bits): Remove.
404         (ccstat): Remove.
405
406 2009-09-03  Jie Zhang  <jie.zhang@analog.com>
407
408         * bfin-dis.c (IS_DREG): Define.
409         (IS_PREG): Define.
410         (IS_AREG): Define.
411         (IS_GENREG): Define.
412         (IS_DAGREG): Define.
413         (IS_SYSREG): Define.
414         (decode_REGMV_0): Check illegal register move instructions.
415
416 2009-09-03  Dave Korn  <dave.korn.cygwin@gmail.com>
417
418         * Makefile.am (BUILD_LIBINTL): New variable.
419         (i386-gen$(EXEEXT_FOR_BUILD)): Use it.
420         (ia64-gen$(EXEEXT_FOR_BUILD)): And here.
421         (z8kgen$(EXEEXT_FOR_BUILD)): And here.
422         * Makefile.in: Regenerate.
423
424 2009-09-01  DJ Delorie  <dj@redhat.com>
425
426         * mep-asm.c: Regenerate.
427         * mep-desc.c: Regenerate.
428         * mep-opc.c: Regenerate.
429
430 2009-09-01  Tristan Gingold  <gingold@adacore.com>
431
432         * makefile.vms: Ported to Itanium VMS.  Remove useless targets and
433         dependencies.  Remove unused FORMAT variable.
434         * configure.com: New file to create build.com DCL script for
435         Itanium VMS or Alpha VMS.
436
437 2009-08-29  Martin Thuresson  <martin@mtme.org>
438
439         * cris-dis.c (bytes_to_skip): Update code to use new name.
440         * i386-dis.c (putop): Update code to use new name.
441         * i386-gen.c (process_i386_opcodes): Update code to use
442         new name.
443         * i386-opc.h (struct template): Rename struct template to
444         insn_template. Update code accordingly.
445         * i386-tbl.h (i386_optab): Update type to use new name.
446         * ia64-dis.c (print_insn_ia64): Rename variable template
447         to template_val.
448         * tic30-dis.c (struct instruction, get_tic30_instruction):
449         Update code to use new name.
450         * tic54x-dis.c (has_lkaddr, get_insn_size)
451         (print_parallel_instruction, print_insn_tic54x, tic54x_get_insn):
452         Update code to use new name.
453         * tic54x-opc.c (tic54x_unknown_opcode, tic54x_optab):
454         Update type to new name.
455         * z8kgen.c (internal, gas): Rename variable new to new_op.
456
457 2009-08-28  H.J. Lu  <hongjiu.lu@intel.com>
458
459         * Makefile.am (COMPILE_FOR_BUILD): Remove BUILD_CPPFLAGS.
460         Replace BUILD_CFLAGS with CFLAGS_FOR_BUILD.
461         (LINK_FOR_BUILD): Replace BUILD_CFLAGS/BUILD_LDFLAGS with
462         CFLAGS_FOR_BUILD/LDFLAGS_FOR_BUILD.
463         * Makefile.in: Regenerated.
464
465 2009-08-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
466
467         * Makefile.am (bfdlibdir, bfdincludedir): Move definition ...
468         [INSTALL_LIBBFD]: ... here, ...
469         [INSTALL_LIBBFD]: ... and empty overrides here.
470         [!INSTALL_LIBBFD]: (rpath_bfdlibdir): New variable.
471         [!INSTALL_LIBBFD] (libbfd_la_LDFLAGS): Use it.
472         * Makefile.in: Regenerate.
473         * configure: Regenerate.
474
475 2009-08-26  Philippe De Muyter  <phdm@macqel.be>
476
477         * m68k-dis.c (print_insn_arg): Add movecr register names for
478         coldfire v4e families.
479
480 2009-08-25  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
481
482         * Makefile.am (SUBDIRS): Build '.' before 'po'.
483         (COMPILE_FOR_BUILD, LINK_FOR_BUILD, BUILD_LIBIBERTY)
484         (MOSTLYCLEANFILES, MAINTAINERCLEANFILES): New variables.
485         (i386-gen$(EXEEXT_FOR_BUILD)): Renamed from i386-gen, rewrite
486         using *BUILD variables, depend upon $(BUILD_LIBIBERTY).
487         (i386-gen.o): New rule.
488         ($(srcdir)/i386-init.h): Adjust.
489         (i386-opc.lo): Depend on $(srcdir)/i386-tbl.h.
490         (ia64-gen$(EXEEXT_FOR_BUILD)): Rename from ia64-gen, adjust likewise.
491         (ia64-gen.o): New rule.
492         (ia64_asmtab_deps): New variable.
493         ($(srcdir)/ia64-asmtab.c): Use it; adjust likewise.
494         (ia64-opc.lo): Depend on $(srcdir)/ia64-asmtab.c.
495         (s390-mkopc$(EXEEXT_FOR_BUILD)): Rename from s390-mkopc, adjust
496         likewise.
497         (s390-opc.tab): Adjust.
498         (z8kgen$(EXEEXT_FOR_BUILD), z8kgen.o, $(srcdir)/z8k-opc.h): New
499         rules.
500         (z8k-dis.lo): Depend on $(srcdir)/z8k-opc.h.
501         * Makefile.in: Regenerate.
502         * z8kgen.c (gas): Avoid '/*' in comment.
503         * z8k-opc.h (func): Regenerate.
504
505 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
506
507         * Makefile.am (TARGET_LIBOPCODES_CFILES): New variable, taken
508         from $(CFILES), sorted, with dis-buf.c, dis-init.c, disassemble.c,
509         i386-gen.c, ia64-opc-a.c, ia64-opc-b.c, ia64-opc-f.c, ia64-opc-i.c,
510         ia64-opc-m.c, ia64-opc-d.c, ia64-gen.c, ia64-asmtab.c removed, and
511         msp430-dis.c added.
512         (LIBOPCODES_CFILES): New variable, adding to
513         TARGET_LIBOPCODES_CFILES also non-target library sources.
514         (CFILES): Factorize based on $(LIBOPCODES_CFILES), adding generator
515         files.
516         (ALL_MACHINES): Factorize based on $(TARGET_LIBOPCODES_CFILES).
517         (EXTRA_libopcodes_la_SOURCES): Use $(LIBOPCODES_CFILES).
518         * Makefile.in: Regenerate.
519         * po/POTFILES.in: Regenerate.
520
521 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
522
523         * Makefile.am (libopcodes_la_LDFLAGS): Initialize early.
524         [INSTALL_LIBBFD] (bfdlib_LTLIBRARIES): Set only in this condition.
525         [INSTALL_LIBBFD] (bfdinclude_DATA): New.
526         [!INSTALL_LIBBFD] (noinst_LTLIBRARIES): New.
527         [!INSTALL_LIBBFD] (libopcodes_la_LDFLAGS): Ensure libopcodes.la
528         is built shared even if it is not to be installed.
529         (install-bfdlibLTLIBRARIES,uninstall-bfdlibLTLIBRARIES)
530         (install_libopcodes, uninstall_libopcodes): Remove.
531         (AM_CPPFLAGS): Renamed from ...
532         (INCLUDES): ... this.
533         * Makefile.in: Regenerate.
534
535         * Makefile.am (AUTOMAKE_OPTIONS): Remove 1.9 and cygnus, add
536         1.11, foreign, no-dist.
537         (MKDEP, m32c_opc_h): Remove variables.
538         (disassemble.lo): Rewrite using automake-style dependency
539         tracking rules; only list the dependency upon the primary source
540         file, but no included headers.
541         (m32c-asm.lo, m32c-desc.lo, m32c-dis.lo, m32c-ibld.lo, m32c-opc.lo)
542         (i386-gen.o, ia64-gen.o): Remove dependency statements.
543         (EXTRA_libopcodes_la_SOURCES): New variable, list $(CFILES) to
544         ensure all dependency fragments are included in the Makefile.
545         (s390-opc.lo): Depend on s390-opc.tab.
546         (DEP, DEP1, dep.sed, dep, dep-in, dep-am): Remove rules.
547         (mkdep section): Remove.
548         * Makefile.in: Regenerate.
549         * po/POTFILES.in: Regenerate.
550
551         * Makefile.am (install-pdf, install-html): Remove.
552         * Makefile.in: Regenerate.
553
554         * Makefile.in: Regenerate.
555         * aclocal.m4: Likewise.
556         * config.in: Likewise.
557         * configure: Likewise.
558
559 2009-08-06  Michael Eager <eager@eagercon.com>
560
561         * Makefile.am: Add microblaze-opc.h to HFILES, microblaze-dis.c to
562         CFILES, microblaze-dis.lo to ALL_MACHINES, targets.
563         * Makefile.in: Regenerate.
564         * configure.in: Add bfd_microblaze_arch target.
565         * configure: Regenerate.
566         * disassemble.c: Define ARCH_microblaze, return
567         print_insn_microblaze().
568         * microblaze-dis.c: New MicroBlaze disassembler.
569         * microblaze-opc.h: New MicroBlaze opcode definitions.
570         * microblaze-opcm.h: New MicroBlaze opcode types.
571
572 2009-07-25  H.J. Lu  <hongjiu.lu@intel.com>
573
574         * configure.in: Handle bfd_l1om_arch.
575         * disassemble.c (disassembler): Likewise.
576
577         * configure: Regenerated.
578
579         * i386-dis.c (print_insn): Handle bfd_mach_l1om and
580         bfd_mach_l1om_intel_syntax.  Use 8 bytes per line for Intel L1OM.
581
582         * i386-gen.c (cpu_flag_init): Set CPU_UNKNOWN_FLAGS to ~CpuL1OM.
583         Add CPU_L1OM_FLAGS.
584         (cpu_flags): Add CpuL1OM.
585         (set_bitfield): Take an argument to set the value field.
586         (process_i386_cpu_flag): Support ~CpuXXX and ~(CpuXXX|CpuYYY).
587         (process_i386_opcode_modifier): Updated.
588         (process_i386_operand_type): Likewise.
589         * i386-init.h: Regenerated.
590         * i386-tbl.h: Likewise.
591
592         * i386-opc.h (CpuL1OM): New.
593         (CpuXsave): Updated.
594         (i386_cpu_flags): Add cpul1om.
595
596 2009-07-24  Jan Beulich  <jbeulich@novell.com>
597
598         * i386-dis.c (fgrps): Correct annotation for feni/fdisi. Add
599         frstpm.
600         * i386-gen.c (cpu_flag_init): Add FP enabling flags where needed.
601         (cpu_flags): Add Cpu8087, Cpu287, Cpu387, Cpu687, and CpuFISTTP.
602         (set_bitfield): Expand CpuFP to Cpu8087|Cpu287|Cpu387.
603         * i386-opc.h (Cpu8087, Cpu287, Cpu387, Cpu687, CpuFISTTP):
604         Define.
605         (union i386_cpu_flags): Add cpu8087, cpu287, cpu387, cpu687,
606         and cpufisttp.
607         * i386-opc.tbl: Qualify floating point instructions by their
608         respective CpuXXX flag. Fix fucom{,p,pp}, fprem1, fsin, fcos,
609         and fsincos to be avilable only on 387. Fix fstsw ax to be
610         available only on 287+. Add f{,n}eni, f{,n}disi, f{,n}setpm,
611         and frstpm.
612         * i386-init.h, i386-tbl.h: Regenerate.
613
614 2009-07-20  Nick Clifton  <nickc@redhat.com>
615
616         PR 10288
617         * arm-dis.c (arm_opcodes): Catch non-zero bits 8-11 in register
618         offset or indexed based addressing mode 3.
619
620 2009-07-14  Nick Clifton  <nickc@redhat.com>
621
622         PR 10288
623         * arm-dis.c (arm_opcodes): Catch illegal Addressing Mode 1
624         patterns.
625         (arm_decode_shift): Catch illegal register based shifts.
626         (print_insn_arm): Properly handle negative register r0
627         post-indexed addressing.
628
629 2009-07-10  Doug Kwan  <dougkwan@google.com>
630
631         * arm-disc.c (print_insn_coprocessor, print_insn_arm):  Print only
632         lower 32 bits of long types to make hexadecimal output consistent
633         on both 32-bit and 64-bit hosts.
634
635 2009-07-10  Alan Modra  <amodra@bigpond.net.au>
636
637         * fr30-desc.c, * fr30-desc.h, * fr30-opc.c, * fr30-opc.h,
638         * frv-desc.c, * frv-desc.h, * frv-opc.c, * frv-opc.h,
639         * ip2k-desc.c, * ip2k-desc.h, * ip2k-opc.c, * ip2k-opc.h,
640         * iq2000-desc.c, * iq2000-desc.h, * iq2000-opc.c, * iq2000-opc.h,
641         * lm32-desc.c, * lm32-desc.h, * lm32-opc.c, * lm32-opc.h,
642         * lm32-opinst.c, * m32c-desc.c, * m32c-desc.h, * m32c-opc.c,
643         * m32c-opc.h, * m32r-desc.c, * m32r-desc.h, * m32r-opc.c,
644         * m32r-opc.h, * m32r-opinst.c, * mt-desc.c, * mt-desc.h,
645         * mt-opc.c, * mt-opc.h, * openrisc-desc.c, * openrisc-desc.h,
646         * openrisc-opc.c, * openrisc-opc.h, * xc16x-desc.c, * xc16x-desc.h,
647         * xc16x-opc.c, * xc16x-opc.h, * xstormy16-desc.c, * xstormy16-desc.h,
648         * xstormy16-opc.c, * xstormy16-opc.h: Regenerate.
649
650 2009-07-07  Chung-Lin Tang  <cltang@pllab.cs.nthu.edu.tw>
651
652         * arm-dis.c (coprocessor_opcodes): Fix mask for waddbhus.
653
654 2009-07-07  Nick Clifton  <nickc@redhat.com>
655
656         PR 10288
657         * arm-dis.c (arm_opcodes): Be more strict about decoding scaled
658         addressing modes.
659
660 2009-07-06  DJ Delorie  <dj@redhat.com>
661
662         * mep-desc.c: Regenerate.
663         * mep-desc.h: Regenerate.
664         * mep-opc.c: Regenerate.
665         * mep-opc.h: Regenerate.
666
667 2009-07-06  Dwarakanath Rajagopal  <dwarak.rajagopal@amd.com>
668
669         * i386-opc.h (CpuFMA4): Add CpuFMA4.
670         (i386_cpu_flags): New.
671         * i386-gen.c: Add CPU_FMA4_FLAGS.
672         * i386-opc.tbl: Add FMA4 instructions.
673         * i386-tbl.h: Regenerate.
674         * i386-init.h: Regenerate.
675         * i386-dis.c (OP_VEX_FMA): New. Handle FMA4.
676         (OP_XMM_VexW): Ditto.
677         (OP_EX_VexW): Ditto.
678         (VEXI4_Fixup): Ditto.
679         (VexI4, VexFMA, Vex128FMA, EXVexW, EXdVexW, XMVexW): New Macros.
680         (PREFIX_VEX_3A5C, PREFIX_VEX_3A5D, PREFIX_VEX_3A5E): New.
681         (PREFIX_VEX_3A5F, PREFIX_VEX_3A60): New.
682         (PREFIX_VEX_3A68, PREFIX_VEX_3A69, PREFIX_VEX_3A6A): New.
683         (PREFIX_VEX_3A6B, PREFIX_VEX_3A6C, PREFIX_VEX_3A6D): New.
684         (PREFIX_VEX_3A6E, PREFIX_VEX_3A6F, PREFIX_VEX_3A7A): New.
685         (PREFIX_VEX_3A7B, PREFIX_VEX_3A7C, PREFIX_VEX_3A7D): New.
686         (PREFIX_VEX_3A7E, PREFIX_VEX_3A7F): New.
687         (VEX_LEN_3A6A_P_2,VEX_LEN_3A6B_P_2, VEX_LEN_3A6E_P_2): New.
688         (VEX_LEN_3A6F_P_2,VEX_LEN_3A7A_P_2, VEX_LEN_3A7B_P_2): New.
689         (VEX_LEN_3A7E_P_2,VEX_LEN_3A7F_P_2): New.
690         (get_vex_imm8): New. handle FMA4.
691         (OP_EX_VexReg): Ditto.
692
693 2009-06-30  Nick Clifton  <nickc@redhat.com>
694
695         PR 10288
696         * arm-dis.c (coprocessor): Print the LDC and STC versions of the
697         LFM and SFM instructions as comments,.
698         Improve consistency of formatting for instructions displayed as
699         comments and decimal values displayed with their hexadecimal
700         equivalents.
701         Formatting tidy ups.
702
703 2009-06-29  Nick Clifton  <nickc@redhat.com>
704
705         PR 10288
706         * arm-dis.c (enum opcode_sentinels): New:  Used to mark the
707         boundary between variaant and generic coprocessor instuctions.
708         (coprocessor): Use it.
709         Fix architecture version of MCRR and MRRC instructions.
710         (arm_opcdes): Fix patterns for STRB and STRH instructions.
711         (print_insn_coprocessor): Check architecture and extension masks.
712         Print a hexadecimal version of any decimal constant that is
713         outside of the range of -16 to +32.
714         (print_arm_address): Add a return value of the offset used in the
715         adress, if it is worth printing a hexadecimal version of it.
716         (print_insn_neon): Print a hexadecimal version of any decimal
717         constant that is outside of the range of -16 to +32.
718         (print_insn_arm): Likewise.
719         (print_insn_thumb16): Likewise.
720         (print_insn_thumb32): Likewise.
721
722         PR 10297
723         * arm-dis.c (UNDEFINED_INSTRUCTION): New macro for a description
724         of an undefined instruction.
725         (arm_opcodes): Use it.
726         (thumb_opcod): Use it.
727         (thumb32_opc): Use it.
728
729 2009-06-23  DJ Delorie  <dj@redhat.com>
730
731         * mep-desc.c: Regenerate.
732         * mep-desc.h: Regenerate.
733         * mep-dis.c: Regenerate.
734         * mep-ibld.c: Regenerate.
735         * mep-opc.c: Regenerate.
736
737         * mep-asm.c: Regenerate.
738         * mep-opc.c: Regenerate.
739         * mep-opc.h: Regenerate.
740
741 2009-06-22  Nick Clifton  <nickc@redhat.com>
742
743         * po/fi.po: Updated Finish translation.
744
745 2009-06-22  Alan Modra  <amodra@bigpond.net.au>
746
747         * m32c-asm.c: Regenerate.
748
749 2009-06-22  Alan Modra  <amodra@bigpond.net.au>
750
751         * score-dis.c (print_insn_score48, print_insn_score32): Move default
752         case label to proper lexical block.
753         * score7-dis.c (print_insn_score32): Likewise.
754
755 2009-06-19  Martin Schwidefsky  <sschwidefsky@de.ibm.com>
756
757         * s390-opc.c (INSTR_RR_0R_OPT, INSTR_RX_0RRD_OPT, MASK_RR_0R_OPT,
758         MASK_RX_0RRD_OPT): New instruction formats with optional arguments.
759         * s390-opc.txt (nopr, nop): Use new instruction format.
760
761 2009-06-18  Nick Clifton  <nickc@redhat.com>
762
763         PR 10288
764         * arm-dis.c (print_insn_coprocessor): Check that a user specified
765         ARM architecture supports the matched instruction.
766         (print_insn_arm): Likewise.
767         (select_arm_features): New function.  Fills in the fields of an
768         arm_feature_set structure based on a given arm machine number.
769         (print_insn): Initialise an arm_feature_set structure.
770
771 2009-06-16  Maciej W. Rozycki  <macro@linux-mips.org>
772
773         * vax-dis.c (is_function_entry): Return success for synthetic
774         symbols too.
775         (is_plt_tail): New function.
776         (print_insn_vax): Decode PLT entry offset longword.
777
778 2009-06-15  Nick Clifton  <nickc@redhat.com>
779
780         PR 10186
781         * arm-dis.c (thumb32_opcodes): Fix binary value of SEV.W
782         instruction.
783
784         PR 10173
785         * cr16-dis.c (print_arg): Avoid printing the 0x prefix twice.
786
787 2009-06-15  Nick Clifton  <nickc@redhat.com>
788
789         PR 10263
790         * arm-dis.c (print_insn): Ignore is_data if the user has requested
791         the disassembly of data as well as instructions.
792
793 2009-06-11  Doug Evans  <dje@sebabeach.org>
794
795         * cgen.sh: Handle multiple simultaneous runs for parallel makes.
796
797 2009-06-11  Anthony Green  <green@moxielogic.com>
798
799         * moxie-opc.c (moxie_form1_opc_info): Remove branch instructions.
800         (moxie_form3_opc_info): Add branch instructions.
801         * moxie-dis.c (print_insn_moxie): Disassemble MOXIE_F3_PCREL
802         encoded instructions.
803
804 2009-06-06  Anthony Green  <green@moxielogic.com>
805
806         * moxie-opc.c: Recode some MOXIE_F1_4 opcodes as MOXIE_F1_M.
807         * moxie-dis.c (print_insn_moxie): Handle MOXIE_F1_M case.
808
809 2009-06-04  Alan Modra  <amodra@bigpond.net.au>
810
811         * dep-in.sed: Don't use \n in replacement part of s command.
812         * Makefile.am (DEP1): LC_ALL for uniq.
813         * Makefile.in: Regenerate.
814
815 2009-06-02  Nick Clifton  <nickc@redhat.com>
816
817         * po/nl.po: Updated Dutch translation.
818
819 2009-06-02  Tristan Gingold  <gingold@adacore.com>
820
821         * ia64-gen.c (parse_resource_users, print_dependency_table,
822         add_dis_table_ent, finish_distable, insert_bit_table_ent,
823         add_dis_entry, compact_distree, gen_dis_table, completer_entries_eq,
824         get_prefix_len, compute_completer_bits, insert_opcode_dependencies,
825         insert_completer_entry, print_completer_entry, print_completer_table,
826         opcodes_eq, add_opcode_entry, shrink): Use ISO C syntax for functions.
827
828 2009-05-28  DJ Delorie  <dj@redhat.com>
829
830         * mep-asm.c: Regenerate.
831         * mep-desc.c: Regenerate.
832
833 2009-05-26  DJ Delorie  <dj@redhat.com>
834
835         * mep-asm.c: Regenerate.
836         * mep-desc.c: Regenerate.
837         * mep-desc.h: Regenerate.
838         * mep-dis.c: Regenerate.
839         * mep-ibld.c: Regenerate.
840         * mep-opc.c: Regenerate.
841         * mep-opc.h: Regenerate.
842
843 2009-05-26  Nick Clifton  <nickc@redhat.com>
844
845         * po/id.po: Updated Indonesian translation.
846         * po/opcodes.pot: Updated template file.
847
848 2009-05-26  Alan Modra  <amodra@bigpond.net.au>
849
850         * dep-in.sed: Don't modify .o to .lo here.  Output one filename
851         per line with all lines having continuation backslash.  Prefix
852         first line with "A", following lines with "B".
853         * Makefile.am (DEP): Don't use dep.sed here.
854         (DEP1): Run $MKDEP on single files, modify .o to .lo here.  Use
855         dep.sed here on dependencies, sort and uniq.
856         * Makefile.in: Regenerate.
857
858 2009-05-25  Tristan Gingold  <gingold@adacore.com>
859
860         * makefile.vms (OPT): New variable.
861         (CFLAGS): Update compilation flags.
862
863 2009-05-22  DJ Delorie  <dj@redhat.com>
864
865         * mep-asm.c: Regenerate.
866         * mep-desc.c: Regenerate.
867         * mep-desc.h: Regenerate.
868         * mep-dis.c: Regenerate.
869         * mep-ibld.c: Regenerate.
870         * mep-opc.c: Regenerate.
871         * mep-opc.h: Regenerate.
872
873 2009-05-22  Dwarakanath Rajagopal  <dwarak.rajagopal@amd.com>
874
875         * i386-opc.h (Cpusse5): Delete.
876         (i386_cpu_flags): Delete.
877         * i386-gen.c: Remove CpuSSE5, Drex, Drexv and Drexc.
878         * i386-opc.tbl: Remove SSE5 instructions.
879         * i386-tbl.h: Regenerate.
880         * i386-init.h: Regenerate.
881         * i386-dis.c (OP_E_memeory, OP_E_extended): Remove drex handling.
882         (print_drex_arg): Delete.
883         (OP_DREX4): Delete.
884         (OP_DREX3): Delete.
885         (OP_DREX_ICMP): Delete.
886         (OP_DREX_FCMP): Delete.
887         (DREX_*): Delete.
888         (THREE_BYTE_0F24, THREE_BYTE_0F25, THREE_BYTE_0f7B): Delete.
889
890 2009-05-22  Alan Modra  <amodra@bigpond.net.au>
891
892         * Makefile.am: Run "make dep-am".
893         * Makefile.in: Regenerate.
894         * po/POTFILES.in: Regenerate.
895
896 2009-05-19  DJ Delorie  <dj@redhat.com>
897
898         * mep-asm.c: Regenerate.
899         * mep-opc.c: Regenerate.
900
901 2009-04-30  DJ Delorie  <dj@redhat.com>
902
903         * mep-asm.c: Regenerate.
904         * mep-desc.c: Regenerate.
905         * mep-desc.h: Regenerate.
906         * mep-dis.c: Regenerate.
907         * mep-ibld.c: Regenerate.
908         * mep-opc.c: Regenerate.
909         * mep-opc.h: Regenerate.
910
911 2009-04-17  DJ Delorie  <dj@redhat.com
912
913         * mep-desc.c: Regenerate.
914         * mep-ibld.c: Regenerate.
915         * mep-opc.c: Regenerate.
916         * mep-opc.h: Regenerate.
917
918 2009-04-15  Anthony Green  <green@moxielogic.com>
919
920         * moxie-opc.c, moxie-dis.c: Created.
921         * Makefile.am: Build the moxie source files.
922         * configure.in: Add moxie support.
923         * Makefile.in, configure: Rebuilt.
924         * disassemble.c (disassembler): Add moxie support.
925         (ARCH_moxie): Define.
926
927 2009-04-15  Jan Beulich  <jbeulich@novell.com>
928
929         * i386-opc.tbl (protb, protw, protd, protq): Set opcode
930         extension to None.
931         (pshab, pshaw, pshad, pshaq): Likewise.
932         * i386-tbl.h: Re-generate.
933
934 2009-04-08  DJ Delorie  <dj@redhat.com
935
936         * mep-asm.c: Regenerate.
937         * mep-desc.c: Regenerate.
938         * mep-desc.h: Regenerate.
939         * mep-dis.c: Regenerate.
940         * mep-ibld.c: Regenerate.
941         * mep-opc.c: Regenerate.
942         * mep-opc.h: Regenerate.
943
944 2009-04-07  Peter Bergner  <bergner@vnet.ibm.com>
945
946         * ppc-opc.c (powerpc_opcodes) <"tlbilxlpid", "tlbilxpid", "tlbilxva",
947         "tlbilx">: Use secondary opcode "18" as per the ISA 2.06 documentation.
948         Reorder entries so the extended mnemonics are listed before tlbilx.
949
950 2009-04-02  Peter Bergner  <bergner@vnet.ibm.com>
951
952         * ppc-dis.c (powerpc_init_dialect): Do not choose a default dialect
953         due to -many/-Many.
954         (print_insn_powerpc): Make sure we only deprecate instructions using
955         the original dialect and not a modified dialect due to -Many handling.
956         Move the handling of the condition register and default operands to
957         the end of the if/else if/else chain.
958         * ppc-opc.c (powerpc_opcodes): Reorder the opcode table so that
959         instructions from newer processors are listed before older ones.
960         <"icblce", "sync", "eieio", "tlbld">: Deprecate for processors
961         that have instructions with conflicting opcodes.
962
963 2009-04-01  Peter Bergner  <bergner@vnet.ibm.com>
964
965         * ppc-opc.c (powerpc_opcodes) <"dcbzl">: Merge the POWER4 and
966         E500MC entries.
967
968 2009-04-01  Christophe Lyon  <christophe.lyon@st.com>
969
970         * arm-dis.c (print_insn): Print BE8 opcodes in little endianness.
971
972 2009-03-30  Joseph Myers  <joseph@codesourcery.com>
973
974         * arm-dis.c (print_insn): Also check section matches in backwards
975         search for mapping symbol.
976
977 2009-03-26  H.J. Lu  <hongjiu.lu@intel.com>
978
979         * i386-dis.c (get_valid_dis386): Abort on unhandled table.
980
981 2009-03-18  Alan Modra  <amodra@bigpond.net.au>
982
983         * cgen-opc.c: Include alloca-conf.h rather than alloca.h.
984         * Makefile.am: Run "make dep-am".
985         * Makefile.in: Regenerate.
986         * openrisc-opc.c: Regenerate.
987
988 2009-03-10  Nick Clifton  <nickc@redhat.com>
989
990         * po/id.po: Updated Indonesian translation.
991
992 2009-03-10  Alan Modra  <amodra@bigpond.net.au>
993
994         * ppc-dis.c: Include "opintl.h".
995         (struct ppc_mopt, ppc_opts): New.
996         (ppc_parse_cpu): New function.
997         (powerpc_init_dialect): Use it.
998         (print_ppc_disassembler_options): Dump options from ppc_opts.
999         Internationalize message.
1000
1001 2009-03-06  Nick Clifton  <nickc@redhat.com>
1002
1003         * po/es.po: Updated Spanish translation.
1004
1005 2009-03-04  Alan Modra  <amodra@bigpond.net.au>
1006
1007         PR 6768
1008         * configure.in: Test for ld --as-needed support.  Link shared
1009         libopcodes against libm.
1010         * configure: Regenerate.
1011
1012 2009-03-03  Peter Bergner  <bergner@vnet.ibm.com>
1013
1014         * ppc-opc.c (powerpc_opcodes): Reorder the opcode table so that
1015         instructions from newer processors are listed before older ones.
1016
1017 2009-03-03  Alan Modra  <amodra@bigpond.net.au>
1018
1019         * Makefile.am: Run "make dep-am".
1020         (HFILES): Move lm32-desc.h and lm32-opc.h from..
1021         (CFILES): ..here.
1022         * Makefile.in: Regenerate.
1023
1024 2009-03-02  Qinwei  <qinwei@sunnorth.com.cn>
1025
1026         * score7-dis.c: New file.
1027         * Makefile.am: Add dependencies for score7-dis.c.
1028         * Makefile.in: Regenerate.
1029         * configure.in: Add score7-dis to score files.
1030         * configure: Regenerate.
1031         * score-dis.c: Add support for score7 architecture.
1032         * score-opc.h: Likewise.
1033
1034 2009-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1035
1036         * configure: Regenerate.
1037
1038 2009-02-27  H.J. Lu  <hongjiu.lu@intel.com>
1039
1040         * i386-dis.c (OP_EX): Call OP_E_memory instead of OP_E.
1041
1042 2009-02-26  Peter Bergner  <bergner@vnet.ibm.com>
1043
1044         * ppc-dis.c (powerpc_init_dialect): Extend -Mpower7 to disassemble
1045         the power7 and the isel instructions.
1046         * ppc-opc.c (insert_xc6, extract_xc6): New static functions.
1047         (insert_dm, extract_dm): Likewise.
1048         (XB6): Update comment to include XX2 form.
1049         (WC, XC6, SHW, DMEX, UIM, XX2, XX3RC, XX4, XX2_MASK, XX2UIM_MASK,
1050         XX2BF_MASK, XX3BF_MASK, XX3SHW_MASK, XX4_MASK, XWC_MASK, POWER7): New.
1051         (RemoveXX3DM): Delete.
1052         (powerpc_opcodes): <"lfdp", "lfdpx", "mcrxr", "mftb", "mffgpr",
1053         "mftgpr">: Deprecate for POWER7.
1054         <"fres", "fres.", "frsqrtes", "frsqrtes.", "fre", "fre.", "frsqrte",
1055         "frsqrte.">: Deprecate the three operand form and enable the two
1056         operand form for POWER7 and later.
1057         <"wait">: Extend to accept optional parameter.  Enable for POWER7.
1058         <"waitsrv", "waitimpl">: Add extended opcodes.
1059         <"ldbrx", "stdbrx">: Enable for POWER7.
1060         <"cdtbcd", "cbcdtd", "addg6s">: Add POWER6 opcodes.
1061         <"bpermd", "dcbtstt", "dcbtt", "dcffix.", "dcffix", "divde.", "divde",
1062         "divdeo.", "divdeo", "divdeu.", "divdeu", "divdeuo.", "divdeuo",
1063         "divwe.", "divwe", "divweo.", "divweo", "divweu.", "divweu", "divweuo.",
1064         "divweuo", "fcfids.", "fcfids", "fcfidu.", "fcfidu", "fcfidus.",
1065         "fcfidus", "fctidu.", "fctidu", "fctiduz.", "fctiduz", "fctiwu.",
1066         "fctiwu", "fctiwuz.", "fctiwuz", "ftdiv", "ftsqrt", "lbarx", "lfiwzx",
1067         "lharx", "popcntd", "popcntw", "stbcx.", "sthcx.">: Add POWER7 opcodes.
1068         <"lxsdux", "lxsdx", "lxvdsx", "lxvw4ux", "lxvw4x", "stxsdux", "stxsdx",
1069         "stxvw4ux", "stxvw4x", "xsabsdp", "xsadddp", "xscmpodp", "xscmpudp",
1070         "xscpsgndp", "xscvdpsp", "xscvdpsxds", "xscvdpsxws", "xscvdpuxds",
1071         "xscvdpuxws", "xscvspdp", "xscvsxddp", "xscvuxddp", "xsdivdp",
1072         "xsmaddadp", "xsmaddmdp", "xsmaxdp", "xsmindp", "xsmsubadp",
1073         "xsmsubmdp", "xsmuldp", "xsnabsdp", "xsnegdp", "xsnmaddadp",
1074         "xsnmaddmdp", "xsnmsubadp", "xsnmsubmdp", "xsrdpi", "xsrdpic",
1075         "xsrdpim", "xsrdpip", "xsrdpiz", "xsredp", "xsrsqrtedp", "xssqrtdp",
1076         "xssubdp", "xstdivdp", "xstsqrtdp", "xvabsdp", "xvabssp", "xvadddp",
1077         "xvaddsp", "xvcmpeqdp.", "xvcmpeqdp", "xvcmpeqsp.", "xvcmpeqsp",
1078         "xvcmpgedp.", "xvcmpgedp", "xvcmpgesp.", "xvcmpgesp", "xvcmpgtdp.",
1079         "xvcmpgtdp", "xvcmpgtsp.", "xvcmpgtsp", "xvcpsgnsp", "xvcvdpsp",
1080         "xvcvdpsxds", "xvcvdpsxws", "xvcvdpuxds", "xvcvdpuxws", "xvcvspdp",
1081         "xvcvspsxds", "xvcvspsxws", "xvcvspuxds", "xvcvspuxws", "xvcvsxddp",
1082         "xvcvsxdsp", "xvcvsxwdp", "xvcvsxwsp", "xvcvuxddp", "xvcvuxdsp",
1083         "xvcvuxwdp", "xvcvuxwsp", "xvdivdp", "xvdivsp", "xvmaddadp",
1084         "xvmaddasp", "xvmaddmdp", "xvmaddmsp", "xvmaxdp", "xvmaxsp",
1085         "xvmindp", "xvminsp", "xvmovsp", "xvmsubadp", "xvmsubasp", "xvmsubmdp",
1086         "xvmsubmsp", "xvmuldp", "xvmulsp", "xvnabsdp", "xvnabssp", "xvnegdp",
1087         "xvnegsp", "xvnmaddadp", "xvnmaddasp", "xvnmaddmdp", "xvnmaddmsp",
1088         "xvnmsubadp", "xvnmsubasp", "xvnmsubmdp", "xvnmsubmsp", "xvrdpi",
1089         "xvrdpic", "xvrdpim", "xvrdpip", "xvrdpiz", "xvredp", "xvresp",
1090         "xvrspi", "xvrspic", "xvrspim", "xvrspip", "xvrspiz", "xvrsqrtedp",
1091         "xvrsqrtesp", "xvsqrtdp", "xvsqrtsp", "xvsubdp", "xvsubsp", "xvtdivdp",
1092         "xvtdivsp", "xvtsqrtdp", "xvtsqrtsp", "xxland", "xxlandc", "xxlnor",
1093         "xxlor", "xxlxor", "xxmrghw", "xxmrglw", "xxsel", "xxsldwi", "xxspltd",
1094         "xxspltw", "xxswapd">: Add VSX opcodes.
1095
1096 2009-02-23  H.J. Lu  <hongjiu.lu@intel.com>
1097
1098         * i386-gen.c (operand_type_init): Remove OPERAND_TYPE_VEX_IMM4.
1099         (operand_types): Remove Vex_Imm4.
1100
1101         * i386-opc.h (Vex_Imm4): Removed.
1102         (OTMax): Updated.
1103         (i386_operand_type): Remove vex_imm4.
1104
1105         * i386-opc.tbl: Remove Vex_Imm4 comments.
1106         * i386-init.h: Regenerated.
1107         * i386-tbl.h: Likewise.
1108
1109 2009-02-23  Richard Earnshaw  <rearnsha@arm.com>
1110
1111         * arm-dis.c (neon_opcodes): Correct bit-mask and patterns for
1112         vq{r}shr{u}n.s64 insnstructions.
1113
1114 2009-02-19  Peter Bergner  <bergner@vnet.ibm.com>
1115
1116         * ppc-opc.c (powerpc_opcodes) <"lfdepx", "stfdepx">: Fix the first
1117         operand to be a float point register (FRT/FRS).
1118
1119 2009-02-18  Adam Nemet  <anemet@caviumnetworks.com>
1120
1121         * mips-opc.c (mips_builtin_opcodes): Move the Octeon-specific
1122         dmfc2 and dmtc2 before the architecture-level variants.
1123
1124 2009-02-18  Pierre Muller  <muller@ics.u-strasbg.fr>
1125
1126         * fr30-opc.c: Regenerate.
1127         * frv-opc.c: Regenerate.
1128         * ip2k-opc.c: Regenerate.
1129         * iq2000-opc.c: Regenerate.
1130         * lm32-opc.c: Regenerate.
1131         * m32c-opc.c: Regenerate.
1132         * m32r-opc.c: Regenerate.
1133         * mep-opc.c: Regenerate.
1134         * mt-opc.c: Regenerate.
1135         * xc16x-opc.c: Regenerate.
1136         * xstormy16-opc.c: Regenerate.
1137         * tic54x-dis.c (print_instruction): Avoid compiler warning on
1138         sprintf call.
1139
1140 2009-02-12  Nathan Sidwell  <nathan@codesourcery.com>
1141
1142         * m68k-opc.c (m68k_opcodes): Add stldsr instruction.
1143
1144 2009-02-05  Peter Bergner  <bergner@vnet.ibm.com>
1145
1146         * ppc-opc.c: Update copyright year.
1147         (powerpc_opcodes) <"dcbt", "dcbtst">: Deprecate the Embedded operand
1148         ordering for POWER4 and later and use the correct Server ordering.
1149
1150 2009-02-04  H.J. Lu  <hongjiu.lu@intel.com>
1151
1152         AVX Programming Reference (January, 2009)
1153         * i386-dis.c (PREFIX_VEX_3A44): New.
1154         (VEX_LEN_3A44_P_2): Likewise.
1155         (PREFIX_VEX_3A48): Updated.
1156         (VEX_LEN_3A4C_P_2): Likewise.
1157         (prefix_table): Add PREFIX_VEX_3A44.
1158         (vex_table): Likewise.
1159         (vex_len_table): Add VEX_LEN_3A44_P_2.
1160
1161         * i386-opc.tbl: Add PCLMUL + AVX instructions.
1162         * i386-tbl.h: Regenerated.
1163
1164 2009-02-03  Sandip Matte  <sandip@rmicorp.com>
1165
1166         * mips-dis.c (mips_cp0_names_xlr, mips_cp0sel_names_xlr): Define.
1167         (mips_arch_choices): Add XLR entry.
1168         * mips-opc.c (XLR): Define.
1169         (mips_builtin_opcodes): Add XLR instructions.
1170
1171 2009-02-03  Carlos O'Donell  <carlos@codesourcery.com>
1172
1173         * Makefile.am: Add install-pdf target.
1174         * po/Make-in: Add install-pdf target.
1175         * Makefile.in: Regenerate.
1176
1177 2009-02-02  DJ Delorie  <dj@redhat.com>
1178
1179         * mep-asm.c: Regenerate.
1180         * mep-desc.c: Regenerate.
1181         * mep-desc.h: Regenerate.
1182         * mep-dis.c: Regenerate.
1183         * mep-ibld.c: Regenerate.
1184         * mep-opc.c: Regenerate.
1185         * mep-opc.h: Regenerate.
1186
1187 2009-01-29  Mark Mitchell  <mark@codesourcery.com>
1188
1189         * arm-dis.c (thumb32_opcodes): Correct decoding for qadd, qdadd,
1190         qsub, and qdsub.
1191
1192 2009-01-28  Chao-ying Fu  <fu@mips.com>
1193
1194         * mips-opc.c (suxc1): Add the flag of FP_D.
1195
1196 2009-01-20  Alan Modra  <amodra@bigpond.net.au>
1197
1198         * fr30-asm.c, fr30-dis.c, fr30-ibld.c, frv-asm.c, frv-dis.c,
1199         * frv-ibld.c, ip2k-asm.c, ip2k-dis.c, ip2k-ibld.c,
1200         * iq2000-asm.c, iq2000-dis.c, iq2000-ibld.c, m32c-asm.c,
1201         * m32c-dis.c, m32c-ibld.c, m32r-asm.c, m32r-dis.c,
1202         * m32r-ibld.c, mep-asm.c, mep-dis.c, mep-ibld.c, mt-asm.c,
1203         * mt-dis.c, mt-ibld.c, openrisc-asm.c, openrisc-dis.c,
1204         * openrisc-ibld.c, xc16x-asm.c, xc16x-dis.c, xc16x-ibld.c,
1205         * xstormy16-asm.c, xstormy16-dis.c, xstormy16-ibld.c: Regenerate.
1206
1207 2009-01-16  Alan Modra  <amodra@bigpond.net.au>
1208
1209         * configure.in (commonbfdlib): Delete.
1210         (SHARED_LIBADD): Add pic libiberty if such is available.
1211         * configure: Regenerate.
1212         * po/POTFILES.in: Regenerate.
1213
1214 2009-01-14  Peter Bergner  <bergner@vnet.ibm.com>
1215
1216         * ppc-dis.c (print_insn_powerpc): Skip insn if it is deprecated.
1217         * ppc-opc.c (powerpc_opcodes) <mtfsf, mtfsf.>: Deprecate the two
1218         operand form and enable the four operand form for POWER6 and later.
1219         <mtfsfi, mtfsfi.>: Deprecate the two operand form and enable the
1220         three operand form for POWER6 and later.
1221
1222 2009-01-14  Mike Frysinger  <vapier@gentoo.org>
1223
1224         * bfin-dis.c (OUTS): Use "%s" as format string.
1225
1226 2009-01-13  H.J. Lu  <hongjiu.lu@intel.com>
1227
1228         * i386-gen.c (cpu_flag_init): Remove a white space.
1229         (operand_type_init): Likewise.
1230
1231 2009-01-12  H.J. Lu  <hongjiu.lu@intel.com>
1232
1233         * i386-opc.tbl: Add NoAVX to movnti, lfence and mfence.
1234         * i386-tbl.h: Regenerated.
1235
1236 2009-01-12  H.J. Lu  <hongjiu.lu@intel.com>
1237
1238         * i386-dis.c (dis386): Use EbS on addB, orB, adcB, sbbB, andB,
1239         subB, xorB and cmpB.  Use EvS on addS, orS, adcS, sbbS, andS,
1240         subS, xorS and cmpS.
1241
1242 2009-01-10  H.J. Lu  <hongjiu.lu@intel.com>
1243
1244         * i386-gen.c (cpu_flag_init): Replace CpuP4 and CpuK6 with
1245         CpuClflush and CpuSYSCALL, respectively. Remove CpuK8.  Add
1246         CPU_COREI7_FLAGS, CPU_CLFLUSH_FLAGS and CPU_SYSCALL_FLAGS.
1247         (cpu_flags): Remove CpuP4, CpuK6 and CpuK8.  Add CpuClflush
1248         and CpuSYSCALL.
1249         (lineno): Removed.
1250         (set_bitfield): Take an argument, lineno.  Don't report lineno
1251         on error if it is -1.
1252         (process_i386_cpu_flag): Take an argument, lineno.
1253         (process_i386_opcode_modifier): Likewise.
1254         (process_i386_operand_type): Likewise.
1255         (output_i386_opcode): Likewise.
1256         (opcode_hash_entry): Add lineno.
1257         (process_i386_opcodes): Updated.
1258         (process_i386_registers): Likewise.
1259         (process_i386_initializers): Likewise.
1260
1261         * i386-opc.h (CpuP4): Removed.
1262         (CpuK6): Likewise.
1263         (CpuK8): Likewise.
1264         (CpuClflush): New.
1265         (CpuSYSCALL): Likewise.
1266         (CpuMMX): Updated.
1267         (i386_cpu_flags): Remove cpup4, cpuk6 and cpuk8.  Add
1268         cpuclflush and cpusyscall.
1269
1270         * i386-opc.tbl: Update movnti, clflush, lfence, mfence, pause,
1271         syscall and sysret.
1272         * i386-init.h: Regenerated.
1273         * i386-tbl.h: Likewise.
1274
1275 2009-01-09  H.J. Lu  <hongjiu.lu@intel.com>
1276
1277         * i386-gen.c (cpu_flag_init): Add CpuRdtscp to CPU_K8_FLAGS
1278         and CPU_AMDFAM10_FLAGS.  Add CPU_RDTSCP_FLAGS.
1279         (cpu_flags): Add CpuRdtscp.
1280         (set_bitfield): Remove CpuSledgehammer check.
1281
1282         * i386-opc.h (CpuRdtscp): New.
1283         (CpuLM): Updated.
1284         (i386_cpu_flags): Add cpurdtscp.
1285
1286         * i386-opc.tbl: Replace CpuSledgehammer with CpuRdtscp.
1287         * i386-init.h: Regenerated.
1288         * i386-tbl.h: Likewise.
1289
1290 2009-01-09  Peter Bergner  <bergner@vnet.ibm.com>
1291
1292         * ppc-opc.c (PPCNONE): Define.
1293         (NOPOWER4): Delete.
1294         (powerpc_opcodes): Initialize the new "deprecated" field.
1295
1296 2009-01-06  H.J. Lu  <hongjiu.lu@intel.com>
1297
1298         AVX Programming Reference (December, 2008)
1299         * i386-dis.c (VEX_LEN_2B_M_0): Removed.
1300         (VEX_LEN_E7_P_2_M_0): Likewise.
1301         (VEX_LEN_2C_P_1): Updated.
1302         (VEX_LEN_E8_P_2): Likewise.
1303         (vex_len_table): Remove VEX_LEN_2B_M_0 and VEX_LEN_E7_P_2_M_0.
1304         (mod_table): Likewise.
1305
1306         * i386-opc.tbl: Add 256bit vmovntdq, vmovntpd and vmovntps.
1307         * i386-tbl.h: Regenerated.
1308
1309 2009-01-05  H.J. Lu  <hongjiu.lu@intel.com>
1310
1311         * i386-gen.c (process_copyright): Update for 2009.
1312
1313         * i386-init.h: Regenerated.
1314         * i386-tbl.h: Likewise.
1315
1316 2009-01-05  H.J. Lu  <hongjiu.lu@intel.com>
1317
1318         AVX Programming Reference (December, 2008)
1319         * i386-dis.c (OP_VEX_FMA): Removed.
1320         (OP_EX_VexW): Likewise.
1321         (OP_EX_VexImmW): Likewise.
1322         (OP_XMM_VexW): Likewise.
1323         (VEXI4_Fixup): Likewise.
1324         (VPERMIL2_Fixup): Likewise.
1325         (VexI4): Likewise.
1326         (VexFMA): Likewise.
1327         (Vex128FMA): Likewise.
1328         (EXVexW): Likewise.
1329         (EXdVexW): Likewise.
1330         (EXqVexW): Likewise.
1331         (EXVexImmW): Likewise.
1332         (XMVexW): Likewise.
1333         (VPERMIL2): Likewise.
1334         (PREFIX_VEX_3A48...PREFIX_VEX_3A4A): Likewise.
1335         (PREFIX_VEX_3A5C...PREFIX_VEX_3A5F): Likewise.
1336         (PREFIX_VEX_3A68...PREFIX_VEX_3A6F): Likewise.
1337         (PREFIX_VEX_3A78...PREFIX_VEX_3A7F): Likewise.
1338         (VEX_LEN_3A6A_P_2...VEX_LEN_3A6F_P_2): Likewise.
1339         (VEX_LEN_3A7A_P_2...VEX_LEN_3A7F_P_2): Likewise.
1340         (get_vex_imm8): Likewise.
1341         (OP_EX_VexReg): Likewise.
1342         vpermil2_op): Likewise.
1343         (EXVexWdq): New.
1344         (vex_w_dq_mode): Likewise.
1345         (PREFIX_VEX_3896...PREFIX_VEX_389F): Likewise.
1346         (PREFIX_VEX_38A6...PREFIX_VEX_38AF): Likewise.
1347         (PREFIX_VEX_38B6...PREFIX_VEX_38BF): Likewise.
1348         (es_reg): Updated.
1349         (PREFIX_VEX_38DB): Likewise.
1350         (PREFIX_VEX_3A4A): Likewise.
1351         (PREFIX_VEX_3A60): Likewise.
1352         (PREFIX_VEX_3ADF): Likewise.
1353         (VEX_LEN_3ADF_P_2): Likewise.
1354         (prefix_table): Remove PREFIX_VEX_3A48...PREFIX_VEX_3A4A,
1355         PREFIX_VEX_3A5C...PREFIX_VEX_3A5F,
1356         PREFIX_VEX_3A68...PREFIX_VEX_3A6F and
1357         PREFIX_VEX_3A78...PREFIX_VEX_3A7F.  Add
1358         PREFIX_VEX_3896...PREFIX_VEX_389F,
1359         PREFIX_VEX_38A6...PREFIX_VEX_38AF and
1360         PREFIX_VEX_38B6...PREFIX_VEX_38BF.
1361         (vex_table): Likewise.
1362         (vex_len_table): Remove VEX_LEN_3A6A_P_2...VEX_LEN_3A6F_P_2
1363         and VEX_LEN_3A7A_P_2...VEX_LEN_3A7F_P_2.
1364         (putop): Support "%XW".
1365         (intel_operand_size): Handle vex_w_dq_mode.
1366
1367         * i386-opc.h (VexNDS): Add a comment for VEX NDS and VEX DDS.
1368
1369         * i386-opc.tbl: Remove vpermil2pd/vpermil2ps and old FMA
1370         instructions.  Add new FMA instructions.
1371         * i386-tbl.h: Regenerated.
1372
1373 2009-01-02  Matthias Klose  <doko@ubuntu.com>
1374
1375         * or32-opc.c (or32_print_register, or32_print_immediate,
1376         disassemble_insn): Don't rely on undefined sprintf behaviour.
1377
1378 For older changes see ChangeLog-2008
1379 \f
1380 Local Variables:
1381 mode: change-log
1382 left-margin: 8
1383 fill-column: 74
1384 version-control: never
1385 End: