diff options
author | Jan Beulich <jbeulich@suse.com> | 2022-10-31 17:56:06 +0100 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2022-10-31 17:56:06 +0100 |
commit | 8f0212acb19da47fa9d9feeaae42e71c8817cafc (patch) | |
tree | e87ebfd50f0099aaa587de359f3effba3f50f96d /sim | |
parent | 5bab16fdf1775c8abd16376458c5843fbe1d4314 (diff) | |
download | binutils-8f0212acb19da47fa9d9feeaae42e71c8817cafc.zip binutils-8f0212acb19da47fa9d9feeaae42e71c8817cafc.tar.gz binutils-8f0212acb19da47fa9d9feeaae42e71c8817cafc.tar.bz2 |
x86: minor improvements to optimize_imm() (part III)
Earlier tidying still missed an opportunity: There's no need for the
"anyimm" static variable. Instead of using it in the loop to mask
"allowed" (which is necessary to satisfy operand_type_or()'s assertions)
simply use "mask", requiring it to be calculated first. That way the
post-loop masking by "mask" ahead of the operand_type_all_zero() can be
dropped.
Diffstat (limited to 'sim')
0 files changed, 0 insertions, 0 deletions