OSDN Git Service

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