changeset 208:f6f2c7a9d7d8

also recognize __riscv128__, may as well.
author David A. Holland
date Mon, 21 Jan 2019 21:41:38 -0500
parents 217727e65236
children 256f51fde64c
files CHANGES config.h
diffstat 2 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/CHANGES	Mon Jan 21 21:21:50 2019 -0500
+++ b/CHANGES	Mon Jan 21 21:41:38 2019 -0500
@@ -1,3 +1,6 @@
+release [pending]
+   - also recognize __riscv128__; may as well.
+
 release 0.5.3 (20190121)
    - Fix markup typo in the man page.
    - Abort on line numbering or column numbering overflow. Line
--- 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