qemu-devel
[Top][All Lists]
Advanced

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

Re: [RFC PATCH 6/8] riscv: Add configure script


From: LIU Zhiwei
Subject: Re: [RFC PATCH 6/8] riscv: Add configure script
Date: Wed, 20 May 2020 09:45:55 +0800
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0


On 2020/5/12 2:06, Richard Henderson wrote:
On 4/30/20 12:21 AM, LIU Zhiwei wrote:
+++ b/configure
@@ -58,6 +58,8 @@ guess_arch() {
          ARCH="m68k"
      elif check_define __powerpc64__ ; then
          ARCH="ppc64"
+    elif check_define __riscv ; then
+        ARCH="riscv64"
      else
          echo "This cpu is not supported by risu. Try -h. " >&2
          exit 1
Why "riscv64" and not "riscv"?

You can't really say more without checking __riscv_xlen.
Thanks for point it out. I will add support for RV32 next patch set.

Zhiwei

r~




reply via email to

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