diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2012-10-18 16:58:52 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2012-10-24 13:33:29 +0100 |
commit | ee6fa5593ebfc437cbedaf28de8b66b2e7d44e70 (patch) | |
tree | 7a9869e5da85332d8158be3435501c6ce961eeb6 /target-arm/translate.c | |
parent | f296c0d172735612cad8af5fafb8dedeaaa2a109 (diff) | |
download | hqemu-ee6fa5593ebfc437cbedaf28de8b66b2e7d44e70.zip hqemu-ee6fa5593ebfc437cbedaf28de8b66b2e7d44e70.tar.gz |
target-arm: Use TCG operation for Neon 64 bit negation
Use the TCG operation to do Neon 64 bit negations rather than calling
a helper routine for it.
Reviewed-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'target-arm/translate.c')
-rw-r--r-- | target-arm/translate.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/target-arm/translate.c b/target-arm/translate.c index daccb15..d33f94c 100644 --- a/target-arm/translate.c +++ b/target-arm/translate.c @@ -4184,7 +4184,9 @@ static inline void gen_neon_negl(TCGv_i64 var, int size) switch (size) { case 0: gen_helper_neon_negl_u16(var, var); break; case 1: gen_helper_neon_negl_u32(var, var); break; - case 2: gen_helper_neon_negl_u64(var, var); break; + case 2: + tcg_gen_neg_i64(var, var); + break; default: abort(); } } |