x86: improve operand reversal
authorJan Beulich <jbeulich@novell.com>
Thu, 13 Sep 2018 09:05:27 +0000 (11:05 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 13 Sep 2018 09:05:27 +0000 (11:05 +0200)
commit64c49ab3fb5eea7ba382cf7b0955795ae15e06e5
tree577b53f7e5d384f509680a018cf258c424c78ca4
parent07d5e9534b11ea9df17eb9d01799000a10c7567f
x86: improve operand reversal

In quite a few cases the .s suffix or {load} / {store} prefixes did not
work as intended, or produced errors when they're supposed to be ignored
when it is not possible to carry out the request.

The change here re-purposes(?) the .s suffix to no longer mean "store"
(if that's what 's' did stand for), since the forms used in the base
templates are not consistently loads (and we unlikely want to change
that). The pseudo prefixes will now fulfill what their names say, i.e.
{load} now only ever produces a load form encoding (if available) while
{store} only ever produces a store form one (again if available). This
requires minimal test suite adjustments, while the majority of the
changes there are simply additions.
gas/ChangeLog
gas/config/tc-i386.c
gas/testsuite/gas/i386/pseudos.d
gas/testsuite/gas/i386/pseudos.s
gas/testsuite/gas/i386/x86-64-pseudos.d
gas/testsuite/gas/i386/x86-64-pseudos.s
This page took 0.026555 seconds and 4 git commands to generate.