mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 09:13:55 -06:00
target/ppc: convert vaddu[b,h,w,d] and vsubu[b,h,w,d] over to use vector operations
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Acked-by: David Gibson <david@gibson.dropbear.id.au> Message-Id: <20190215100058.20015-3-mark.cave-ayland@ilande.co.uk> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
50d24aedb3
commit
3e942a1a80
3 changed files with 8 additions and 23 deletions
|
@ -515,13 +515,6 @@ void helper_vprtybq(ppc_avr_t *r, ppc_avr_t *b)
|
|||
r->element[i] = a->element[i] op b->element[i]; \
|
||||
} \
|
||||
}
|
||||
#define VARITH(suffix, element) \
|
||||
VARITH_DO(add##suffix, +, element) \
|
||||
VARITH_DO(sub##suffix, -, element)
|
||||
VARITH(ubm, u8)
|
||||
VARITH(uhm, u16)
|
||||
VARITH(uwm, u32)
|
||||
VARITH(udm, u64)
|
||||
VARITH_DO(muluwm, *, u32)
|
||||
#undef VARITH_DO
|
||||
#undef VARITH
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue