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