about summary refs log tree commit diff stats
path: root/src/include
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2023-09-11 13:17:01 +0200
committerGitHub <noreply@github.com>2023-09-11 13:17:01 +0200
commit0913c94e46a138edb906bf4cb1e109519aff3bfe (patch)
tree26d05296f6fa4d5f1a320a41ca03c553b9436bad /src/include
parent5e52c735a67f4b40c38c6d8d2c00d104c31677fc (diff)
parent910a0ef8e1b98e5d20fdec7bae01a37d8ea25b1e (diff)
downloadbox64-0913c94e46a138edb906bf4cb1e109519aff3bfe.tar.gz
box64-0913c94e46a138edb906bf4cb1e109519aff3bfe.zip
Merge pull request #969 from ksco/thead
[RV64_DYNAREC] Added thead vendor extension detection
Diffstat (limited to 'src/include')
-rw-r--r--src/include/debug.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/include/debug.h b/src/include/debug.h
index 9bfc5c89..acd842c2 100644
--- a/src/include/debug.h
+++ b/src/include/debug.h
@@ -40,6 +40,15 @@ extern int rv64_zba;
 extern int rv64_zbb;
 extern int rv64_zbc;
 extern int rv64_zbs;
+extern int rv64_xtheadba;
+extern int rv64_xtheadbb;
+extern int rv64_xtheadbs;
+extern int rv64_xtheadcondmov;
+extern int rv64_xtheadmemidx;
+extern int rv64_xtheadmempair;
+extern int rv64_xtheadfmemidx;
+extern int rv64_xtheadmac;
+extern int rv64_xtheadfmv;
 #endif
 #endif
 extern int box64_libcef;
@@ -100,7 +109,7 @@ void printf_ftrace(const char* fmt, ...);
 #ifdef BUILD_DYNAMIC
 #define EXPORTDYN __attribute__((visibility("default")))
 #else
-#define EXPORTDYN 
+#define EXPORTDYN
 #endif
 
 void init_malloc_hook(void);
@@ -123,7 +132,7 @@ extern void* __libc_memalign(size_t, size_t);
 #define box_realloc     __libc_realloc
 #define box_calloc      __libc_calloc
 #define box_free        __libc_free
-#define box_memalign    __libc_memalign 
+#define box_memalign    __libc_memalign
 extern char* box_strdup(const char* s);
 extern char* box_realpath(const char* path, char* ret);