Convert NEON VZIP/VUZP/VTRN helper functions to pure TCG
PATCH 8/18 Convert NEON VZIP/VUZP/VTRN helper functions to pure TCG
The neon_trn_u8, neon_trn_u16, neon_unzip_u8, neon_zip_u8 and neon_zip_u16 helpers used fixed registers to return values. This patch replaces that with TCG code, so T0/T1 is no longer directly used by the helper functions.
Bugs in the gen_neon_unzip register load code were also fixed.
Signed-off-by Filip Navara <[email protected]>
--- target-arm/helpers.h | 6 -- target-arm/op_helper.c | 58 ------------------ target-arm/translate.c | 153 ++++++++++++++++++++++++++++++++++++++++++++--- 3 files changed, 143 insertions(+), 74 deletions(-)
target-arm/helpers.h +0 -6
@@ -338,12 +338,6 @@ DEF_HELPER_2(neon_qneg_s8, i32, env, i32) DEF_HELPER_2(neon_qneg_s16, i32, env, i32) DEF_HELPER_2(neon_qneg_s32, i32, env, i32) -DEF_HELPER_0(neon_trn_u8, void) -DEF_HELPER_0(neon_trn_u16, void) -DEF_HELPER_0(neon_unzip_u8, void) -DEF_HELPER_0(neon_zip_u8, void) -DEF_HELPER_0(neon_zip_u16, void) - DEF_HELPER_2(neon_min_f32, i32, i32, i32) DEF_HELPER_2(neon_max_f32, i32, i32, i32)DEF_HELPER_2 (neon_abd_f32, i32, i32, i32)
target-arm/op_helper.c +0 -58
61 lines not on this page · raw message
target-arm/translate.c +143 -10
183 lines not on this page · raw message
Signature · 1 line
1.6.3.2.1299.gee46c