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