qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v3 04/24] disas/nanomips: Delete NMD class second field


From: Richard Henderson
Subject: Re: [PATCH v3 04/24] disas/nanomips: Delete NMD class second field
Date: Tue, 13 Sep 2022 08:51:58 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0

On 9/12/22 13:26, Milica Lazarevic wrote:
We're deleting the m_pc field of the NMD class. It's now part of the
Dis_info struct that this patch introduces. Currently, the Dis_info
struct has just one field, m_pc, which we need for address calculation
in the ADDRESS function.

We're filling Dis_info at the entrance of the nanoMIPS disassembler.
I.e. print_insn_nanomips. Next, we're adding that information as an
argument wherever we need to.

Since NMD class now has no more fields, the NMD constructor is
also deleted.

Signed-off-by: Milica Lazarevic<milica.lazarevic@syrmia.com>
---
  disas/nanomips.cpp | 1368 ++++++++++++++++++++++----------------------
  disas/nanomips.h   | 1292 +++++++++++++++++++++--------------------
  2 files changed, 1331 insertions(+), 1329 deletions(-)

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

r~



reply via email to

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