aboutsummaryrefslogtreecommitdiff
path: root/target/arm/neon_helper.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2019-04-17 14:28:57 -1000
committerRichard Henderson <richard.henderson@linaro.org>2019-05-13 22:52:08 +0000
commit4e027a710673f5d4dc6cff88728bcfd32e4c47b0 (patch)
tree8952e3d50b6b30adcee4c3b190d51a78a09d90ff /target/arm/neon_helper.c
parenta456394ae540f852cd0d10fd693fe9f33598dc01 (diff)
downloadqemu-4e027a710673f5d4dc6cff88728bcfd32e4c47b0.zip
qemu-4e027a710673f5d4dc6cff88728bcfd32e4c47b0.tar.gz
qemu-4e027a710673f5d4dc6cff88728bcfd32e4c47b0.tar.bz2
target/arm: Use tcg_gen_abs_i64 and tcg_gen_gvec_abs
Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/arm/neon_helper.c')
-rw-r--r--target/arm/neon_helper.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/target/arm/neon_helper.c b/target/arm/neon_helper.c
index ed1c6fc..4259056 100644
--- a/target/arm/neon_helper.c
+++ b/target/arm/neon_helper.c
@@ -1228,11 +1228,6 @@ NEON_VOP(ceq_u16, neon_u16, 2)
NEON_VOP(ceq_u32, neon_u32, 1)
#undef NEON_FN
-#define NEON_FN(dest, src, dummy) dest = (src < 0) ? -src : src
-NEON_VOP1(abs_s8, neon_s8, 4)
-NEON_VOP1(abs_s16, neon_s16, 2)
-#undef NEON_FN
-
/* Count Leading Sign/Zero Bits. */
static inline int do_clz8(uint8_t x)
{