3 * arm-dis.c (print_insn): Check symtab_size not *symtab.
7 * i386-opc.tbl: Drop Disp64 on jump and loop instructions.
8 * i386-tbl.h: Regenerated.
12 * ppc-dis.c (ppc_opts): Add "476" entry.
13 * ppc-opc.c (PPC476): Define.
14 (powerpc_opcodes): Update mnemonics where required for 476.
18 * ppc-opc.c (PPCA2): Use renamed mask PPC_OPCODE_A2.
19 * ppc-dis.c (ppc_opts): Likewise.
20 Rename "ppca2" to "a2".
24 * crx-dis.c (match_opcode): Truncate mcode to 32-bit.
28 * Makefile.am: Add RX files.
29 * configure.in: Add support for RX target.
30 * disassemble.c: Likewise.
31 * Makefile.in: Regenerate.
32 * configure: Regenerate.
34 * rx-decode.c: New file.
35 * rx-decode.opc: New file.
40 * ppc-opc.c (powerpc_opcodes): Remove support for the the "lxsdux",
41 "lxvd2ux", "lxvw4ux", "stxsdux", "stxvd2ux" and "stxvw4ux" opcodes.
45 * microblaze-dis.c (get_insn_microblaze, microblaze_get_target_address,
46 microblaze_decode_insn): Add declarations.
47 (get_delay_slots_microblaze): Remove.
51 Update sources to make arc and arm targets compile cleanly with
53 * arc-dis.c Fix casts.
54 * arc-ext.c: Add casts.
55 * arm-dis.c (enum opcode_sentinel_enum): Gave name to anonymous
60 * i386-gen.c (opcode_modifiers): Remove Vex256.
61 (set_bitfield): Handle XXX=V.
63 * i386-opc.h (Vex): Update comments.
66 (i386_opcode_modifier): Change vex to 2 bits. Remove vex256.
68 * i386-opc.tbl: Replace "Vex|Vex256" with Vex=2.
69 * i386-tbl.h: Regenerated.
73 * po/fr.po: Updated French translation.
78 * ppc-dis.c (ppc_opts): Add "ppca2" entry.
79 * ppc-opc.c (powerpc_opcodes): Add eratilx, eratsx, eratsx.,
80 eratre, wchkall, eratwe, ldawx., mdfcrx., mfdcr. mtdcrx., icswx,
81 icswx., mtdcr., dci, wclrone, wclrall, wclr, erativax, tlbsrx.,
83 (ERAT_T): New operand.
90 * po/es.po: Updated Spanish translation.
91 * po/vi.po: Updated Vietnamese translation.
95 * i386-dis.c (OP_E_memory): Don't print '-' in Intel mode if
100 * po/nl.po: Updated Dutch translation.
104 * po/opcodes.pot: Updated by the Translation project.
108 Updated sources to compile cleanly with -Wc++-compat:
109 * ld.h (enum endian_enum,enum symbolic_enum,enum dynamic_list_enum): Move to top level.
110 * ldcref.c: Add casts.
111 * ldctor.c: Add casts.
113 * ldexp.h (enum node_tree_enum,enum phase_enum): Move to top level.
114 * ldlang.c: Add casts. (lang_insert_orphan): Use enum name instead of integer.
115 * ldlang.h (enum statement_enum): Move to top level.
116 * ldmain.c: Add casts.
117 * ldwrite.c: Add casts.
118 * lexsup.c: Add casts. (enum control_enum): Move to top level.
119 * mri.c: Add casts. (mri_draw_tree): Use enum name instead of integer.
123 * s390-dis.c (print_insn_s390): Avoid 'long long'.
127 * s390-dis.c (s390_extract_operand): Remove the shift for pcrel operands.
128 (print_insn_s390): Signextend and shift pcrel operands before printing.
132 * i386-dis.c (vex_len_table): Change VEX_LEN_AE_R_X_M0 to
133 VEX_LEN_AE_R_X_M_0 in comments.
137 * mep-opc.c: Regenerate.
141 * z8kgen.c (struct op): Replace unused flavor with id.
142 (opt): Remove extra xorb entry.
143 (func): Use id field as fallback.
144 (sub): Return new string, caller changed.
145 (internal): Allocate end marker. Assign unique id before sorting.
146 (gas): Likewise. Fix loop end condition.
147 * z8k-opc.h: Regenerate.
151 * ppc-opc.c (powerpc_macros <extrdi>): Allow n+b of 64.
155 * z8kgen.c (func): Fix thinko last patch.
159 * z8kgen.c (func): Stabilize qsort of identically named entries.
160 * z8k-opc.h: Regenerate.
164 * po/opcodes.pot: Regenerate.
168 * configure.in (BUILD_LIBS, BUILD_LIB_DEPS): Define and subst.
169 * configure: Regenerate.
170 * Makefile.am (LIBIBERTY, BUILD_LIBIBERTY, BUILD_LIBINTL): Delete.
171 (BUILD_LIBS, BUILD_LIB_DEPS): Define. Use..
172 (i386-gen, ia64-gen, z8kgen): ..here.
173 * Makefile.in: Regenerate.
177 * z8k-opc.h: Regenerate.
181 * ia64-dis.c (print_insn_ia64): Update code to use renamed member.
182 * m88k-dis.c (m88kdis): Rename variable class to in_class.
183 * tic80-opc.c (tic80_symbol_to_value, tic80_value_to_symbol):
184 Rename argument class to symbol_class.
188 * bfin-dis.c (decode_pseudodbg_assert_0): Change according
189 to the new encoding of DBGA, DBGAH, and DBGAL.
190 (_print_insn_bfin): Likewise.
194 * bfin-dis.c (_print_insn_bfin): Don't declare.
195 (print_insn_bfin): Don't declare.
196 (dregs_pair): Remove.
197 (ignore_bits): Remove.
202 * bfin-dis.c (IS_DREG): Define.
208 (decode_REGMV_0): Check illegal register move instructions.
212 * Makefile.am (BUILD_LIBINTL): New variable.
213 (i386-gen$(EXEEXT_FOR_BUILD)): Use it.
214 (ia64-gen$(EXEEXT_FOR_BUILD)): And here.
215 (z8kgen$(EXEEXT_FOR_BUILD)): And here.
216 * Makefile.in: Regenerate.
220 * mep-asm.c: Regenerate.
221 * mep-desc.c: Regenerate.
222 * mep-opc.c: Regenerate.
226 * makefile.vms: Ported to Itanium VMS. Remove useless targets and
227 dependencies. Remove unused FORMAT variable.
228 * configure.com: New file to create build.com DCL script for
229 Itanium VMS or Alpha VMS.
233 * cris-dis.c (bytes_to_skip): Update code to use new name.
234 * i386-dis.c (putop): Update code to use new name.
235 * i386-gen.c (process_i386_opcodes): Update code to use
237 * i386-opc.h (struct template): Rename struct template to
238 insn_template. Update code accordingly.
239 * i386-tbl.h (i386_optab): Update type to use new name.
240 * ia64-dis.c (print_insn_ia64): Rename variable template
242 * tic30-dis.c (struct instruction, get_tic30_instruction):
243 Update code to use new name.
244 * tic54x-dis.c (has_lkaddr, get_insn_size)
245 (print_parallel_instruction, print_insn_tic54x, tic54x_get_insn):
246 Update code to use new name.
247 * tic54x-opc.c (tic54x_unknown_opcode, tic54x_optab):
248 Update type to new name.
249 * z8kgen.c (internal, gas): Rename variable new to new_op.
253 * Makefile.am (COMPILE_FOR_BUILD): Remove BUILD_CPPFLAGS.
254 Replace BUILD_CFLAGS with CFLAGS_FOR_BUILD.
255 (LINK_FOR_BUILD): Replace BUILD_CFLAGS/BUILD_LDFLAGS with
256 CFLAGS_FOR_BUILD/LDFLAGS_FOR_BUILD.
257 * Makefile.in: Regenerated.
261 * Makefile.am (bfdlibdir, bfdincludedir): Move definition ...
262 [INSTALL_LIBBFD]: ... here, ...
263 [INSTALL_LIBBFD]: ... and empty overrides here.
264 [!INSTALL_LIBBFD]: (rpath_bfdlibdir): New variable.
265 [!INSTALL_LIBBFD] (libbfd_la_LDFLAGS): Use it.
266 * Makefile.in: Regenerate.
267 * configure: Regenerate.
271 * m68k-dis.c (print_insn_arg): Add movecr register names for
272 coldfire v4e families.
276 * Makefile.am (SUBDIRS): Build '.' before 'po'.
277 (COMPILE_FOR_BUILD, LINK_FOR_BUILD, BUILD_LIBIBERTY)
278 (MOSTLYCLEANFILES, MAINTAINERCLEANFILES): New variables.
279 (i386-gen$(EXEEXT_FOR_BUILD)): Renamed from i386-gen, rewrite
280 using *BUILD variables, depend upon $(BUILD_LIBIBERTY).
281 (i386-gen.o): New rule.
282 ($(srcdir)/i386-init.h): Adjust.
283 (i386-opc.lo): Depend on $(srcdir)/i386-tbl.h.
284 (ia64-gen$(EXEEXT_FOR_BUILD)): Rename from ia64-gen, adjust likewise.
285 (ia64-gen.o): New rule.
286 (ia64_asmtab_deps): New variable.
287 ($(srcdir)/ia64-asmtab.c): Use it; adjust likewise.
288 (ia64-opc.lo): Depend on $(srcdir)/ia64-asmtab.c.
289 (s390-mkopc$(EXEEXT_FOR_BUILD)): Rename from s390-mkopc, adjust
291 (s390-opc.tab): Adjust.
292 (z8kgen$(EXEEXT_FOR_BUILD), z8kgen.o, $(srcdir)/z8k-opc.h): New
294 (z8k-dis.lo): Depend on $(srcdir)/z8k-opc.h.
295 * Makefile.in: Regenerate.
296 * z8kgen.c (gas): Avoid '/*' in comment.
297 * z8k-opc.h (func): Regenerate.
301 * Makefile.am (TARGET_LIBOPCODES_CFILES): New variable, taken
302 from $(CFILES), sorted, with dis-buf.c, dis-init.c, disassemble.c,
303 i386-gen.c, ia64-opc-a.c, ia64-opc-b.c, ia64-opc-f.c, ia64-opc-i.c,
304 ia64-opc-m.c, ia64-opc-d.c, ia64-gen.c, ia64-asmtab.c removed, and
306 (LIBOPCODES_CFILES): New variable, adding to
307 TARGET_LIBOPCODES_CFILES also non-target library sources.
308 (CFILES): Factorize based on $(LIBOPCODES_CFILES), adding generator
310 (ALL_MACHINES): Factorize based on $(TARGET_LIBOPCODES_CFILES).
311 (EXTRA_libopcodes_la_SOURCES): Use $(LIBOPCODES_CFILES).
312 * Makefile.in: Regenerate.
313 * po/POTFILES.in: Regenerate.
317 * Makefile.am (libopcodes_la_LDFLAGS): Initialize early.
318 [INSTALL_LIBBFD] (bfdlib_LTLIBRARIES): Set only in this condition.
319 [INSTALL_LIBBFD] (bfdinclude_DATA): New.
320 [!INSTALL_LIBBFD] (noinst_LTLIBRARIES): New.
321 [!INSTALL_LIBBFD] (libopcodes_la_LDFLAGS): Ensure libopcodes.la
322 is built shared even if it is not to be installed.
323 (install-bfdlibLTLIBRARIES,uninstall-bfdlibLTLIBRARIES)
324 (install_libopcodes, uninstall_libopcodes): Remove.
325 (AM_CPPFLAGS): Renamed from ...
326 (INCLUDES): ... this.
327 * Makefile.in: Regenerate.
329 * Makefile.am (AUTOMAKE_OPTIONS): Remove 1.9 and cygnus, add
330 1.11, foreign, no-dist.
331 (MKDEP, m32c_opc_h): Remove variables.
332 (disassemble.lo): Rewrite using automake-style dependency
333 tracking rules; only list the dependency upon the primary source
334 file, but no included headers.
335 (m32c-asm.lo, m32c-desc.lo, m32c-dis.lo, m32c-ibld.lo, m32c-opc.lo)
336 (i386-gen.o, ia64-gen.o): Remove dependency statements.
337 (EXTRA_libopcodes_la_SOURCES): New variable, list $(CFILES) to
338 ensure all dependency fragments are included in the Makefile.
339 (s390-opc.lo): Depend on s390-opc.tab.
340 (DEP, DEP1, dep.sed, dep, dep-in, dep-am): Remove rules.
341 (mkdep section): Remove.
342 * Makefile.in: Regenerate.
343 * po/POTFILES.in: Regenerate.
345 * Makefile.am (install-pdf, install-html): Remove.
346 * Makefile.in: Regenerate.
348 * Makefile.in: Regenerate.
349 * aclocal.m4: Likewise.
350 * config.in: Likewise.
351 * configure: Likewise.
355 * Makefile.am: Add microblaze-opc.h to HFILES, microblaze-dis.c to
356 CFILES, microblaze-dis.lo to ALL_MACHINES, targets.
357 * Makefile.in: Regenerate.
358 * configure.in: Add bfd_microblaze_arch target.
359 * configure: Regenerate.
360 * disassemble.c: Define ARCH_microblaze, return
361 print_insn_microblaze().
362 * microblaze-dis.c: New MicroBlaze disassembler.
363 * microblaze-opc.h: New MicroBlaze opcode definitions.
364 * microblaze-opcm.h: New MicroBlaze opcode types.
368 * configure.in: Handle bfd_l1om_arch.
369 * disassemble.c (disassembler): Likewise.
371 * configure: Regenerated.
373 * i386-dis.c (print_insn): Handle bfd_mach_l1om and
374 bfd_mach_l1om_intel_syntax. Use 8 bytes per line for Intel L1OM.
376 * i386-gen.c (cpu_flag_init): Set CPU_UNKNOWN_FLAGS to ~CpuL1OM.
378 (cpu_flags): Add CpuL1OM.
379 (set_bitfield): Take an argument to set the value field.
380 (process_i386_cpu_flag): Support ~CpuXXX and ~(CpuXXX|CpuYYY).
381 (process_i386_opcode_modifier): Updated.
382 (process_i386_operand_type): Likewise.
383 * i386-init.h: Regenerated.
384 * i386-tbl.h: Likewise.
386 * i386-opc.h (CpuL1OM): New.
388 (i386_cpu_flags): Add cpul1om.
392 * i386-dis.c (fgrps): Correct annotation for feni/fdisi. Add
394 * i386-gen.c (cpu_flag_init): Add FP enabling flags where needed.
395 (cpu_flags): Add Cpu8087, Cpu287, Cpu387, Cpu687, and CpuFISTTP.
396 (set_bitfield): Expand CpuFP to Cpu8087|Cpu287|Cpu387.
397 * i386-opc.h (Cpu8087, Cpu287, Cpu387, Cpu687, CpuFISTTP):
399 (union i386_cpu_flags): Add cpu8087, cpu287, cpu387, cpu687,
401 * i386-opc.tbl: Qualify floating point instructions by their
402 respective CpuXXX flag. Fix fucom{,p,pp}, fprem1, fsin, fcos,
403 and fsincos to be avilable only on 387. Fix fstsw ax to be
404 available only on 287+. Add f{,n}eni, f{,n}disi, f{,n}setpm,
406 * i386-init.h, i386-tbl.h: Regenerate.
411 * arm-dis.c (arm_opcodes): Catch non-zero bits 8-11 in register
412 offset or indexed based addressing mode 3.
417 * arm-dis.c (arm_opcodes): Catch illegal Addressing Mode 1
419 (arm_decode_shift): Catch illegal register based shifts.
420 (print_insn_arm): Properly handle negative register r0
421 post-indexed addressing.
425 * arm-disc.c (print_insn_coprocessor, print_insn_arm): Print only
426 lower 32 bits of long types to make hexadecimal output consistent
427 on both 32-bit and 64-bit hosts.
431 * fr30-desc.c, * fr30-desc.h, * fr30-opc.c, * fr30-opc.h,
432 * frv-desc.c, * frv-desc.h, * frv-opc.c, * frv-opc.h,
433 * ip2k-desc.c, * ip2k-desc.h, * ip2k-opc.c, * ip2k-opc.h,
434 * iq2000-desc.c, * iq2000-desc.h, * iq2000-opc.c, * iq2000-opc.h,
435 * lm32-desc.c, * lm32-desc.h, * lm32-opc.c, * lm32-opc.h,
436 * lm32-opinst.c, * m32c-desc.c, * m32c-desc.h, * m32c-opc.c,
437 * m32c-opc.h, * m32r-desc.c, * m32r-desc.h, * m32r-opc.c,
438 * m32r-opc.h, * m32r-opinst.c, * mt-desc.c, * mt-desc.h,
439 * mt-opc.c, * mt-opc.h, * openrisc-desc.c, * openrisc-desc.h,
440 * openrisc-opc.c, * openrisc-opc.h, * xc16x-desc.c, * xc16x-desc.h,
441 * xc16x-opc.c, * xc16x-opc.h, * xstormy16-desc.c, * xstormy16-desc.h,
442 * xstormy16-opc.c, * xstormy16-opc.h: Regenerate.
446 * arm-dis.c (coprocessor_opcodes): Fix mask for waddbhus.
451 * arm-dis.c (arm_opcodes): Be more strict about decoding scaled
456 * mep-desc.c: Regenerate.
457 * mep-desc.h: Regenerate.
458 * mep-opc.c: Regenerate.
459 * mep-opc.h: Regenerate.
463 * i386-opc.h (CpuFMA4): Add CpuFMA4.
464 (i386_cpu_flags): New.
465 * i386-gen.c: Add CPU_FMA4_FLAGS.
466 * i386-opc.tbl: Add FMA4 instructions.
467 * i386-tbl.h: Regenerate.
468 * i386-init.h: Regenerate.
469 * i386-dis.c (OP_VEX_FMA): New. Handle FMA4.
470 (OP_XMM_VexW): Ditto.
472 (VEXI4_Fixup): Ditto.
473 (VexI4, VexFMA, Vex128FMA, EXVexW, EXdVexW, XMVexW): New Macros.
474 (PREFIX_VEX_3A5C, PREFIX_VEX_3A5D, PREFIX_VEX_3A5E): New.
475 (PREFIX_VEX_3A5F, PREFIX_VEX_3A60): New.
476 (PREFIX_VEX_3A68, PREFIX_VEX_3A69, PREFIX_VEX_3A6A): New.
477 (PREFIX_VEX_3A6B, PREFIX_VEX_3A6C, PREFIX_VEX_3A6D): New.
478 (PREFIX_VEX_3A6E, PREFIX_VEX_3A6F, PREFIX_VEX_3A7A): New.
479 (PREFIX_VEX_3A7B, PREFIX_VEX_3A7C, PREFIX_VEX_3A7D): New.
480 (PREFIX_VEX_3A7E, PREFIX_VEX_3A7F): New.
481 (VEX_LEN_3A6A_P_2,VEX_LEN_3A6B_P_2, VEX_LEN_3A6E_P_2): New.
482 (VEX_LEN_3A6F_P_2,VEX_LEN_3A7A_P_2, VEX_LEN_3A7B_P_2): New.
483 (VEX_LEN_3A7E_P_2,VEX_LEN_3A7F_P_2): New.
484 (get_vex_imm8): New. handle FMA4.
485 (OP_EX_VexReg): Ditto.
490 * arm-dis.c (coprocessor): Print the LDC and STC versions of the
491 LFM and SFM instructions as comments,.
492 Improve consistency of formatting for instructions displayed as
493 comments and decimal values displayed with their hexadecimal
500 * arm-dis.c (enum opcode_sentinels): New: Used to mark the
501 boundary between variaant and generic coprocessor instuctions.
502 (coprocessor): Use it.
503 Fix architecture version of MCRR and MRRC instructions.
504 (arm_opcdes): Fix patterns for STRB and STRH instructions.
505 (print_insn_coprocessor): Check architecture and extension masks.
506 Print a hexadecimal version of any decimal constant that is
507 outside of the range of -16 to +32.
508 (print_arm_address): Add a return value of the offset used in the
509 adress, if it is worth printing a hexadecimal version of it.
510 (print_insn_neon): Print a hexadecimal version of any decimal
511 constant that is outside of the range of -16 to +32.
512 (print_insn_arm): Likewise.
513 (print_insn_thumb16): Likewise.
514 (print_insn_thumb32): Likewise.
517 * arm-dis.c (UNDEFINED_INSTRUCTION): New macro for a description
518 of an undefined instruction.
519 (arm_opcodes): Use it.
520 (thumb_opcod): Use it.
521 (thumb32_opc): Use it.
525 * mep-desc.c: Regenerate.
526 * mep-desc.h: Regenerate.
527 * mep-dis.c: Regenerate.
528 * mep-ibld.c: Regenerate.
529 * mep-opc.c: Regenerate.
531 * mep-asm.c: Regenerate.
532 * mep-opc.c: Regenerate.
533 * mep-opc.h: Regenerate.
537 * po/fi.po: Updated Finish translation.
541 * m32c-asm.c: Regenerate.
545 * score-dis.c (print_insn_score48, print_insn_score32): Move default
546 case label to proper lexical block.
547 * score7-dis.c (print_insn_score32): Likewise.
551 * s390-opc.c (INSTR_RR_0R_OPT, INSTR_RX_0RRD_OPT, MASK_RR_0R_OPT,
552 MASK_RX_0RRD_OPT): New instruction formats with optional arguments.
553 * s390-opc.txt (nopr, nop): Use new instruction format.
558 * arm-dis.c (print_insn_coprocessor): Check that a user specified
559 ARM architecture supports the matched instruction.
560 (print_insn_arm): Likewise.
561 (select_arm_features): New function. Fills in the fields of an
562 arm_feature_set structure based on a given arm machine number.
563 (print_insn): Initialise an arm_feature_set structure.
567 * vax-dis.c (is_function_entry): Return success for synthetic
569 (is_plt_tail): New function.
570 (print_insn_vax): Decode PLT entry offset longword.
575 * arm-dis.c (thumb32_opcodes): Fix binary value of SEV.W
579 * cr16-dis.c (print_arg): Avoid printing the 0x prefix twice.
584 * arm-dis.c (print_insn): Ignore is_data if the user has requested
585 the disassembly of data as well as instructions.
589 * cgen.sh: Handle multiple simultaneous runs for parallel makes.
593 * moxie-opc.c (moxie_form1_opc_info): Remove branch instructions.
594 (moxie_form3_opc_info): Add branch instructions.
595 * moxie-dis.c (print_insn_moxie): Disassemble MOXIE_F3_PCREL
596 encoded instructions.
600 * moxie-opc.c: Recode some MOXIE_F1_4 opcodes as MOXIE_F1_M.
601 * moxie-dis.c (print_insn_moxie): Handle MOXIE_F1_M case.
605 * dep-in.sed: Don't use \n in replacement part of s command.
606 * Makefile.am (DEP1): LC_ALL for uniq.
607 * Makefile.in: Regenerate.
611 * po/nl.po: Updated Dutch translation.
615 * ia64-gen.c (parse_resource_users, print_dependency_table,
616 add_dis_table_ent, finish_distable, insert_bit_table_ent,
617 add_dis_entry, compact_distree, gen_dis_table, completer_entries_eq,
618 get_prefix_len, compute_completer_bits, insert_opcode_dependencies,
619 insert_completer_entry, print_completer_entry, print_completer_table,
620 opcodes_eq, add_opcode_entry, shrink): Use ISO C syntax for functions.
624 * mep-asm.c: Regenerate.
625 * mep-desc.c: Regenerate.
629 * mep-asm.c: Regenerate.
630 * mep-desc.c: Regenerate.
631 * mep-desc.h: Regenerate.
632 * mep-dis.c: Regenerate.
633 * mep-ibld.c: Regenerate.
634 * mep-opc.c: Regenerate.
635 * mep-opc.h: Regenerate.
639 * po/id.po: Updated Indonesian translation.
640 * po/opcodes.pot: Updated template file.
644 * dep-in.sed: Don't modify .o to .lo here. Output one filename
645 per line with all lines having continuation backslash. Prefix
646 first line with "A", following lines with "B".
647 * Makefile.am (DEP): Don't use dep.sed here.
648 (DEP1): Run $MKDEP on single files, modify .o to .lo here. Use
649 dep.sed here on dependencies, sort and uniq.
650 * Makefile.in: Regenerate.
654 * makefile.vms (OPT): New variable.
655 (CFLAGS): Update compilation flags.
659 * mep-asm.c: Regenerate.
660 * mep-desc.c: Regenerate.
661 * mep-desc.h: Regenerate.
662 * mep-dis.c: Regenerate.
663 * mep-ibld.c: Regenerate.
664 * mep-opc.c: Regenerate.
665 * mep-opc.h: Regenerate.
669 * i386-opc.h (Cpusse5): Delete.
670 (i386_cpu_flags): Delete.
671 * i386-gen.c: Remove CpuSSE5, Drex, Drexv and Drexc.
672 * i386-opc.tbl: Remove SSE5 instructions.
673 * i386-tbl.h: Regenerate.
674 * i386-init.h: Regenerate.
675 * i386-dis.c (OP_E_memeory, OP_E_extended): Remove drex handling.
676 (print_drex_arg): Delete.
679 (OP_DREX_ICMP): Delete.
680 (OP_DREX_FCMP): Delete.
682 (THREE_BYTE_0F24, THREE_BYTE_0F25, THREE_BYTE_0f7B): Delete.
686 * Makefile.am: Run "make dep-am".
687 * Makefile.in: Regenerate.
688 * po/POTFILES.in: Regenerate.
692 * mep-asm.c: Regenerate.
693 * mep-opc.c: Regenerate.
697 * mep-asm.c: Regenerate.
698 * mep-desc.c: Regenerate.
699 * mep-desc.h: Regenerate.
700 * mep-dis.c: Regenerate.
701 * mep-ibld.c: Regenerate.
702 * mep-opc.c: Regenerate.
703 * mep-opc.h: Regenerate.
707 * mep-desc.c: Regenerate.
708 * mep-ibld.c: Regenerate.
709 * mep-opc.c: Regenerate.
710 * mep-opc.h: Regenerate.
714 * moxie-opc.c, moxie-dis.c: Created.
715 * Makefile.am: Build the moxie source files.
716 * configure.in: Add moxie support.
717 * Makefile.in, configure: Rebuilt.
718 * disassemble.c (disassembler): Add moxie support.
719 (ARCH_moxie): Define.
723 * i386-opc.tbl (protb, protw, protd, protq): Set opcode
725 (pshab, pshaw, pshad, pshaq): Likewise.
726 * i386-tbl.h: Re-generate.
730 * mep-asm.c: Regenerate.
731 * mep-desc.c: Regenerate.
732 * mep-desc.h: Regenerate.
733 * mep-dis.c: Regenerate.
734 * mep-ibld.c: Regenerate.
735 * mep-opc.c: Regenerate.
736 * mep-opc.h: Regenerate.
740 * ppc-opc.c (powerpc_opcodes) <"tlbilxlpid", "tlbilxpid", "tlbilxva",
741 "tlbilx">: Use secondary opcode "18" as per the ISA 2.06 documentation.
742 Reorder entries so the extended mnemonics are listed before tlbilx.
746 * ppc-dis.c (powerpc_init_dialect): Do not choose a default dialect
748 (print_insn_powerpc): Make sure we only deprecate instructions using
749 the original dialect and not a modified dialect due to -Many handling.
750 Move the handling of the condition register and default operands to
751 the end of the if/else if/else chain.
752 * ppc-opc.c (powerpc_opcodes): Reorder the opcode table so that
753 instructions from newer processors are listed before older ones.
754 <"icblce", "sync", "eieio", "tlbld">: Deprecate for processors
755 that have instructions with conflicting opcodes.
759 * ppc-opc.c (powerpc_opcodes) <"dcbzl">: Merge the POWER4 and
764 * arm-dis.c (print_insn): Print BE8 opcodes in little endianness.
768 * arm-dis.c (print_insn): Also check section matches in backwards
769 search for mapping symbol.
773 * i386-dis.c (get_valid_dis386): Abort on unhandled table.
777 * cgen-opc.c: Include alloca-conf.h rather than alloca.h.
778 * Makefile.am: Run "make dep-am".
779 * Makefile.in: Regenerate.
780 * openrisc-opc.c: Regenerate.
784 * po/id.po: Updated Indonesian translation.
788 * ppc-dis.c: Include "opintl.h".
789 (struct ppc_mopt, ppc_opts): New.
790 (ppc_parse_cpu): New function.
791 (powerpc_init_dialect): Use it.
792 (print_ppc_disassembler_options): Dump options from ppc_opts.
793 Internationalize message.
797 * po/es.po: Updated Spanish translation.
802 * configure.in: Test for ld --as-needed support. Link shared
803 libopcodes against libm.
804 * configure: Regenerate.
808 * ppc-opc.c (powerpc_opcodes): Reorder the opcode table so that
809 instructions from newer processors are listed before older ones.
813 * Makefile.am: Run "make dep-am".
814 (HFILES): Move lm32-desc.h and lm32-opc.h from..
816 * Makefile.in: Regenerate.
820 * score7-dis.c: New file.
821 * Makefile.am: Add dependencies for score7-dis.c.
822 * Makefile.in: Regenerate.
823 * configure.in: Add score7-dis to score files.
824 * configure: Regenerate.
825 * score-dis.c: Add support for score7 architecture.
826 * score-opc.h: Likewise.
830 * configure: Regenerate.
834 * i386-dis.c (OP_EX): Call OP_E_memory instead of OP_E.
838 * ppc-dis.c (powerpc_init_dialect): Extend -Mpower7 to disassemble
839 the power7 and the isel instructions.
840 * ppc-opc.c (insert_xc6, extract_xc6): New static functions.
841 (insert_dm, extract_dm): Likewise.
842 (XB6): Update comment to include XX2 form.
843 (WC, XC6, SHW, DMEX, UIM, XX2, XX3RC, XX4, XX2_MASK, XX2UIM_MASK,
844 XX2BF_MASK, XX3BF_MASK, XX3SHW_MASK, XX4_MASK, XWC_MASK, POWER7): New.
845 (RemoveXX3DM): Delete.
846 (powerpc_opcodes): <"lfdp", "lfdpx", "mcrxr", "mftb", "mffgpr",
847 "mftgpr">: Deprecate for POWER7.
848 <"fres", "fres.", "frsqrtes", "frsqrtes.", "fre", "fre.", "frsqrte",
849 "frsqrte.">: Deprecate the three operand form and enable the two
850 operand form for POWER7 and later.
851 <"wait">: Extend to accept optional parameter. Enable for POWER7.
852 <"waitsrv", "waitimpl">: Add extended opcodes.
853 <"ldbrx", "stdbrx">: Enable for POWER7.
854 <"cdtbcd", "cbcdtd", "addg6s">: Add POWER6 opcodes.
855 <"bpermd", "dcbtstt", "dcbtt", "dcffix.", "dcffix", "divde.", "divde",
856 "divdeo.", "divdeo", "divdeu.", "divdeu", "divdeuo.", "divdeuo",
857 "divwe.", "divwe", "divweo.", "divweo", "divweu.", "divweu", "divweuo.",
858 "divweuo", "fcfids.", "fcfids", "fcfidu.", "fcfidu", "fcfidus.",
859 "fcfidus", "fctidu.", "fctidu", "fctiduz.", "fctiduz", "fctiwu.",
860 "fctiwu", "fctiwuz.", "fctiwuz", "ftdiv", "ftsqrt", "lbarx", "lfiwzx",
861 "lharx", "popcntd", "popcntw", "stbcx.", "sthcx.">: Add POWER7 opcodes.
862 <"lxsdux", "lxsdx", "lxvdsx", "lxvw4ux", "lxvw4x", "stxsdux", "stxsdx",
863 "stxvw4ux", "stxvw4x", "xsabsdp", "xsadddp", "xscmpodp", "xscmpudp",
864 "xscpsgndp", "xscvdpsp", "xscvdpsxds", "xscvdpsxws", "xscvdpuxds",
865 "xscvdpuxws", "xscvspdp", "xscvsxddp", "xscvuxddp", "xsdivdp",
866 "xsmaddadp", "xsmaddmdp", "xsmaxdp", "xsmindp", "xsmsubadp",
867 "xsmsubmdp", "xsmuldp", "xsnabsdp", "xsnegdp", "xsnmaddadp",
868 "xsnmaddmdp", "xsnmsubadp", "xsnmsubmdp", "xsrdpi", "xsrdpic",
869 "xsrdpim", "xsrdpip", "xsrdpiz", "xsredp", "xsrsqrtedp", "xssqrtdp",
870 "xssubdp", "xstdivdp", "xstsqrtdp", "xvabsdp", "xvabssp", "xvadddp",
871 "xvaddsp", "xvcmpeqdp.", "xvcmpeqdp", "xvcmpeqsp.", "xvcmpeqsp",
872 "xvcmpgedp.", "xvcmpgedp", "xvcmpgesp.", "xvcmpgesp", "xvcmpgtdp.",
873 "xvcmpgtdp", "xvcmpgtsp.", "xvcmpgtsp", "xvcpsgnsp", "xvcvdpsp",
874 "xvcvdpsxds", "xvcvdpsxws", "xvcvdpuxds", "xvcvdpuxws", "xvcvspdp",
875 "xvcvspsxds", "xvcvspsxws", "xvcvspuxds", "xvcvspuxws", "xvcvsxddp",
876 "xvcvsxdsp", "xvcvsxwdp", "xvcvsxwsp", "xvcvuxddp", "xvcvuxdsp",
877 "xvcvuxwdp", "xvcvuxwsp", "xvdivdp", "xvdivsp", "xvmaddadp",
878 "xvmaddasp", "xvmaddmdp", "xvmaddmsp", "xvmaxdp", "xvmaxsp",
879 "xvmindp", "xvminsp", "xvmovsp", "xvmsubadp", "xvmsubasp", "xvmsubmdp",
880 "xvmsubmsp", "xvmuldp", "xvmulsp", "xvnabsdp", "xvnabssp", "xvnegdp",
881 "xvnegsp", "xvnmaddadp", "xvnmaddasp", "xvnmaddmdp", "xvnmaddmsp",
882 "xvnmsubadp", "xvnmsubasp", "xvnmsubmdp", "xvnmsubmsp", "xvrdpi",
883 "xvrdpic", "xvrdpim", "xvrdpip", "xvrdpiz", "xvredp", "xvresp",
884 "xvrspi", "xvrspic", "xvrspim", "xvrspip", "xvrspiz", "xvrsqrtedp",
885 "xvrsqrtesp", "xvsqrtdp", "xvsqrtsp", "xvsubdp", "xvsubsp", "xvtdivdp",
886 "xvtdivsp", "xvtsqrtdp", "xvtsqrtsp", "xxland", "xxlandc", "xxlnor",
887 "xxlor", "xxlxor", "xxmrghw", "xxmrglw", "xxsel", "xxsldwi", "xxspltd",
888 "xxspltw", "xxswapd">: Add VSX opcodes.
892 * i386-gen.c (operand_type_init): Remove OPERAND_TYPE_VEX_IMM4.
893 (operand_types): Remove Vex_Imm4.
895 * i386-opc.h (Vex_Imm4): Removed.
897 (i386_operand_type): Remove vex_imm4.
899 * i386-opc.tbl: Remove Vex_Imm4 comments.
900 * i386-init.h: Regenerated.
901 * i386-tbl.h: Likewise.
905 * arm-dis.c (neon_opcodes): Correct bit-mask and patterns for
906 vq{r}shr{u}n.s64 insnstructions.
910 * ppc-opc.c (powerpc_opcodes) <"lfdepx", "stfdepx">: Fix the first
911 operand to be a float point register (FRT/FRS).
915 * mips-opc.c (mips_builtin_opcodes): Move the Octeon-specific
916 dmfc2 and dmtc2 before the architecture-level variants.
920 * fr30-opc.c: Regenerate.
921 * frv-opc.c: Regenerate.
922 * ip2k-opc.c: Regenerate.
923 * iq2000-opc.c: Regenerate.
924 * lm32-opc.c: Regenerate.
925 * m32c-opc.c: Regenerate.
926 * m32r-opc.c: Regenerate.
927 * mep-opc.c: Regenerate.
928 * mt-opc.c: Regenerate.
929 * xc16x-opc.c: Regenerate.
930 * xstormy16-opc.c: Regenerate.
931 * tic54x-dis.c (print_instruction): Avoid compiler warning on
936 * m68k-opc.c (m68k_opcodes): Add stldsr instruction.
940 * ppc-opc.c: Update copyright year.
941 (powerpc_opcodes) <"dcbt", "dcbtst">: Deprecate the Embedded operand
942 ordering for POWER4 and later and use the correct Server ordering.
946 AVX Programming Reference (January, 2009)
947 * i386-dis.c (PREFIX_VEX_3A44): New.
948 (VEX_LEN_3A44_P_2): Likewise.
949 (PREFIX_VEX_3A48): Updated.
950 (VEX_LEN_3A4C_P_2): Likewise.
951 (prefix_table): Add PREFIX_VEX_3A44.
952 (vex_table): Likewise.
953 (vex_len_table): Add VEX_LEN_3A44_P_2.
955 * i386-opc.tbl: Add PCLMUL + AVX instructions.
956 * i386-tbl.h: Regenerated.
960 * mips-dis.c (mips_cp0_names_xlr, mips_cp0sel_names_xlr): Define.
961 (mips_arch_choices): Add XLR entry.
962 * mips-opc.c (XLR): Define.
963 (mips_builtin_opcodes): Add XLR instructions.
967 * Makefile.am: Add install-pdf target.
968 * po/Make-in: Add install-pdf target.
969 * Makefile.in: Regenerate.
973 * mep-asm.c: Regenerate.
974 * mep-desc.c: Regenerate.
975 * mep-desc.h: Regenerate.
976 * mep-dis.c: Regenerate.
977 * mep-ibld.c: Regenerate.
978 * mep-opc.c: Regenerate.
979 * mep-opc.h: Regenerate.
983 * arm-dis.c (thumb32_opcodes): Correct decoding for qadd, qdadd,
988 * mips-opc.c (suxc1): Add the flag of FP_D.
992 * fr30-asm.c, fr30-dis.c, fr30-ibld.c, frv-asm.c, frv-dis.c,
993 * frv-ibld.c, ip2k-asm.c, ip2k-dis.c, ip2k-ibld.c,
994 * iq2000-asm.c, iq2000-dis.c, iq2000-ibld.c, m32c-asm.c,
995 * m32c-dis.c, m32c-ibld.c, m32r-asm.c, m32r-dis.c,
996 * m32r-ibld.c, mep-asm.c, mep-dis.c, mep-ibld.c, mt-asm.c,
997 * mt-dis.c, mt-ibld.c, openrisc-asm.c, openrisc-dis.c,
998 * openrisc-ibld.c, xc16x-asm.c, xc16x-dis.c, xc16x-ibld.c,
999 * xstormy16-asm.c, xstormy16-dis.c, xstormy16-ibld.c: Regenerate.
1003 * configure.in (commonbfdlib): Delete.
1004 (SHARED_LIBADD): Add pic libiberty if such is available.
1005 * configure: Regenerate.
1006 * po/POTFILES.in: Regenerate.
1010 * ppc-dis.c (print_insn_powerpc): Skip insn if it is deprecated.
1011 * ppc-opc.c (powerpc_opcodes) <mtfsf, mtfsf.>: Deprecate the two
1012 operand form and enable the four operand form for POWER6 and later.
1013 <mtfsfi, mtfsfi.>: Deprecate the two operand form and enable the
1014 three operand form for POWER6 and later.
1018 * bfin-dis.c (OUTS): Use "%s" as format string.
1022 * i386-gen.c (cpu_flag_init): Remove a white space.
1023 (operand_type_init): Likewise.
1027 * i386-opc.tbl: Add NoAVX to movnti, lfence and mfence.
1028 * i386-tbl.h: Regenerated.
1032 * i386-dis.c (dis386): Use EbS on addB, orB, adcB, sbbB, andB,
1033 subB, xorB and cmpB. Use EvS on addS, orS, adcS, sbbS, andS,
1034 subS, xorS and cmpS.
1038 * i386-gen.c (cpu_flag_init): Replace CpuP4 and CpuK6 with
1039 CpuClflush and CpuSYSCALL, respectively. Remove CpuK8. Add
1040 CPU_COREI7_FLAGS, CPU_CLFLUSH_FLAGS and CPU_SYSCALL_FLAGS.
1041 (cpu_flags): Remove CpuP4, CpuK6 and CpuK8. Add CpuClflush
1044 (set_bitfield): Take an argument, lineno. Don't report lineno
1045 on error if it is -1.
1046 (process_i386_cpu_flag): Take an argument, lineno.
1047 (process_i386_opcode_modifier): Likewise.
1048 (process_i386_operand_type): Likewise.
1049 (output_i386_opcode): Likewise.
1050 (opcode_hash_entry): Add lineno.
1051 (process_i386_opcodes): Updated.
1052 (process_i386_registers): Likewise.
1053 (process_i386_initializers): Likewise.
1055 * i386-opc.h (CpuP4): Removed.
1059 (CpuSYSCALL): Likewise.
1061 (i386_cpu_flags): Remove cpup4, cpuk6 and cpuk8. Add
1062 cpuclflush and cpusyscall.
1064 * i386-opc.tbl: Update movnti, clflush, lfence, mfence, pause,
1066 * i386-init.h: Regenerated.
1067 * i386-tbl.h: Likewise.
1071 * i386-gen.c (cpu_flag_init): Add CpuRdtscp to CPU_K8_FLAGS
1072 and CPU_AMDFAM10_FLAGS. Add CPU_RDTSCP_FLAGS.
1073 (cpu_flags): Add CpuRdtscp.
1074 (set_bitfield): Remove CpuSledgehammer check.
1076 * i386-opc.h (CpuRdtscp): New.
1078 (i386_cpu_flags): Add cpurdtscp.
1080 * i386-opc.tbl: Replace CpuSledgehammer with CpuRdtscp.
1081 * i386-init.h: Regenerated.
1082 * i386-tbl.h: Likewise.
1086 * ppc-opc.c (PPCNONE): Define.
1088 (powerpc_opcodes): Initialize the new "deprecated" field.
1092 AVX Programming Reference (December, 2008)
1093 * i386-dis.c (VEX_LEN_2B_M_0): Removed.
1094 (VEX_LEN_E7_P_2_M_0): Likewise.
1095 (VEX_LEN_2C_P_1): Updated.
1096 (VEX_LEN_E8_P_2): Likewise.
1097 (vex_len_table): Remove VEX_LEN_2B_M_0 and VEX_LEN_E7_P_2_M_0.
1098 (mod_table): Likewise.
1100 * i386-opc.tbl: Add 256bit vmovntdq, vmovntpd and vmovntps.
1101 * i386-tbl.h: Regenerated.
1105 * i386-gen.c (process_copyright): Update for 2009.
1107 * i386-init.h: Regenerated.
1108 * i386-tbl.h: Likewise.
1112 AVX Programming Reference (December, 2008)
1113 * i386-dis.c (OP_VEX_FMA): Removed.
1114 (OP_EX_VexW): Likewise.
1115 (OP_EX_VexImmW): Likewise.
1116 (OP_XMM_VexW): Likewise.
1117 (VEXI4_Fixup): Likewise.
1118 (VPERMIL2_Fixup): Likewise.
1121 (Vex128FMA): Likewise.
1123 (EXdVexW): Likewise.
1124 (EXqVexW): Likewise.
1125 (EXVexImmW): Likewise.
1127 (VPERMIL2): Likewise.
1128 (PREFIX_VEX_3A48...PREFIX_VEX_3A4A): Likewise.
1129 (PREFIX_VEX_3A5C...PREFIX_VEX_3A5F): Likewise.
1130 (PREFIX_VEX_3A68...PREFIX_VEX_3A6F): Likewise.
1131 (PREFIX_VEX_3A78...PREFIX_VEX_3A7F): Likewise.
1132 (VEX_LEN_3A6A_P_2...VEX_LEN_3A6F_P_2): Likewise.
1133 (VEX_LEN_3A7A_P_2...VEX_LEN_3A7F_P_2): Likewise.
1134 (get_vex_imm8): Likewise.
1135 (OP_EX_VexReg): Likewise.
1136 vpermil2_op): Likewise.
1138 (vex_w_dq_mode): Likewise.
1139 (PREFIX_VEX_3896...PREFIX_VEX_389F): Likewise.
1140 (PREFIX_VEX_38A6...PREFIX_VEX_38AF): Likewise.
1141 (PREFIX_VEX_38B6...PREFIX_VEX_38BF): Likewise.
1143 (PREFIX_VEX_38DB): Likewise.
1144 (PREFIX_VEX_3A4A): Likewise.
1145 (PREFIX_VEX_3A60): Likewise.
1146 (PREFIX_VEX_3ADF): Likewise.
1147 (VEX_LEN_3ADF_P_2): Likewise.
1148 (prefix_table): Remove PREFIX_VEX_3A48...PREFIX_VEX_3A4A,
1149 PREFIX_VEX_3A5C...PREFIX_VEX_3A5F,
1150 PREFIX_VEX_3A68...PREFIX_VEX_3A6F and
1151 PREFIX_VEX_3A78...PREFIX_VEX_3A7F. Add
1152 PREFIX_VEX_3896...PREFIX_VEX_389F,
1153 PREFIX_VEX_38A6...PREFIX_VEX_38AF and
1154 PREFIX_VEX_38B6...PREFIX_VEX_38BF.
1155 (vex_table): Likewise.
1156 (vex_len_table): Remove VEX_LEN_3A6A_P_2...VEX_LEN_3A6F_P_2
1157 and VEX_LEN_3A7A_P_2...VEX_LEN_3A7F_P_2.
1158 (putop): Support "%XW".
1159 (intel_operand_size): Handle vex_w_dq_mode.
1161 * i386-opc.h (VexNDS): Add a comment for VEX NDS and VEX DDS.
1163 * i386-opc.tbl: Remove vpermil2pd/vpermil2ps and old FMA
1164 instructions. Add new FMA instructions.
1165 * i386-tbl.h: Regenerated.
1169 * or32-opc.c (or32_print_register, or32_print_immediate,
1170 disassemble_insn): Don't rely on undefined sprintf behaviour.
1172 For older changes see ChangeLog-2008
1178 version-control: never