comparison 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
comparison
equal deleted inserted replaced
207:217727e65236 208:f6f2c7a9d7d8
136 #define CONFIG_CPU "__RISCV64__" 136 #define CONFIG_CPU "__RISCV64__"
137 #elif defined(__riscv64__) 137 #elif defined(__riscv64__)
138 #define CONFIG_CPU "__riscv64__" 138 #define CONFIG_CPU "__riscv64__"
139 #elif defined(__riscv64) 139 #elif defined(__riscv64)
140 #define CONFIG_CPU "__riscv64" 140 #define CONFIG_CPU "__riscv64"
141 #elif defined(__RISCV64__)
142 #define CONFIG_CPU "__RISCV128__"
143 #elif defined(__riscv64__)
144 #define CONFIG_CPU "__riscv128__"
145 #elif defined(__riscv64)
146 #define CONFIG_CPU "__riscv128"
141 #elif defined(__ia64__) 147 #elif defined(__ia64__)
142 #define CONFIG_CPU "__ia64__" 148 #define CONFIG_CPU "__ia64__"
143 #else 149 #else
144 /* let it go */ 150 /* let it go */
145 #endif 151 #endif