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