qemu-devel
[Top][All Lists]
Advanced

[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"?

> +  ;;
>    *)



reply via email to

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