[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v13 22/26] linux-user: Add LoongArch cpu_loop support
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH v13 22/26] linux-user: Add LoongArch cpu_loop support |
Date: |
Sat, 4 Dec 2021 18:35:48 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.0 |
On 12/4/21 10:29, Song Gao wrote:
> Signed-off-by: Song Gao <gaosong@loongson.cn>
> Signed-off-by: Xiaojuan Yang <yangxiaojuan@loongson.cn>
> Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
> ---
> configure | 5 ++
> linux-user/loongarch64/cpu_loop.c | 94
> +++++++++++++++++++++++++++++++++++++
> linux-user/loongarch64/target_cpu.h | 34 ++++++++++++++
> 3 files changed, 133 insertions(+)
> create mode 100644 linux-user/loongarch64/cpu_loop.c
> create mode 100644 linux-user/loongarch64/target_cpu.h
>
> diff --git a/configure b/configure
> index 48c2177..9df99f6 100755
> --- a/configure
> +++ b/configure
> @@ -581,6 +581,8 @@ elif check_define __arm__ ; then
> cpu="arm"
> elif check_define __aarch64__ ; then
> cpu="aarch64"
> +elif check_define __loongarch64__ ; then
> + cpu="loongarch64"
> else
> cpu=$(uname -m)
> fi
> @@ -612,6 +614,9 @@ case "$cpu" in
> sparc|sun4[cdmuv])
> cpu="sparc"
> ;;
> + loongarch)
> + cpu="loongarch"
Shouldn't this be "loongarch64"?
> + ;;
> *)
- [PATCH v13 13/26] target/loongarch: Add floating point move instruction translation, (continued)
- [PATCH v13 13/26] target/loongarch: Add floating point move instruction translation, Song Gao, 2021/12/04
- [PATCH v13 06/26] target/loongarch: Add fixed point bit instruction translation, Song Gao, 2021/12/04
- [PATCH v13 18/26] linux-user: Add LoongArch specific structures, Song Gao, 2021/12/04
- [PATCH v13 20/26] linux-user: Add LoongArch elf support, Song Gao, 2021/12/04
- [PATCH v13 02/26] target/loongarch: Add core definition, Song Gao, 2021/12/04
- [PATCH v13 22/26] linux-user: Add LoongArch cpu_loop support, Song Gao, 2021/12/04
- Re: [PATCH v13 22/26] linux-user: Add LoongArch cpu_loop support,
Philippe Mathieu-Daudé <=
- [PATCH v13 15/26] target/loongarch: Add branch instruction translation, Song Gao, 2021/12/04
- [PATCH v13 16/26] target/loongarch: Add disassembler, Song Gao, 2021/12/04
- Re: [PATCH v13 00/26] Add LoongArch linux-user emulation support, gaosong, 2021/12/15