diff config.h @ 208:f6f2c7a9d7d8

also recognize __riscv128__, may as well.
author David A. Holland
date Mon, 21 Jan 2019 21:41:38 -0500
parents dd0d2bfe4962
children
line wrap: on
line diff
--- a/config.h	Mon Jan 21 21:21:50 2019 -0500
+++ b/config.h	Mon Jan 21 21:41:38 2019 -0500
@@ -138,6 +138,12 @@
 #define CONFIG_CPU "__riscv64__"
 #elif defined(__riscv64)
 #define CONFIG_CPU "__riscv64"
+#elif defined(__RISCV64__)
+#define CONFIG_CPU "__RISCV128__"
+#elif defined(__riscv64__)
+#define CONFIG_CPU "__riscv128__"
+#elif defined(__riscv64)
+#define CONFIG_CPU "__riscv128"
 #elif defined(__ia64__)
 #define CONFIG_CPU "__ia64__"
 #else