[Qemu-devel] [PATCH 00/11] target/arm: decodetree prep patches

Richard Henderson posted 11 patches 4 years, 8 months ago
Test asan passed
Test FreeBSD passed
Test checkpatch passed
Test docker-mingw@fedora passed
Test docker-clang@ubuntu passed
Test s390x failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20190807045335.1361-1-richard.henderson@linaro.org
Maintainers: Peter Maydell <peter.maydell@linaro.org>
target/arm/helper.h            |   1 -
target/arm/translate-a64.h     |   4 +-
target/arm/translate.h         |   5 +-
target/arm/op_helper.c         |  15 --
target/arm/translate-a64.c     | 109 +++++----
target/arm/translate-vfp.inc.c |  45 +---
target/arm/translate.c         | 397 +++++++++++++++------------------
7 files changed, 249 insertions(+), 327 deletions(-)
[Qemu-devel] [PATCH 00/11] target/arm: decodetree prep patches
Posted by Richard Henderson 4 years, 8 months ago
These are split out of my decodetree conversion of the
aarch32 general instructions.  With one exception, these
are all related to cleaning up how we refer to "PC".


r~


Richard Henderson (11):
  target/arm: Pass in pc to thumb_insn_is_16bit
  target/arm: Introduce pc_curr
  target/arm: Introduce read_pc
  target/arm: Introduce add_reg_for_lit
  target/arm: Remove redundant s->pc & ~1
  target/arm: Replace s->pc with s->base.pc_next
  target/arm: Replace offset with pc in gen_exception_insn
  target/arm: Replace offset with pc in gen_exception_internal_insn
  target/arm: Remove offset argument to gen_exception_bkpt_insn
  target/arm: Use unallocated_encoding for aarch32
  target/arm: Remove helper_double_saturate

 target/arm/helper.h            |   1 -
 target/arm/translate-a64.h     |   4 +-
 target/arm/translate.h         |   5 +-
 target/arm/op_helper.c         |  15 --
 target/arm/translate-a64.c     | 109 +++++----
 target/arm/translate-vfp.inc.c |  45 +---
 target/arm/translate.c         | 397 +++++++++++++++------------------
 7 files changed, 249 insertions(+), 327 deletions(-)

-- 
2.17.1


Re: [Qemu-devel] [PATCH 00/11] target/arm: decodetree prep patches
Posted by Peter Maydell 4 years, 8 months ago
On Wed, 7 Aug 2019 at 05:53, Richard Henderson
<richard.henderson@linaro.org> wrote:
>
> These are split out of my decodetree conversion of the
> aarch32 general instructions.  With one exception, these
> are all related to cleaning up how we refer to "PC".
>
>
> r~
>
>
> Richard Henderson (11):
>   target/arm: Pass in pc to thumb_insn_is_16bit
>   target/arm: Introduce pc_curr
>   target/arm: Introduce read_pc
>   target/arm: Introduce add_reg_for_lit
>   target/arm: Remove redundant s->pc & ~1
>   target/arm: Replace s->pc with s->base.pc_next
>   target/arm: Replace offset with pc in gen_exception_insn
>   target/arm: Replace offset with pc in gen_exception_internal_insn
>   target/arm: Remove offset argument to gen_exception_bkpt_insn
>   target/arm: Use unallocated_encoding for aarch32
>   target/arm: Remove helper_double_saturate

Whole series
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>

I have one query on 3/11 but the change itself is clearly
correct so it's just a question of if we need to tweak the
commit message. Once we've figured that out I'll apply the
series to target-arm.next.

thanks
-- PMM

Re: [Qemu-devel] [PATCH 00/11] target/arm: decodetree prep patches
Posted by Peter Maydell 4 years, 8 months ago
On Wed, 7 Aug 2019 at 18:52, Peter Maydell <peter.maydell@linaro.org> wrote:
>
> On Wed, 7 Aug 2019 at 05:53, Richard Henderson
> <richard.henderson@linaro.org> wrote:
> >
> > These are split out of my decodetree conversion of the
> > aarch32 general instructions.  With one exception, these
> > are all related to cleaning up how we refer to "PC".
> >
> >
> > r~
> >
> >
> > Richard Henderson (11):
> >   target/arm: Pass in pc to thumb_insn_is_16bit
> >   target/arm: Introduce pc_curr
> >   target/arm: Introduce read_pc
> >   target/arm: Introduce add_reg_for_lit
> >   target/arm: Remove redundant s->pc & ~1
> >   target/arm: Replace s->pc with s->base.pc_next
> >   target/arm: Replace offset with pc in gen_exception_insn
> >   target/arm: Replace offset with pc in gen_exception_internal_insn
> >   target/arm: Remove offset argument to gen_exception_bkpt_insn
> >   target/arm: Use unallocated_encoding for aarch32
> >   target/arm: Remove helper_double_saturate
>
> Whole series
> Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
>
> I have one query on 3/11 but the change itself is clearly
> correct so it's just a question of if we need to tweak the
> commit message. Once we've figured that out I'll apply the
> series to target-arm.next.

Now applied to target-arm.next with the agreed commit tweak.

thanks
-- PMM