This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: ENTER/BOUND operands order.
- From: "Michael V. Zolotukhin" <michael dot v dot zolotukhin at gmail dot com>
- To: Jan Beulich <JBeulich at suse dot com>
- Cc: "H.J. Lu" <hjl dot tools at gmail dot com>, "binutils at sourceware dot org" <binutils at sourceware dot org>, S??awomir Wojtasiak <slawomir dot wojtasiak at swksoftware dot pl>
- Date: Thu, 23 Jan 2014 14:37:32 +0400
- Subject: Re: ENTER/BOUND operands order.
- Authentication-results: sourceware.org; auth=none
- References: <52D807FE02000078001144A2 at nat28 dot tlf dot novell dot com> <CANtU07-s=VXv2yCb2FA_Dyco14d5LiC4of7r7zCkNa+4_omFxg at mail dot gmail dot com> <52D80C8402000078001144D5 at nat28 dot tlf dot novell dot com> <9f1ffd59bc7111c4ba411898a840f1c6 dot qmail at home dot pl> <20140117070150 dot GA13904 at msticlxl57 dot ims dot intel dot com> <52D8F5FE020000780011470A at nat28 dot tlf dot novell dot com> <CANtU079-g7dcZV8WxkOOUNqRwD0RJu1tTqA5rUxwEaLx4SmktQ at mail dot gmail dot com> <52D90ACA02000078001147A1 at nat28 dot tlf dot novell dot com> <CANtU078QUocaPa9YsNUTrUaRW10xKDx99FJ8LBdFVgAZ_ooG=Q at mail dot gmail dot com> <52D936D402000078001148B5 at nat28 dot tlf dot novell dot com>
Hi Jan,
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.
Thanks,
Michael
> Jan