qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 03/26] target/mips: Move msa_reset() to new source file


From: Richard Henderson
Subject: Re: [PATCH 03/26] target/mips: Move msa_reset() to new source file
Date: Sun, 18 Apr 2021 11:54:22 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1

On 4/18/21 9:31 AM, Philippe Mathieu-Daudé wrote:
mips_cpu_reset() is used by all accelerators, and calls
msa_reset(), which is defined in msa_helper.c.

Beside msa_reset(), the rest of msa_helper.c is only useful
to the TCG accelerator. To be able to restrict this helper
file to TCG, we need to move msa_reset() out of it.

Signed-off-by: Philippe Mathieu-Daudé<f4bug@amsat.org>
---
  target/mips/msa.c        | 60 ++++++++++++++++++++++++++++++++++++++++
  target/mips/msa_helper.c | 36 ------------------------
  target/mips/meson.build  |  1 +
  3 files changed, 61 insertions(+), 36 deletions(-)
  create mode 100644 target/mips/msa.c

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



reply via email to

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