qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v2 19/23] target/loongarch: Introduce max32 CPU type


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH v2 19/23] target/loongarch: Introduce max32 CPU type
Date: Thu, 26 Dec 2024 23:55:49 +0100
User-agent: Mozilla Thunderbird

On 26/12/24 22:19, Jiaxun Yang wrote:
Introduce max32 CPU type as it's necessary to demonstrate all
features we have in LA32.

Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
---
  target/loongarch/cpu.c | 92 ++++++++++++++++++++++++++++++++++++++++++++++++++
  1 file changed, 92 insertions(+)


  #ifdef TARGET_LOONGARCH64
  static void loongarch_la464_initfn(Object *obj)
  {
@@ -923,6 +1014,7 @@ static const TypeInfo loongarch_cpu_type_infos[] = {
      },
  #endif
      DEFINE_LOONGARCH_CPU_TYPE(32, "la132", loongarch_la132_initfn),
+    DEFINE_LOONGARCH_CPU_TYPE(32, "max32", loongarch_max32_initfn),

What about "la32max"?

  #ifdef TARGET_LOONGARCH64
      DEFINE_LOONGARCH_CPU_TYPE(64, "la464", loongarch_la464_initfn),
      DEFINE_LOONGARCH_CPU_TYPE(64, "max", loongarch_max_initfn),





reply via email to

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