Skip to content

Commit

Permalink
Define QTHREAD_ARM and include defines in config test
Browse files Browse the repository at this point in the history
  • Loading branch information
Ciesko authored and Ciesko committed Jun 16, 2023
1 parent a5e4c9a commit df222de
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions config/qthread_ia_cacheline.m4
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ AC_CACHE_CHECK([for x86 cache line size],
#define QTHREAD_POWERPC64 7
#define QTHREAD_SPARCV9_32 8
#define QTHREAD_SPARCV9_64 9
#define QTHREAD_TILEPRO 10
#define QTHREAD_TILEGX 11
#define QTHREAD_ARM 12
#define QTHREAD_ARMV8_A64 13
],[
int op = 1, eax, ebx, ecx, edx, cachelinesize;
FILE *f;
Expand Down
3 changes: 2 additions & 1 deletion include/qthread/common.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@
#define QTHREAD_SPARCV9_64 9
#define QTHREAD_TILEPRO 10
#define QTHREAD_TILEGX 11
#define QTHREAD_ARMV8_A64 12
#define QTHREAD_ARM 12
#define QTHREAD_ARMV8_A64 13

#endif

0 comments on commit df222de

Please sign in to comment.