[PATCH] x86: Properly encode vmovd with 64-bit memeory

Jan Beulich JBeulich@suse.com
Mon Jan 8 11:39:00 GMT 2018


>>> On 08.01.18 at 12:14, <hjl.tools@gmail.com> wrote:
> On Mon, Jan 8, 2018 at 12:48 AM, Jan Beulich <JBeulich@suse.com> wrote:
>> Furthermore I think that the AVX512 64-bit variant should go away
>> altogether - it's register form is just a longer re-encoding of the
>> AVX form, and hence redundant, and gcc (afaics) doesn't use it.
> 
> Shouln't vmovd with upper 32 xmm registers be encoded with AVX512?

No, such an instruction simply doesn't exist (as per SDM). The
difference to the AVX flavor is that gcc new enough to support
AVX512 is also new enough to check for the availability of the
well-formed VMOVQ, and there's also no mode equivalent to
SSE2AVX to take care of.

Jan



More information about the Binutils mailing list