| commit | 2f2be86bbb8d26f780183e45b169748ef625f03d | [log] [tgz] |
|---|---|---|
| author | Jan Beulich <jbeulich@suse.com> | Tue Jun 15 08:00:45 2021 +0200 |
| committer | Jan Beulich <jbeulich@suse.com> | Tue Jun 15 08:00:45 2021 +0200 |
| tree | 43118b9e088c86ed84e75c447dbbd1a1a85fcc8f | |
| parent | 649658972ca923250019ca15e4ddd98bf28bf123 [diff] |
x86: simplify .dispNN setting
First of all eliminate the disp{16,32,32s} static variables, which are
used solely for setting a temporary variable in build_modrm_byte(). The
effect there can be had without use of such a temporary and without
operand_type_or(), by just setting the single bit each that needs
setting.
Then use operand_type_and_not(..., anydisp) when all dispNN bits want
clearing together.