x86: fold variables in memory operand index handling
authorJan Beulich <jbeulich@suse.com>
Mon, 17 Jan 2022 09:25:40 +0000 (10:25 +0100)
committerJan Beulich <jbeulich@suse.com>
Mon, 17 Jan 2022 09:25:40 +0000 (10:25 +0100)
commite1f9fbb8adbbf8c46cad1e62e0d335ada1c3d308
tree57fd91bafccc5798ae6f2e18f65767484adfafab
parent2a78304e29bf783142001958730d4adf8f6a1f09
x86: fold variables in memory operand index handling

There's no real need for the pseudo-boolean "haveindex" or for separate
32-bit / 64-bit index pointers. Fold them into a single "indexes" and
set that uniformly to AT&T names, compensating by emitting the register
name via oappend_maybe_intel().
opcodes/i386-dis.c