| commit | be1643ff057c5346bdabcd2577cbc2bea57f7243 | [log] [tgz] |
|---|---|---|
| author | Jan Beulich <jbeulich@suse.com> | Wed Nov 02 08:18:24 2022 +0100 |
| committer | Jan Beulich <jbeulich@suse.com> | Wed Nov 02 08:18:24 2022 +0100 |
| tree | 024660da59f4cbc0b670c27e9245887efcca601c | |
| parent | d918451a044821abd285f7a5bc5547ec9b50a118 [diff] |
x86: simplify expressions in update_imm() Comparing the sum of the relevant .imm<N> fields against a constant imo makes more obvious what is actually meant. It allows dropping of two static variables, with a 3rd drop requiring two more minor adjustments elsewhere, utilizing that "i" is zeroed first thing in md_assemble(). This also increases the chances of the compiler doing the calculations all in registers.