mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
target-arm: 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 <filip.navara@gmail.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
This commit is contained in:
parent
a6445c52aa
commit
194576157a
3 changed files with 142 additions and 73 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue