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