[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[qemu-xen staging-4.19] target/arm: Fix SME ST1Q



commit 09640031edd4314b8b2b05235f3da8114b4d5d36
Author:     Richard Henderson <richard.henderson@xxxxxxxxxx>
AuthorDate: Tue Aug 22 17:31:13 2023 +0100
Commit:     Michael Tokarev <mjt@xxxxxxxxxx>
CommitDate: Sun Sep 10 19:39:41 2023 +0300

    target/arm: Fix SME ST1Q
    
    A typo, noted in the bug report, resulting in an
    incorrect write offset.
    
    Cc: qemu-stable@xxxxxxxxxx
    Fixes: 7390e0e9ab8 ("target/arm: Implement SME LD1, ST1")
    Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1833
    Signed-off-by: Richard Henderson <richard.henderson@xxxxxxxxxx>
    Reviewed-by: Philippe Mathieu-Daudé <philmd@xxxxxxxxxx>
    Message-id: 20230818214255.146905-1-richard.henderson@xxxxxxxxxx
    Signed-off-by: Peter Maydell <peter.maydell@xxxxxxxxxx>
    (cherry picked from commit 4b3520fd93cd49cc56dfcab45d90735cc2e35af7)
    Signed-off-by: Michael Tokarev <mjt@xxxxxxxxxx>
---
 target/arm/tcg/sme_helper.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/arm/tcg/sme_helper.c b/target/arm/tcg/sme_helper.c
index 1e67fcac30..296826ffe6 100644
--- a/target/arm/tcg/sme_helper.c
+++ b/target/arm/tcg/sme_helper.c
@@ -379,7 +379,7 @@ static inline void HNAME##_host(void *za, intptr_t off, 
void *host)         \
 {                                                                           \
     uint64_t *ptr = za + off;                                               \
     HOST(host, ptr[BE]);                                                    \
-    HOST(host + 1, ptr[!BE]);                                               \
+    HOST(host + 8, ptr[!BE]);                                               \
 }                                                                           \
 static inline void VNAME##_v_host(void *za, intptr_t off, void *host)       \
 {                                                                           \
--
generated by git-patchbot for /home/xen/git/qemu-xen.git#staging-4.19



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.