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