diff options
author | Taylor Simpson <tsimpson@quicinc.com> | 2021-04-08 20:07:45 -0500 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2021-05-01 08:31:43 -0700 |
commit | d934c16d8a1e0fb82fd4abfa54dcb5217430577c (patch) | |
tree | 4f98424f1036f09e712d80be7ba95faf130c17ab /target/hexagon/helper.h | |
parent | 85580a65577898288a29d849160601895979c661 (diff) | |
download | qemu-d934c16d8a1e0fb82fd4abfa54dcb5217430577c.zip qemu-d934c16d8a1e0fb82fd4abfa54dcb5217430577c.tar.gz qemu-d934c16d8a1e0fb82fd4abfa54dcb5217430577c.tar.bz2 |
Hexagon (target/hexagon) add F2_sfrecipa instruction
Rd32,Pe4 = sfrecipa(Rs32, Rt32)
Recripocal approx
Test cases in tests/tcg/hexagon/multi_result.c
FP exception tests added to tests/tcg/hexagon/fpstuff.c
Signed-off-by: Taylor Simpson <tsimpson@quicinc.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <1617930474-31979-18-git-send-email-tsimpson@quicinc.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/hexagon/helper.h')
-rw-r--r-- | target/hexagon/helper.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target/hexagon/helper.h b/target/hexagon/helper.h index efe6069..b377293 100644 --- a/target/hexagon/helper.h +++ b/target/hexagon/helper.h @@ -24,6 +24,7 @@ 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_FLAGS_4(fcircadd, TCG_CALL_NO_RWG_SE, s32, s32, s32, s32, s32) +DEF_HELPER_3(sfrecipa, i64, env, f32, f32) /* Floating point */ DEF_HELPER_2(conv_sf2df, f64, env, f32) |