diff options
author | Andrew Waterman <andrew@sifive.com> | 2016-12-06 16:51:31 -0800 |
---|---|---|
committer | Andrew Waterman <andrew@sifive.com> | 2016-12-06 16:51:31 -0800 |
commit | 7650b391d47dd0b73d541d39c48041aa53517973 (patch) | |
tree | f102c54fdcfd40466a50199f736fc57176634153 | |
parent | c86d2ee8dca8fb1186f036f64b7e3a49bdfc6266 (diff) | |
download | riscv-opcodes-7650b391d47dd0b73d541d39c48041aa53517973.zip riscv-opcodes-7650b391d47dd0b73d541d39c48041aa53517973.tar.gz riscv-opcodes-7650b391d47dd0b73d541d39c48041aa53517973.tar.bz2 |
avoid non-standard predefined macros
-rw-r--r-- | encoding.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -150,7 +150,7 @@ #ifdef __riscv -#ifdef __riscv64 +#if __riscv_xlen == 64 # define MSTATUS_SD MSTATUS64_SD # define SSTATUS_SD SSTATUS64_SD # define RISCV_PGLEVEL_BITS 9 |