x86: make sure all PUSH/POP honor DefaultSize
authorJan Beulich <jbeulich@suse.com>
Wed, 4 Dec 2019 09:40:40 +0000 (10:40 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 4 Dec 2019 09:40:40 +0000 (10:40 +0100)
commit13e600d0f5601e354f1f3ed896db35845a682fee
tree0a66e700226c227eecf509ca406a3586b02a9e35
parent3036c8991964674ca2407c543645d841ad431267
x86: make sure all PUSH/POP honor DefaultSize

While segment registers are registers, their use doesn't allow sizing
of insns without suffix / explicit operand size specifier. Prevent
PUSH and POP of segment registers from entering that path, instead
allowing them to observe the stackop_size setting just like other
PUSH/POP and alike do.
gas/ChangeLog
gas/config/tc-i386.c
gas/testsuite/gas/i386/general.l
gas/testsuite/gas/i386/general.s