This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] ix86: allow HLE store of accumulator to absolute address


On Wed, Mar 21, 2018 at 1:42 AM, Jan Beulich <JBeulich@suse.com> wrote:
> 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/
> 2018-03-21  Jan Beulich  <jbeulich@suse.com>
>
>         * config/tc-i386.c (match_template): Special case base opcode
>         0xa0 with HLE prefix.
>         * testsuite/gas/i386/hle.s: Add mov-accumulator-to-disp cases.
>         * testsuite/gas/i386/hle.d, testsuite/gas/i386/hle-intel.d:
>         Adjust expectations.
>
> ---
> I'd be more than happy to learn of a way to avoid adding another special
> case in the middle of match_template(); I couldn't think of one, though.
>

OK.

Thanks.

-- 
H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]