diff options
author | Taylor Simpson | 2021-04-09 03:07:36 +0200 |
---|---|---|
committer | Richard Henderson | 2021-05-01 17:31:43 +0200 |
commit | 85511161f7cd1f52a177413e2128b1a05b71163e (patch) | |
tree | 45b6f010c6d4319e68f25ef1a4e3f19ac60614ff /target/hexagon/arch.c | |
parent | Hexagon (target/hexagon) change variables from int to bool when appropriate (diff) | |
download | qemu-85511161f7cd1f52a177413e2128b1a05b71163e.tar.gz qemu-85511161f7cd1f52a177413e2128b1a05b71163e.tar.xz qemu-85511161f7cd1f52a177413e2128b1a05b71163e.zip |
Hexagon (target/hexagon) remove unused carry_from_add64 function
Suggested-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Taylor Simpson <tsimpson@quicinc.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <1617930474-31979-9-git-send-email-tsimpson@quicinc.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/hexagon/arch.c')
-rw-r--r-- | target/hexagon/arch.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/target/hexagon/arch.c b/target/hexagon/arch.c index 09de124818..699e2cfb8f 100644 --- a/target/hexagon/arch.c +++ b/target/hexagon/arch.c @@ -76,19 +76,6 @@ uint64_t deinterleave(uint64_t src) return myeven | (myodd << 32); } -uint32_t carry_from_add64(uint64_t a, uint64_t b, uint32_t c) -{ - uint64_t tmpa, tmpb, tmpc; - tmpa = fGETUWORD(0, a); - tmpb = fGETUWORD(0, b); - tmpc = tmpa + tmpb + c; - tmpa = fGETUWORD(1, a); - tmpb = fGETUWORD(1, b); - tmpc = tmpa + tmpb + fGETUWORD(1, tmpc); - tmpc = fGETUWORD(1, tmpc); - return tmpc; -} - int32_t conv_round(int32_t a, int n) { int64_t val; |