]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
x86: minor improvements to optimize_disp() (part I)
authorJan Beulich <jbeulich@suse.com>
Tue, 8 Jun 2021 12:54:48 +0000 (14:54 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 8 Jun 2021 12:54:48 +0000 (14:54 +0200)
commitf185acddfa246009e72e5bea95cd457ccc0cc763
tree1148816865d20cfe6bb57ae578f173e0ff6f049c
parent4c5d7c03c4dec3dc4ae875696b20747c5a8dafb8
x86: minor improvements to optimize_disp() (part I)

- Do the zero checking first - there's no point in doing anything else
  in this case.
- Drop two pointless & where just before it was checked that the
  respective bits are clear already anyway.
gas/ChangeLog
gas/config/tc-i386.c