diff options
Diffstat (limited to 'benchmarks/common')
-rw-r--r-- | benchmarks/common/crt.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/benchmarks/common/crt.S b/benchmarks/common/crt.S index ea07099..de1d728 100644 --- a/benchmarks/common/crt.S +++ b/benchmarks/common/crt.S @@ -2,7 +2,7 @@ #include "encoding.h" -#ifdef __riscv64 +#if __riscv_xlen == 64 # define LREG ld # define SREG sd # define REGBYTES 8 @@ -56,7 +56,7 @@ _start: # make sure XLEN agrees with compilation choice csrr t0, misa -#ifdef __riscv64 +#if __riscv_xlen == 64 bltz t0, 1f #else bgez t0, 1f |