OSDN Git Service

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