summaryrefslogtreecommitdiffstats
path: root/target/ppc/int_helper.c
diff options
context:
space:
mode:
authorMark Cave-Ayland2019-02-15 11:00:43 +0100
committerDavid Gibson2019-02-18 01:00:44 +0100
commit3e942a1a8025f694ff0e78b947c3bd57ec06d655 (patch)
tree33c430f6e10a53a1b63789247e4fdc5ca43e07f1 /target/ppc/int_helper.c
parenttarget/ppc: convert VMX logical instructions to use vector operations (diff)
downloadqemu-3e942a1a8025f694ff0e78b947c3bd57ec06d655.tar.gz
qemu-3e942a1a8025f694ff0e78b947c3bd57ec06d655.tar.xz
qemu-3e942a1a8025f694ff0e78b947c3bd57ec06d655.zip
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>
Diffstat (limited to 'target/ppc/int_helper.c')
-rw-r--r--target/ppc/int_helper.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/target/ppc/int_helper.c b/target/ppc/int_helper.c
index 8efc283388..ffccda8b9b 100644
--- a/target/ppc/int_helper.c
+++ b/target/ppc/int_helper.c
@@ -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