Use scoped_fd in more places
[deliverable/binutils-gdb.git] / gas / ChangeLog
index c36e14a44236f34e6272a27abd8d106809e077c5..0cf01085f0fa8ede2926cbe18691294f79e54722 100644 (file)
@@ -1,3 +1,71 @@
+2018-03-08  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (set_cpu_arch): Set cpu_arch_isa_flags.
+       (md_parse_option): Likewise.
+       (optimize_encoding): Check i.tm.cpu_flags and cpu_arch_isa_flags
+       for cpuavx512vl instead of cpu_arch_flags.  Optimize EVEX with
+       EVEX128 when EVEX encoding is required.
+       * testsuite/gas/i386/i386.exp: Run optimize-4, optimize-5,
+       x86-64-optimize-5 and x86-64-optimize-6.
+       * testsuite/gas/i386/optimize-1.d: Updated.
+       * testsuite/gas/i386/x86-64-optimize-2.d: Likewise.
+       * testsuite/gas/i386/optimize-4.d: New file.
+       * testsuite/gas/i386/optimize-4.s: Likewise.
+       * testsuite/gas/i386/optimize-5.d: Likewise.
+       * testsuite/gas/i386/optimize-5.s: Likewise.
+       * testsuite/gas/i386/x86-64-optimize-5.d: Likewise.
+       * testsuite/gas/i386/x86-64-optimize-5.s: Likewise.
+       * testsuite/gas/i386/x86-64-optimize-6.d: Likewise.
+       * testsuite/gas/i386/x86-64-optimize-6.s: Likewise.
+
+2018-03-08  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (optimize_encoding): Also encode "clr reg64"
+       as "xor reg32, reg32".
+       * testsuite/gas/i386/x86-64-optimize-1.s: Add "clr reg64" tests.
+       * testsuite/gas/i386/x86-64-optimize-1.d: Updated.
+
+2018-03-08  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * NEWS: Mention -mold-gcc removal.
+       * config/tc-i386.c (i386_error): Remove old_gcc_only.
+       (old_gcc): Removed.
+       (match_template): Remove old gcc support.
+       (OPTION_MOLD_GCC): Removed.
+       (OPTION_MRELAX_RELOCATIONS): Updated.
+       (md_longopts): Remove OPTION_MOLD_GCC.
+       (md_parse_option): Likewise.
+       (md_show_usage): Remove -mold-gcc.
+       * testsuite/gas/i386/general.s: Convert fsub/fdiv tests for old
+       (<= 2.8.1) versions of gcc.
+       * testsuite/gas/i386/intel.s: Likewise.
+       * testsuite/gas/i386/general.l: Updated.
+       * testsuite/gas/i386/intel-intel.d: Likewise.
+       * testsuite/gas/i386/intel.d: Likewise.
+       * testsuite/gas/i386/intel.e: Likewise.
+       * testsuite/gas/i386/i386.exp: Don't pass -mold-gcc to general.
+
+2018-03-08  Jan Beulich  <jbeulich@suse.com>
+
+       * config/tc-i386.c (is_evex_encoding): New.
+       (optimize_encoding, md_assemble, md_assemble,
+       VEX_check_operands, build_modrm_byte): Use is_evex_encoding.
+       (build_evex_prefix): Derive EVEX length field from actual
+       operands if the template allows multiple ones.
+
+2018-03-08  Jan Beulich  <jbeulich@suse.com>
+
+       * config/tc-i386.c (build_modrm_byte): Make VexNDD handling cope
+       with 3rd (immediate) operand.
+
+2018-03-08  Jan Beulich  <jbeulich@suse.com>
+
+       * config/tc-i386.c (XMMWORD_MNEM_SUFFIX, YMMWORD_MNEM_SUFFIX,
+       ZMMWORD_MNEM_SUFFIX): Delete.
+       (process_suffix): Drop their uses. Re-arrange final part of
+       logic into a switch() statement. Drop special casing of
+       cmpxchg8b.
+
 2018-03-08  Jan Beulich  <jbeulich@suse.com>
 
        * config/tc-i386.c (match_template): Also match register
This page took 0.035261 seconds and 4 git commands to generate.