x86: re-arrange process_operands()
authorJan Beulich <jbeulich@suse.com>
Mon, 4 Nov 2019 14:48:38 +0000 (15:48 +0100)
committerJan Beulich <jbeulich@suse.com>
Mon, 4 Nov 2019 14:48:38 +0000 (15:48 +0100)
commit85b80b0f9bf628971b1a051d8b89c0caa932e734
tree98fa89b233a03971ed1a24294cb08add784c8714
parent5103274ffc537711574f9611cb64c51fa9a65546
x86: re-arrange process_operands()

Alter the sequence of conditions evaluated, without affecting the
overall result. This is going to help subsequent changes (and as a nice
side effect also slightly reduces overall indentation depth).

While doing this take the liberty of simplifying the calculation of the
operand index of the register operand in ShortForm handling.
gas/ChangeLog
gas/config/tc-i386.c