ix86: allow HLE store of accumulator to absolute address
authorJan Beulich <jbeulich@novell.com>
Thu, 22 Mar 2018 07:33:38 +0000 (08:33 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 22 Mar 2018 07:33:38 +0000 (08:33 +0100)
commit1212781b35c9e0080db6ee546cf5e7ebd45d6b09
tree7d24149d4ea3e771f626f33ad9824c1e2b2c6be3
parent9f79e88693dae859f838bcf684158e6e6f8f3b6b
ix86: allow HLE store of accumulator to absolute address

Since they're shorter to encode, the 0xa0...0xa3 encodings are preferred
for moves between accumulator and absolute address outside of 64-bit
mode. With HLE release semantics this encoding is unsupported though,
with the assembler raising an error. The operation is valid though, we
merely need to pick the longer encoding in that case.
gas/ChangeLog
gas/config/tc-i386.c
gas/testsuite/gas/i386/hle-intel.d
gas/testsuite/gas/i386/hle.d
gas/testsuite/gas/i386/hle.s