Skip to content

Commit

Permalink
support RISC-V64: define arch_host (#354)
Browse files Browse the repository at this point in the history
  • Loading branch information
moui0 authored Oct 2, 2023
1 parent 51cbb04 commit fa37536
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pyvex_c/pyvex.c
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,10 @@ int vex_init() {
# endif
#elif defined(__powerpc__)
vta.arch_host = VexArchPPC64;
#elif defined(__riscv)
# if defined(__riscv_xlen) && (__riscv_xlen == 64)
vta.arch_host = VexArchRISCV64;
# endif
#else
#error "Unsupported host arch"
#endif
Expand Down

0 comments on commit fa37536

Please sign in to comment.