ENTER/BOUND operands order.

Jan Beulich JBeulich@suse.com
Thu Jan 23 10:54:00 GMT 2014


>>> On 23.01.14 at 11:37, "Michael V. Zolotukhin" <michael.v.zolotukhin@gmail.com> wrote:
> Could you please comment what is wrong with these insns?
>> 	# Disp8 scaled by 8 rather than 4
>> 	vpmuldq		zmm0, zmm0, [edx+4]{1to8}
>> 	vpmuldq		zmm0, zmm0, [edx+8]{1to8}
>> 	vpmuludq	zmm0, zmm0, [edx+4]{1to8}
>> 	vpmuludq	zmm0, zmm0, [edx+8]{1to8}
> According to the documentation, they have EVEX.W=1, so the displacement is 8
> rather than 4.  It seems correct.

I don't think EVEX.W determines the scaling factor here. The
input consists of dword elements, hence the scaling ought to
be 4. I think the manual even states so (but I didn't re-check).

Jan



More information about the Binutils mailing list