mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
Hexagon HVX (target/hexagon) helper functions
Probe and commit vector stores (masked and scatter/gather) Log vector register writes Add the execution counters to the debug log Histogram instructions Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Taylor Simpson <tsimpson@quicinc.com>
This commit is contained in:
parent
82f8b3dce2
commit
33e9ed11d5
2 changed files with 296 additions and 2 deletions
|
@ -23,6 +23,8 @@ DEF_HELPER_1(debug_start_packet, void, env)
|
|||
DEF_HELPER_FLAGS_3(debug_check_store_width, TCG_CALL_NO_WG, void, env, int, int)
|
||||
DEF_HELPER_FLAGS_3(debug_commit_end, TCG_CALL_NO_WG, void, env, int, int)
|
||||
DEF_HELPER_2(commit_store, void, env, int)
|
||||
DEF_HELPER_3(gather_store, void, env, i32, int)
|
||||
DEF_HELPER_1(commit_hvx_stores, void, env)
|
||||
DEF_HELPER_FLAGS_4(fcircadd, TCG_CALL_NO_RWG_SE, s32, s32, s32, s32, s32)
|
||||
DEF_HELPER_FLAGS_1(fbrev, TCG_CALL_NO_RWG_SE, i32, i32)
|
||||
DEF_HELPER_3(sfrecipa, i64, env, f32, f32)
|
||||
|
@ -90,4 +92,18 @@ DEF_HELPER_4(sffms_lib, f32, env, f32, f32, f32)
|
|||
DEF_HELPER_3(dfmpyfix, f64, env, f64, f64)
|
||||
DEF_HELPER_4(dfmpyhh, f64, env, f64, f64, f64)
|
||||
|
||||
/* Histogram instructions */
|
||||
DEF_HELPER_1(vhist, void, env)
|
||||
DEF_HELPER_1(vhistq, void, env)
|
||||
DEF_HELPER_1(vwhist256, void, env)
|
||||
DEF_HELPER_1(vwhist256q, void, env)
|
||||
DEF_HELPER_1(vwhist256_sat, void, env)
|
||||
DEF_HELPER_1(vwhist256q_sat, void, env)
|
||||
DEF_HELPER_1(vwhist128, void, env)
|
||||
DEF_HELPER_1(vwhist128q, void, env)
|
||||
DEF_HELPER_2(vwhist128m, void, env, s32)
|
||||
DEF_HELPER_2(vwhist128qm, void, env, s32)
|
||||
|
||||
DEF_HELPER_2(probe_pkt_scalar_store_s0, void, env, int)
|
||||
DEF_HELPER_2(probe_hvx_stores, void, env, int)
|
||||
DEF_HELPER_3(probe_pkt_scalar_hvx_stores, void, env, int, int)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue