Re: [PATCH 1/7] KVM: x86 emulator: framework for streamlining arithmetic opcodes

Gleb Natapov
2012-12-22T18:01:32Z

On Sat, Dec 22, 2012 at 07:42:55PM +0200, Avi Kivity wrote:
> On Sat, Dec 22, 2012 at 7:00 PM, Gleb Natapov <gleb@redhat.com> wrote:
> > On Sat, Dec 22, 2012 at 02:26:51PM +0200, Avi Kivity wrote:
> >> +
> >> +/*
> >> + * fastop functions have a special calling convention:
> >> + *
> >> + * dst: [rdx]:rax (in/out)
> > May be I miss something obvious but I do not see why rdx is here.
>
> MUL, DIV, CWD, etc.
Yes, but my question was more about actual fastop() implementation
which does not seams to handle rdx at all.

--
Gleb.