qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v2 08/32] target/mips: Convert MSA LDI opcode to decodetree


From: Richard Henderson
Subject: Re: [PATCH v2 08/32] target/mips: Convert MSA LDI opcode to decodetree
Date: Wed, 27 Oct 2021 12:10:23 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0

On 10/27/21 11:07 AM, Philippe Mathieu-Daudé wrote:
Convert the LDI opcode (Immediate Load) to decodetree. Since it
overlaps with the generic MSA handler, use a decodetree overlap
group.

Since the 'data format' field is a constant value, use
tcg_constant_i32() instead of a TCG temporary.

Reviewed-by: Jiaxun Yang<jiaxun.yang@flygoat.com>
Signed-off-by: Philippe Mathieu-Daudé<f4bug@amsat.org>
---
v2:
- add &msa_ldi format
- !check_msa_enabled -> return true
- TCG timm is constant
---
  target/mips/tcg/msa.decode      |  8 +++++++-
  target/mips/tcg/msa_translate.c | 22 ++++++++++++++--------
  2 files changed, 21 insertions(+), 9 deletions(-)

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

r~



reply via email to

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