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