Skip to content

Commit

Permalink
support RISC-V 64 in libvex_basictype.h (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
moui0 authored Oct 2, 2023
1 parent 8c3b99e commit 66fa43e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pub/libvex_basictypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,12 @@ typedef unsigned long HWord;
# define VEX_HOST_WORDSIZE 4
# define VEX_REGPARM(_n) /* */

#elif defined(__riscv) && defined(__riscv_xlen)
# if (__riscv_xlen == 64)
# define VEX_HOST_WORDSIZE 8
# define VEX_REGPARM(_n) /* */
# endif

#elif defined(__tilegx__)
# define VEX_HOST_WORDSIZE 8
# define VEX_REGPARM(_n) /* */
Expand Down

0 comments on commit 66fa43e

Please sign in to comment.