XCOFF disassembler
[deliverable/binutils-gdb.git] / gas / ChangeLog
index bb827aa280f1a7754e94a988e9677d0c1dfc79bd..ed7c5cd8426cb93b162fb4aa02323da307cd643d 100644 (file)
@@ -1,3 +1,226 @@
+2018-03-07  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/gas/ppc/aix.exp: Run for rs6000 too.
+       * testsuite/gas/ppc/ppc.exp: Run more tests for non-ELF targets.
+       * testsuite/gas/ppc/machine.d: Don't run for PE targets.
+
+2018-03-02  Thomas Preud'homme  <thomas.preudhomme@arm.com>
+
+       * config/tc-arm.c (md_begin): Add NULL pointer check before
+       dereferencing march_ext_opt.
+
+2018-03-01  Thomas Preud'homme  <thomas.preudhomme@arm.com>
+
+       * config/tc-arm.c (cpu_variant, arm_arch_used, thumb_arch_used,
+       legacy_cpu, legacy_fpu, mcpu_cpu_opt, dyn_mcpu_ext_opt,
+       mcpu_fpu_opt, march_cpu_opt, dyn_march_ext_opt, march_fpu_opt,
+       mfpu_opt, object_arch, selected_cpu): Comment meaning of variables.
+       (dyn_mcpu_ext_opt): Also rename into ...
+       (mcpu_ext_opt): This.
+       (dyn_march_ext_opt): Also rename into ...
+       (march_ext_opt): This.
+       (object_arch): Also rename into ...
+       (selected_object_arch): This and make it a plain arm_feature_set
+       structure.
+       (selected_arch, selected_ext, selected_fpu): New static variables.
+       (mark_feature_used): Fix comments, feature is marked as used iff it is
+       currently allowed.
+       (do_bx): Adapt to change in name and type of object_arch.
+       (md_begin): Set selected_arch rather than mcpu_cpu_opt, selected_ext
+       rather than dyn_mcpu_ext_opt and selected_fpu rather than mfpu_opt.
+       Remove dead code to set default FPU if architecture version is greater
+       than 5.  Set all CPU bits of cpu_variant directly in autodection
+       leaving mcpu_cpu_opt, selected_arch and selected_cpu unset.
+       (arm_parse_extension): Take extension feature set pointer parameter by
+       value rather than by pointer.  Remove allocation code.  Adapt code
+       accordingly.
+       (arm_parse_cpu): Adapt to variable renaming and changes in
+       arm_parse_extension () signature.
+       (arm_parse_arch): Likewise.
+       (aeabi_set_public_attributes): Also set selected_arch and selected_ext
+       in addition to selected_cpu.  Set flags_arch and flags_ext from them
+       instead of selected_cpu.  Adapt to variables renaming and type change.
+       (arm_md_post_relax): Adapt to variable renaming.
+       (s_arm_cpu): Set selcted_cpu_cpu and selected_ext instead of
+       mcpu_cpu_opt and dyn_mcpu_ext_opt.  Set selected_cpu from them and
+       cpu_variant from selected_cpu and selected_fpu.
+       (s_arm_arch): Likewise.
+       (s_arm_object_arch): Adapt to variable renaming.
+       (s_arm_arch_extension): Use ARM_CPU_IS_ANY instead of checking feature
+       set against arm_any.  Check selected_arch rather than *mcpu_cpu_opt.
+       Set selected_ext rather than *dyn_mcpu_ext_opt and remove allocation
+       code.
+       (s_arm_fpu): Set selected_fpu instead of mfpu_opt.  Set all CPU feature
+       bits if in autodetection mode.
+
+2018-03-01  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (optimize_encoding): Optimize AVX256 and
+       AVX512 vpsub[bwdq] instructions.
+       * testsuite/gas/i386/optimize-1.s: Add tests for AVX256 and
+       AVX512 vpsub[bwdq] instructions.
+       * testsuite/gas/i386/x86-64-optimize-2.s: Likewise.
+       * testsuite/gas/i386/optimize-1.d: Updated.
+       * testsuite/gas/i386/x86-64-optimize-2.d: Likewise.
+
+2018-03-01  Alan Modra  <amodra@gmail.com>
+
+       * configure.ac (ALL_LINGUAS): Add uk.  Sort.
+       * configure: Regenerate.
+
+2018-02-27  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * NEWS: Rename .nop to .nops.
+       * doc/as.texinfo: Likewise.
+       * read.c (potable): Add "nops".  Remove "nop".
+       (s_nop): Renamed to ...
+       (s_nops): This.
+       * read.h (s_nop): Renamed to ...
+       (s_nops): This.
+       * write.c (cvt_frag_to_fill): Rename .nop to .nops.
+       (md_generate_nops): Likewise.
+       (relax_segment): Likewise.
+       * testsuite/gas/i386/nop-1.d: Updated.
+       * testsuite/gas/i386/nop-1.s: Likewise.
+       * testsuite/gas/i386/nop-2.d: Likewise.
+       * testsuite/gas/i386/nop-2.s: Likewise.
+       * testsuite/gas/i386/nop-3.d: Likewise.
+       * testsuite/gas/i386/nop-3.s: Likewise.
+       * testsuite/gas/i386/nop-4.d: Likewise.
+       * testsuite/gas/i386/nop-4.s: Likewise.
+       * testsuite/gas/i386/nop-5.d: Likewise.
+       * testsuite/gas/i386/nop-5.s: Likewise.
+       * testsuite/gas/i386/nop-6.d: Likewise.
+       * testsuite/gas/i386/nop-6.s: Likewise.
+       * testsuite/gas/i386/nop-bad-1.l: Likewise.
+       * testsuite/gas/i386/nop-bad-1.s: Likewise.
+       * testsuite/gas/i386/x86-64-nop-1.d: Likewise.
+       * testsuite/gas/i386/x86-64-nop-2.d: Likewise.
+       * testsuite/gas/i386/x86-64-nop-3.d: Likewise.
+       * testsuite/gas/i386/x86-64-nop-4.d: Likewise.
+       * testsuite/gas/i386/x86-64-nop-5.d: Likewise.
+       * testsuite/gas/i386/x86-64-nop-6.d: Likewise.
+
+2018-02-27  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gas/22871
+       * NEWS: Mention -O[2|s].
+       * config/tc-i386.c (_i386_insn): Add no_optimize.
+       (optimize): New.
+       (optimize_for_space): Likewise.
+       (fits_in_imm7): New function.
+       (fits_in_imm31): Likewise.
+       (optimize_encoding): Likewise.
+       (md_assemble): Call optimize_encoding to optimize encoding.
+       (parse_insn): Handle {nooptimize}.
+       (md_shortopts): Append "O::".
+       (md_parse_option): Handle -On.
+       * doc/c-i386.texi: Document -O0, -O, -O1, -O2 and -Os as well
+       as {nooptimize}.
+       * testsuite/gas/cfi/cfi-x86_64.d: Pass -O0 to assembler.
+       * testsuite/gas/i386/ilp32/cfi/cfi-x86_64.d: Likewise.
+       * testsuite/gas/i386/i386.exp: Run optimize-1, optimize-2,
+       optimize-3, x86-64-optimize-1, x86-64-optimize-2,
+       x86-64-optimize-3 and x86-64-optimize-4.
+       * testsuite/gas/i386/optimize-1.d: New file.
+       * testsuite/gas/i386/optimize-1.s: Likewise.
+       * testsuite/gas/i386/optimize-2.d: Likewise.
+       * testsuite/gas/i386/optimize-2.s: Likewise.
+       * testsuite/gas/i386/optimize-3.d: Likewise.
+       * testsuite/gas/i386/optimize-3.s: Likewise.
+       * testsuite/gas/i386/x86-64-optimize-1.s: Likewise.
+       * testsuite/gas/i386/x86-64-optimize-1.d: Likewise.
+       * testsuite/gas/i386/x86-64-optimize-2.d: Likewise.
+       * testsuite/gas/i386/x86-64-optimize-2.s: Likewise.
+       * testsuite/gas/i386/x86-64-optimize-3.d: Likewise.
+       * testsuite/gas/i386/x86-64-optimize-3.s: Likewise.
+       * testsuite/gas/i386/x86-64-optimize-4.d: Likewise.
+       * testsuite/gas/i386/x86-64-optimize-4.s: Likewise.
+
+2018-02-27  Nick Clifton  <nickc@redhat.com>
+
+       * po/ru.po: Updated Russian translation.
+
+2018-02-26  Maciej W. Rozycki  <macro@mips.com>
+
+       * doc/as.texinfo (Pseudo Ops): Clean up `.dc' and `.ds'
+       descriptions.
+
+2018-02-26  Nick Clifton  <nickc@redhat.com>
+
+       * doc/as.texinfo (Dc): Fix typo.
+
+2018-02-26  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/gas/mips/reginfo-2.l: Update.
+
+2018-02-23  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/gas/mips/reginfo-2.l: Update.
+
+2018-02-23  Nick Clifton  <nickc@redhat.com>
+
+       * doc/as.texinfo (Pseudo Ops): Add nodes for .dc, .dcb and .ds.
+
+2018-02-23  Kuan-Lin Chen  <kuanlinchentw@gmail.com>
+
+       * config/tc-nds32.c (ict_model): New function. Hook new
+       directive .ict_model.
+       (nds32_insert_relax_entry): Tag the bits of entry relocation
+       for .ict_model.
+
+2018-02-22  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (_i386_insn): Add rex_encoding.
+       (md_assemble): When i.rex_encoding is true, generate a REX byte
+       if possible.
+       (parse_insn): Set i.rex_encoding for {rex}.
+       * doc/c-i386.texi: Document {rex}.
+       * testsuite/gas/i386/x86-64-pseudos.s: Add {rex} tests.
+       * testsuite/gas/i386/x86-64-pseudos.d: Updated.
+
+2018-02-22  A. Wilcox  <awilfox@adelielinux.org>
+
+       PR 22014
+       * config/tc-mips.c (mips_lookup_insn): Use memmove to strip the
+       instruction size suffix.
+
+2018-02-20  Maciej W. Rozycki  <macro@mips.com>
+
+       * testsuite/gas/mips/mips16-branch-reloc-4.d: New test.
+       * testsuite/gas/mips/mips16-branch-reloc-5.d: New test.
+       * testsuite/gas/mips/mips16-branch-reloc-4.s: New test source.
+       * testsuite/gas/mips/mips16-branch-reloc-5.s: New test source.
+       * testsuite/gas/mips/mips.exp: Run the new tests.
+
+2018-02-20  Max Filippov  <jcmvbkbc@gmail.com>
+
+       * config/tc-xtensa.c (struct litpool_frag): Add new field
+       literal_count.
+       (MAX_AUTO_POOL_LITERALS, MAX_EXPLICIT_POOL_LITERALS)
+       (MAX_POOL_LITERALS): New macro definitions.
+       (auto_litpool_limit): Initialize to 0.
+       (md_parse_option): Set auto_litpool_limit in the presence of
+       --auto-litpools option.
+       (xtensa_maybe_create_literal_pool_frag): Zero-initialize
+       literal_count field.
+       (xg_find_litpool): New function. Make sure that found literal
+       pool size is within the limit.
+       (xtensa_move_literals): Extract literal pool search code into
+       the new function.
+       * testsuite/gas/xtensa/all.exp: Add auto-litpools-2 test.
+       * testsuite/gas/xtensa/auto-litpools-2.d: New file.
+       * testsuite/gas/xtensa/auto-litpools-2.s: New file.
+       * testsuite/gas/xtensa/auto-litpools.d: Fix up changed
+       addresses.
+       * testsuite/gas/xtensa/auto-litpools.s: Change literal value so
+       that objdump doesn't get out of sync.
+
+2018-02-20  Thomas Preud'homme  <thomas.preudhomme@arm.com>
+
+       * doc/c-arm.texi (.arch_extension): Mention extensions it accepts are
+       also the same as -march.
+
 2018-02-17  H.J. Lu  <hongjiu.lu@intel.com>
 
        * NEWS: Mention .nop directive.
This page took 0.025711 seconds and 4 git commands to generate.