qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH 0/2] target-arm: fix srs bugs


From: Peter Maydell
Subject: [Qemu-devel] [PATCH 0/2] target-arm: fix srs bugs
Date: Fri, 15 Feb 2013 14:18:36 +0000

This patchset fixes a couple of bugs in the handling of the SRS
instruction in the Thumb decoder, by refactoring the code so that
it is shared with the ARM decoder (where those bugs were fixed
or never present). The most significant one is LP:1079080, where
we were simply not storing the right thing at all (cpsr not spsr).
I also noticed that we weren't UNDEFfing these insns on M profile,
so patch 2 fixes that.

(Yes, despite that fact I combined two near-identical bits of
code into one, by the time I fixed the coding style and added a
comment it comes out as adding more lines than it deletes...)

[Insert srs lolcat joke of your choice here.]

Peter Maydell (2):
  target-arm: Factor out handling of SRS instruction
  target-arm: Don't decode RFE or SRS on M profile cores

 target-arm/translate.c |  141 ++++++++++++++++++++++++------------------------
 1 file changed, 72 insertions(+), 69 deletions(-)

-- 
1.7.9.5




reply via email to

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