commit | ce20459e162175710d8ef56118fc34edabfdce5e | [log] [tgz] |
---|---|---|
author | H.J. Lu <hjl.tools@gmail.com> | Tue Feb 15 09:00:17 2022 -0800 |
committer | H.J. Lu <hjl.tools@gmail.com> | Tue Feb 15 09:00:17 2022 -0800 |
tree | a4c34abf6a2d46aa15ead0f1f19cd2e012e9c453 | |
parent | 0b35f123c200522998a81335dc218551ca7b3d92 [diff] |
x86: Add has_sib to struct instr_info Add has_sib to struct instr_info and use SIB info only if ins->has_sib is true. PR binutils/28892 * i386-dis.c (instr_info): Add has_sib. (get_sib): Set has_sib. (OP_E_memory): Replace havesib with ins->has_sib. (OP_VEX): Use ins->sib.index only if ins->has_sib is true.