On Fri, Sep 14, 2018 at 4:51 PM, Henrik Gramner <hen...@gramner.com> wrote:
> I can't really think of any scenario where using a 32-bit register
> address operand with a 64-bit destination for LEA is not a mistake.

To clarify on this, using a 32-bit memory operand means the calculated
effective address will be 32-bit, not 64-bit, so if the result exceeds
0xFFFFFFFF it will be truncated and zero-extended (not even
sign-extended like most other x86 things!). It's essentially i big
trap because it really doesn't do what you'd expect it do to.
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to