qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH 0/2] ARM: fix VLD of one element to all lanes


From: Peter Maydell
Subject: [Qemu-devel] [PATCH 0/2] ARM: fix VLD of one element to all lanes
Date: Tue, 15 Mar 2011 16:26:50 +0000

This patchset fixes various bugs in the implementation of the Neon
instructions loading a single element to all lanes.

The primary bug is that VLD1's "single element to all lanes" form differs
from those for VLD2, VLD3 and VLD4 in that bit 5 indicates whether the
loaded element should be written to one or two Dregs, rather than being a
register stride. (This is the issue addressed by Meego commit 6f3b4ee,
although my choice of fix is different.)

We were also incorrectly UNDEFfing VLD4.32 with 16 byte alignment
specifier, failing to UNDEF for invalid size and alignment combinations,
and leaking a TCG temporary on the UNDEF code paths.

Tested via the usual random instruction set testing, and also with the
valgrind 'neon64' test case.

Peter Maydell (2):
  target-arm: Fix VLD of single element to all lanes
  target-arm: Don't leak TCG temp for UNDEFs in Neon load/store space

 target-arm/translate.c |   92 ++++++++++++++++++++++++++++++++++--------------
 1 files changed, 65 insertions(+), 27 deletions(-)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]