[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 05/16] target/mips: Extract common helpers from helper.c t
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH v2 05/16] target/mips: Extract common helpers from helper.c to common_helper.c |
Date: |
Tue, 15 Dec 2020 19:25:46 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.5.0 |
On 12/15/20 3:07 PM, Richard Henderson wrote:
> On 12/14/20 12:37 PM, Philippe Mathieu-Daudé wrote:
>> The rest of helper.c is TLB related. Extract the non TLB
>> specific functions to a new file, so we can rename helper.c
>> as tlb_helper.c in the next commit.
>>
>> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
>> ---
>> target/mips/internal.h | 2 +
>> target/mips/cpu.c | 215 +++++++++++++++++++++++++++++++++++++++--
>> target/mips/helper.c | 201 --------------------------------------
>> 3 files changed, 211 insertions(+), 207 deletions(-)
>
> Subject and comment need updating for cpu.c. Otherwise,
>
> Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Oops, fixed as:
target/mips: Move common helpers from helper.c to cpu.c
The rest of helper.c is TLB related. Extract the non TLB
specific functions to cpu.c, so we can rename helper.c as
tlb_helper.c in the next commit.
Thanks!
Phil.
- [PATCH v2 00/16] target/mips: Boring code reordering + add "translate.h", Philippe Mathieu-Daudé, 2020/12/14
- [PATCH v2 01/16] target/mips: Inline cpu_state_reset() in mips_cpu_reset(), Philippe Mathieu-Daudé, 2020/12/14
- [PATCH v2 02/16] target/mips: Extract FPU helpers to 'fpu_helper.h', Philippe Mathieu-Daudé, 2020/12/14
- [PATCH v2 03/16] target/mips: Add !CONFIG_USER_ONLY comment after #endif, Philippe Mathieu-Daudé, 2020/12/14
- [PATCH v2 04/16] target/mips: Remove consecutive CONFIG_USER_ONLY ifdefs, Philippe Mathieu-Daudé, 2020/12/14
- [PATCH v2 05/16] target/mips: Extract common helpers from helper.c to common_helper.c, Philippe Mathieu-Daudé, 2020/12/14
- [PATCH v2 06/16] target/mips: Rename helper.c as tlb_helper.c, Philippe Mathieu-Daudé, 2020/12/14
- [PATCH v2 07/16] target/mips: Fix code style for checkpatch.pl, Philippe Mathieu-Daudé, 2020/12/14
- [PATCH v2 08/16] target/mips: Move mmu_init() functions to tlb_helper.c, Philippe Mathieu-Daudé, 2020/12/14
- [PATCH v2 09/16] target/mips: Rename translate_init.c as cpu-defs.c, Philippe Mathieu-Daudé, 2020/12/14
- [PATCH v2 10/16] target/mips: Replace gen_exception_err(err=0) by gen_exception_end(), Philippe Mathieu-Daudé, 2020/12/14
- [PATCH v2 13/16] target/mips/translate: Add declarations for generic code, Philippe Mathieu-Daudé, 2020/12/14
- [PATCH v2 11/16] target/mips: Replace gen_exception_end(EXCP_RI) by gen_rsvd_instruction, Philippe Mathieu-Daudé, 2020/12/14