commit | b42d763a2d412d6ef7c29cb2f1b3e9985e2b1e38 | [log] [tgz] |
---|---|---|
author | Zong Li <zong.li@sifive.com> | Tue Mar 10 00:55:42 2020 +0800 |
committer | Palmer Dabbelt <palmerdabbelt@google.com> | Thu Mar 26 09:24:49 2020 -0700 |
tree | ec1aaa9c051806f02bf08ae62e66a93302b3c64a | |
parent | d27c3c90817e4c5ea655714065a725b4abd576f9 [diff] |
riscv: add macro to get instruction length Extract the calculation of instruction length for common use. Signed-off-by: Zong Li <zong.li@sifive.com> Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>