* [Qemu-devel] [PULL for-2.12 0/1] tcg vector fix
@ 2018-04-06 13:14 Richard Henderson
2018-04-06 13:14 ` [Qemu-devel] [PULL for-2.12 1/1] tcg: Fix out-of-line generic vector compares Richard Henderson
2018-04-06 14:52 ` [Qemu-devel] [PULL for-2.12 0/1] tcg vector fix Peter Maydell
0 siblings, 2 replies; 3+ messages in thread
From: Richard Henderson @ 2018-04-06 13:14 UTC (permalink / raw)
To: qemu-devel; +Cc: peter.maydell
Fixes the reported problem w/ ppc64 host (gcc 4.8.5) + aa64 guest.
r~
The following changes since commit 0e87fdc966d05f4e5ad868034fcd8ee2a08ca62d:
Update version for v2.12.0-rc2 release (2018-04-04 20:37:20 +0100)
are available in the Git repository at:
git://github.com/rth7680/qemu.git tags/pull-tcg-20180407
for you to fetch changes up to 6cb1d3b8517572031a22675280ec642972cdb395:
tcg: Fix out-of-line generic vector compares (2018-04-06 23:08:50 +1000)
----------------------------------------------------------------
Fix generic host vector compares.
----------------------------------------------------------------
Richard Henderson (1):
tcg: Fix out-of-line generic vector compares
accel/tcg/tcg-runtime-gvec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Qemu-devel] [PULL for-2.12 1/1] tcg: Fix out-of-line generic vector compares
2018-04-06 13:14 [Qemu-devel] [PULL for-2.12 0/1] tcg vector fix Richard Henderson
@ 2018-04-06 13:14 ` Richard Henderson
2018-04-06 14:52 ` [Qemu-devel] [PULL for-2.12 0/1] tcg vector fix Peter Maydell
1 sibling, 0 replies; 3+ messages in thread
From: Richard Henderson @ 2018-04-06 13:14 UTC (permalink / raw)
To: qemu-devel; +Cc: peter.maydell
A mistake in the type passed to sizeof, that happens to work
when the out-of-line fallback itself is using host vectors,
but fails when using only the base types.
Tested-by: Emilio G. Cota <cota@braap.org>
Reported-by: Emilio G. Cota <cota@braap.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
accel/tcg/tcg-runtime-gvec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/accel/tcg/tcg-runtime-gvec.c b/accel/tcg/tcg-runtime-gvec.c
index 8bf8d63912..90340e56e0 100644
--- a/accel/tcg/tcg-runtime-gvec.c
+++ b/accel/tcg/tcg-runtime-gvec.c
@@ -705,7 +705,7 @@ void HELPER(NAME)(void *d, void *a, void *b, uint32_t desc) \
{ \
intptr_t oprsz = simd_oprsz(desc); \
intptr_t i; \
- for (i = 0; i < oprsz; i += sizeof(vec64)) { \
+ for (i = 0; i < oprsz; i += sizeof(TYPE)) { \
*(TYPE *)(d + i) = DO_CMP0(*(TYPE *)(a + i) OP *(TYPE *)(b + i)); \
} \
clear_high(d, oprsz, desc); \
--
2.14.3
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] [PULL for-2.12 0/1] tcg vector fix
2018-04-06 13:14 [Qemu-devel] [PULL for-2.12 0/1] tcg vector fix Richard Henderson
2018-04-06 13:14 ` [Qemu-devel] [PULL for-2.12 1/1] tcg: Fix out-of-line generic vector compares Richard Henderson
@ 2018-04-06 14:52 ` Peter Maydell
1 sibling, 0 replies; 3+ messages in thread
From: Peter Maydell @ 2018-04-06 14:52 UTC (permalink / raw)
To: Richard Henderson; +Cc: QEMU Developers
On 6 April 2018 at 14:14, Richard Henderson
<richard.henderson@linaro.org> wrote:
> Fixes the reported problem w/ ppc64 host (gcc 4.8.5) + aa64 guest.
>
>
> r~
>
>
> The following changes since commit 0e87fdc966d05f4e5ad868034fcd8ee2a08ca62d:
>
> Update version for v2.12.0-rc2 release (2018-04-04 20:37:20 +0100)
>
> are available in the Git repository at:
>
> git://github.com/rth7680/qemu.git tags/pull-tcg-20180407
>
> for you to fetch changes up to 6cb1d3b8517572031a22675280ec642972cdb395:
>
> tcg: Fix out-of-line generic vector compares (2018-04-06 23:08:50 +1000)
>
> ----------------------------------------------------------------
> Fix generic host vector compares.
>
> ----------------------------------------------------------------
> Richard Henderson (1):
> tcg: Fix out-of-line generic vector compares
>
> accel/tcg/tcg-runtime-gvec.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Applied, thanks.
-- PMM
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-04-06 14:52 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-06 13:14 [Qemu-devel] [PULL for-2.12 0/1] tcg vector fix Richard Henderson
2018-04-06 13:14 ` [Qemu-devel] [PULL for-2.12 1/1] tcg: Fix out-of-line generic vector compares Richard Henderson
2018-04-06 14:52 ` [Qemu-devel] [PULL for-2.12 0/1] tcg vector fix Peter Maydell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).