All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] target/arm: Make VQDMULL undefined when U=1
@ 2020-04-08 11:59 Fredrik Strupe
  2020-04-08 11:59 ` [PATCH 2/2] target/arm: Fail on invalid size for VMUL (float) Fredrik Strupe
  2020-04-30 15:51 ` [PATCH 1/2] target/arm: Make VQDMULL undefined when U=1 Peter Maydell
  0 siblings, 2 replies; 5+ messages in thread
From: Fredrik Strupe @ 2020-04-08 11:59 UTC (permalink / raw)
  To: qemu-devel, qemu-arm; +Cc: Fredrik Strupe

According to Arm ARM, VQDMULL is only valid when U=0, while having
U=1 is unallocated.

Signed-off-by: Fredrik Strupe <fredrik@strupe.net>
Fixes: 695272dcb976 ("target-arm: Handle UNDEF cases for Neon 3-regs-different-widths")
---
 target/arm/translate.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/arm/translate.c b/target/arm/translate.c
index 9f9f4e19e0..dfe9dbbcfd 100644
--- a/target/arm/translate.c
+++ b/target/arm/translate.c
@@ -5817,7 +5817,7 @@ static int disas_neon_data_insn(DisasContext *s, uint32_t insn)
                     {0, 0, 0, 0}, /* VMLSL */
                     {0, 0, 0, 9}, /* VQDMLSL */
                     {0, 0, 0, 0}, /* Integer VMULL */
-                    {0, 0, 0, 1}, /* VQDMULL */
+                    {0, 0, 0, 9}, /* VQDMULL */
                     {0, 0, 0, 0xa}, /* Polynomial VMULL */
                     {0, 0, 0, 7}, /* Reserved: always UNDEF */
                 };
-- 
2.20.1



^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-04-30 15:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-08 11:59 [PATCH 1/2] target/arm: Make VQDMULL undefined when U=1 Fredrik Strupe
2020-04-08 11:59 ` [PATCH 2/2] target/arm: Fail on invalid size for VMUL (float) Fredrik Strupe
2020-04-08 16:27   ` Peter Maydell
2020-04-09 17:36     ` Fredrik Strupe
2020-04-30 15:51 ` [PATCH 1/2] target/arm: Make VQDMULL undefined when U=1 Peter Maydell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.