x86: minor improvements to optimize_imm()
authorJan Beulich <jbeulich@suse.com>
Fri, 7 May 2021 10:02:07 +0000 (12:02 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 7 May 2021 10:02:07 +0000 (12:02 +0200)
commit87ed972dc348404a4f8b820efa8dc79aaaa966f2
tree73dc56686690b54f5fa89e068dcd9507bfa8a683
parentd820a652a6d3ae3793207016c0c8cc78451eabd0
x86: minor improvements to optimize_imm()

- Drop a pointless & where just before it was checked that the
  respective bits are clear already anyway.
- Avoid a not really necessary operand_type_set() and a redundant
  operand_type_or() / operand_type_and() pair.
gas/ChangeLog
gas/config/tc-i386.c