[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 19/23] target/loongarch: Introduce max32 CPU type
From: |
Jiaxun Yang |
Subject: |
Re: [PATCH v2 19/23] target/loongarch: Introduce max32 CPU type |
Date: |
Thu, 26 Dec 2024 23:00:52 +0000 |
在2024年12月26日十二月 下午10:55,Philippe Mathieu-Daudé写道:
> 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"?
I'm actually thinking about "max32" for la32 and "max32r" la32r to keep it
concise
(and somehow aligned with existing RISC-V naming).
Thanks
>
>> #ifdef TARGET_LOONGARCH64
>> DEFINE_LOONGARCH_CPU_TYPE(64, "la464", loongarch_la464_initfn),
>> DEFINE_LOONGARCH_CPU_TYPE(64, "max", loongarch_max_initfn),
>>
--
- Jiaxun
- Re: [PATCH v2 13/23] target/loongarch: Fix rdtimer on 32bit build, (continued)
- [PATCH v2 14/23] target/loongarch: Scrutinise TCG arithmetic translation for 32 bit build, Jiaxun Yang, 2024/12/26
- [PATCH v2 15/23] target/loongarch: Fix load type for gen_ll, Jiaxun Yang, 2024/12/26
- [PATCH v2 16/23] target/loongarch: Define address space information for LoongArch32, Jiaxun Yang, 2024/12/26
- [PATCH v2 17/23] target/loongarch: Refactoring is_la64/is_va32 for LoongArch32, Jiaxun Yang, 2024/12/26
- [PATCH v2 18/23] target/loongarch: ifdef out 64 bit CPUs on 32 bit builds, Jiaxun Yang, 2024/12/26
- [PATCH v2 19/23] target/loongarch: Introduce max32 CPU type, Jiaxun Yang, 2024/12/26
- [PATCH v2 22/23] target/loongarch: Wire up LoongArch32 Kconfigs, Jiaxun Yang, 2024/12/26
- [PATCH v2 20/23] hw/loongarch/virt: Default to max32 CPU for LoongArch 32 build, Jiaxun Yang, 2024/12/26
- [PATCH v2 21/23] qapi/machine: Replace TARGET_LOONGARCH64 with TARGET_LOONGARCH, Jiaxun Yang, 2024/12/26
- [PATCH v2 23/23] config: Add loongarch32-softmmu target, Jiaxun Yang, 2024/12/26