diff options
author | Jan Beulich <jbeulich@suse.com> | 2022-11-02 08:18:24 +0100 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2022-11-02 08:18:24 +0100 |
commit | be1643ff057c5346bdabcd2577cbc2bea57f7243 (patch) | |
tree | 024660da59f4cbc0b670c27e9245887efcca601c /sim/m32c | |
parent | d918451a044821abd285f7a5bc5547ec9b50a118 (diff) | |
download | binutils-be1643ff057c5346bdabcd2577cbc2bea57f7243.zip binutils-be1643ff057c5346bdabcd2577cbc2bea57f7243.tar.gz binutils-be1643ff057c5346bdabcd2577cbc2bea57f7243.tar.bz2 |
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.
Diffstat (limited to 'sim/m32c')
0 files changed, 0 insertions, 0 deletions