[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/23025] inconsistent disassemble of vcvtpd2dq
From: |
hjl.tools at gmail dot com |
Subject: |
[Bug binutils/23025] inconsistent disassemble of vcvtpd2dq |
Date: |
Tue, 03 Apr 2018 22:53:16 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=23025
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2018-04-03
Assignee|unassigned at sourceware dot org |hjl.tools at gmail dot
com
Ever confirmed|0 |1
--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
I will fix it:
diff --git a/opcodes/i386-dis.c b/opcodes/i386-dis.c
index e5791c9a5f..2db38219f8 100644
--- a/opcodes/i386-dis.c
+++ b/opcodes/i386-dis.c
@@ -12874,6 +12874,7 @@ get_valid_dis386 (const struct dis386 *dp,
disassemble_info *info)
}
codep++;
vex.w = *codep & 0x80;
+ vex.b = 0;
if (address_mode == mode_64bit)
{
if (vex.w)
@@ -12930,6 +12931,7 @@ get_valid_dis386 (const struct dis386 *dp,
disassemble_info *info)
VEX.vvvv is 1. */
vex.register_specifier = (~(*codep >> 3)) & 0xf;
vex.w = 0;
+ vex.b = 0;
vex.length = (*codep & 0x4) ? 256 : 128;
switch ((*codep & 0x3))
{
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug binutils/23025] New: inconsistent disassemble of vcvtpd2dq, herumi at nifty dot com, 2018/04/03
- [Bug binutils/23025] inconsistent disassemble of vcvtpd2dq,
hjl.tools at gmail dot com <=
- [Bug binutils/23025] inconsistent disassemble of vcvtpd2dq, cvs-commit at gcc dot gnu.org, 2018/04/04
- [Bug binutils/23025] inconsistent disassemble of vcvtpd2dq, cvs-commit at gcc dot gnu.org, 2018/04/04
- [Bug binutils/23025] inconsistent disassemble of vcvtpd2dq, cvs-commit at gcc dot gnu.org, 2018/04/04
- [Bug binutils/23025] inconsistent disassemble of vcvtpd2dq, hjl.tools at gmail dot com, 2018/04/04
- [Bug binutils/23025] inconsistent disassemble of vcvtpd2dq, hjl.tools at gmail dot com, 2018/04/04
- [Bug binutils/23025] inconsistent disassemble of vcvtpd2dq, cvs-commit at gcc dot gnu.org, 2018/04/04