Re: x86: correct decoding of nop/reserved space (0f18 ... 0x1f)
authorAlan Modra <amodra@gmail.com>
Fri, 12 Mar 2021 00:06:49 +0000 (10:36 +1030)
committerAlan Modra <amodra@gmail.com>
Fri, 12 Mar 2021 00:11:34 +0000 (10:41 +1030)
* i386-dis.c (print_insn <PREFIX_IGNORED>): Correct typo.

opcodes/ChangeLog
opcodes/i386-dis.c

index 60a9c687250e615b1b92c8afb847d743806e3075..893a97548e5fe9d411a505476a6e0de35438833d 100644 (file)
@@ -1,3 +1,7 @@
+2021-03-12  Alan Modra  <amodra@gmail.com>
+
+       * i386-dis.c (print_insn <PREFIX_IGNORED>): Correct typo.
+
 2021-03-11  Jan Beulich  <jbeulich@suse.com>
 
        * i386-dis.c (OP_XMM): Re-order checks.
index 2985e8d4417e5a8ba4fd4fe015f78c9a656398b3..4e3304d4a4c12d948df436fb1d22210b53f74cea 100644 (file)
@@ -9783,7 +9783,7 @@ print_insn (bfd_vma pc, disassemble_info *info)
         origins in all_prefixes.  */
       used_prefixes &= ~PREFIX_OPCODE;
       if (last_data_prefix >= 0)
-       all_prefixes[last_repz_prefix] = 0x66;
+       all_prefixes[last_data_prefix] = 0x66;
       if (last_repz_prefix >= 0)
        all_prefixes[last_repz_prefix] = 0xf3;
       if (last_repnz_prefix >= 0)