x86-64: Also optimize "clr reg64"
[deliverable/binutils-gdb.git] / gas / ChangeLog
index d9ea1a45cae6c9f2b3cfb0c77c54fdf22e2ab636..7c37f133e07b641cd34008347285bf7a91afbde3 100644 (file)
@@ -1,3 +1,10 @@
+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.
This page took 0.024808 seconds and 4 git commands to generate.