mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 10:34:58 -06:00
target/loongarch: Add timer related instructions support.
This includes: -RDTIME{L/H}.W -RDTIME.D Signed-off-by: Xiaojuan Yang <yangxiaojuan@loongson.cn> Signed-off-by: Song Gao <gaosong@loongson.cn> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20220606124333.2060567-30-yangxiaojuan@loongson.cn> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
d2cba6f7ce
commit
f9bf50745f
6 changed files with 56 additions and 0 deletions
|
@ -93,6 +93,8 @@ DEF_HELPER_2(frint_d, i64, env, i64)
|
|||
|
||||
DEF_HELPER_FLAGS_2(set_rounding_mode, TCG_CALL_NO_RWG, void, env, i32)
|
||||
|
||||
DEF_HELPER_1(rdtime_d, i64, env)
|
||||
|
||||
/* CSRs helper */
|
||||
DEF_HELPER_1(csrrd_pgd, i64, env)
|
||||
DEF_HELPER_1(csrrd_tval, i64, env)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue