qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH for-9.1 08/19] target/i386: allow instructions with more than


From: Richard Henderson
Subject: Re: [PATCH for-9.1 08/19] target/i386: allow instructions with more than one immediate
Date: Wed, 10 Apr 2024 16:57:39 -1000
User-agent: Mozilla Thunderbird

On 4/9/24 06:43, Paolo Bonzini wrote:
While keeping decode->immediate for convenience and for 4-operand instructions,
store the immediate in X86DecodedOp as well.  This enables instructions
with more than one immediate such as ENTER.  It can also be used for far
calls and jumps.

Signed-off-by: Paolo Bonzini<pbonzini@redhat.com>
---
  target/i386/tcg/decode-new.h     | 17 ++++++++++++-----
  target/i386/tcg/decode-new.c.inc |  2 +-
  target/i386/tcg/emit.c.inc       |  4 +++-
  3 files changed, 16 insertions(+), 7 deletions(-)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

+    assert (op->unit == X86_OP_MMX || op->unit == X86_OP_SSE);

Extra space before (.


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]