projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c88ff88
)
target/arm: Fix signed VADDV
author
Peter Maydell
<peter.maydell@linaro.org>
Fri, 13 Aug 2021 16:11:47 +0000
(17:11 +0100)
committer
Peter Maydell
<peter.maydell@linaro.org>
Wed, 25 Aug 2021 09:48:48 +0000
(10:48 +0100)
A cut-and-paste error meant we handled signed VADDV like
unsigned VADDV; fix the type used.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
target/arm/mve_helper.c
patch
|
blob
|
history
diff --git
a/target/arm/mve_helper.c
b/target/arm/mve_helper.c
index f14fa914b68aa6b3ac1bd1f0fc17a536502e3981..82151b06200ef53ebff4d9c6c9a1409c80a492c5 100644
(file)
--- a/
target/arm/mve_helper.c
+++ b/
target/arm/mve_helper.c
@@
-1182,9
+1182,9
@@
DO_LDAVH(vrmlsldavhxsw, int32_t, int64_t, true, true)
return ra; \
} \
-DO_VADDV(vaddvsb, 1,
u
int8_t)
-DO_VADDV(vaddvsh, 2,
u
int16_t)
-DO_VADDV(vaddvsw, 4,
u
int32_t)
+DO_VADDV(vaddvsb, 1, int8_t)
+DO_VADDV(vaddvsh, 2, int16_t)
+DO_VADDV(vaddvsw, 4, int32_t)
DO_VADDV(vaddvub, 1, uint8_t)
DO_VADDV(vaddvuh, 2, uint16_t)
DO_VADDV(vaddvuw, 4, uint32_t)