summary refs log tree commit diff stats
path: root/hw/display/omap_lcdc.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2020-02-16 13:42:29 -0800
committerPeter Maydell <peter.maydell@linaro.org>2020-02-21 16:07:02 +0000
commit87b74e8b6edd287ea2160caa0ebea725fa8f1ca1 (patch)
treeacbe40c42da070d88cc77e7372cc43b2a55824a3 /hw/display/omap_lcdc.c
parent7abc8cabad977aeccbbb6e6b2026e68ab8e32c65 (diff)
downloadfocaccia-qemu-87b74e8b6edd287ea2160caa0ebea725fa8f1ca1.tar.gz
focaccia-qemu-87b74e8b6edd287ea2160caa0ebea725fa8f1ca1.zip
target/arm: Vectorize USHL and SSHL
These instructions shift left or right depending on the sign
of the input, and 7 bits are significant to the shift.  This
requires several masks and selects in addition to the actual
shifts to form the complete answer.

That said, the operation is still a small improvement even for
two 64-bit elements -- 13 vector operations instead of 2 * 7
integer operations.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20200216214232.4230-2-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/display/omap_lcdc.c')
0 files changed, 0 insertions, 0 deletions