[RFC PATCH 0/4] target/ppc: code motion to compile translate_init

Bruno Larsen (billionai) posted 4 patches 3 years ago
Failed in applying to current master (apply log)
.../ppc/{translate_init.c.inc => cpu_init.c}  | 5414 +----------------
target/ppc/internal.h                         |  114 +
target/ppc/meson.build                        |    2 +
target/ppc/spr_common.c                       | 2943 +++++++++
target/ppc/spr_tcg.c.inc                      | 1002 +++
target/ppc/spr_tcg.h                          |  132 +
target/ppc/translate.c                        |  446 +-
7 files changed, 4863 insertions(+), 5190 deletions(-)
rename target/ppc/{translate_init.c.inc => cpu_init.c} (50%)
create mode 100644 target/ppc/spr_common.c
create mode 100644 target/ppc/spr_tcg.c.inc
create mode 100644 target/ppc/spr_tcg.h
[RFC PATCH 0/4] target/ppc: code motion to compile translate_init
Posted by Bruno Larsen (billionai) 3 years ago
The current patch series aims to isolate common code from translation-related
code. This isolation is required to disable TCG at build time, and the
final system still work.

This patch series is still WIP, so comments are welcome

Bruno Larsen (billionai) (4):
  target/ppc: move opcode table logic to translate.c
  target/ppc: isolated SPR read/write callbacks
  target/ppc: Move SPR generation to separate file
  target/ppc: isolated cpu init from translation logic

 .../ppc/{translate_init.c.inc => cpu_init.c}  | 5414 +----------------
 target/ppc/internal.h                         |  114 +
 target/ppc/meson.build                        |    2 +
 target/ppc/spr_common.c                       | 2943 +++++++++
 target/ppc/spr_tcg.c.inc                      | 1002 +++
 target/ppc/spr_tcg.h                          |  132 +
 target/ppc/translate.c                        |  446 +-
 7 files changed, 4863 insertions(+), 5190 deletions(-)
 rename target/ppc/{translate_init.c.inc => cpu_init.c} (50%)
 create mode 100644 target/ppc/spr_common.c
 create mode 100644 target/ppc/spr_tcg.c.inc
 create mode 100644 target/ppc/spr_tcg.h

-- 
2.17.1


Re: [RFC PATCH 0/4] target/ppc: code motion to compile translate_init
Posted by Richard Henderson 3 years ago
On 4/23/21 12:18 PM, Bruno Larsen (billionai) wrote:
> The current patch series aims to isolate common code from translation-related
> code. This isolation is required to disable TCG at build time, and the
> final system still work.
> 
> This patch series is still WIP, so comments are welcome
> 
> Bruno Larsen (billionai) (4):
>    target/ppc: move opcode table logic to translate.c
>    target/ppc: isolated SPR read/write callbacks
>    target/ppc: Move SPR generation to separate file
>    target/ppc: isolated cpu init from translation logic

This does not apply to master.  You should say what the patch requirements are.


r~

RE: [RFC PATCH 0/4] target/ppc: code motion to compile translate_init
Posted by Bruno Piazera Larsen 3 years ago
> > The current patch series aims to isolate common code from translation-related
> > code. This isolation is required to disable TCG at build time, and the
> > final system still work.
> >
> > This patch series is still WIP, so comments are welcome
> >
> > Bruno Larsen (billionai) (4):
> >    target/ppc: move opcode table logic to translate.c
> >    target/ppc: isolated SPR read/write callbacks
> >    target/ppc: Move SPR generation to separate file
> >    target/ppc: isolated cpu init from translation logic
>
> This does not apply to master.  You should say what the patch requirements are.

Oh, right, sorry! This patch series is based on my patch from April 14th, subject:
[PATCH v3] target/ppc: code motion from translate_init.c.inc to gdbstub.c


Bruno Piazera Larsen

Instituto de Pesquisas ELDORADO<http://clickemailmkt.eldorado.org.br/ls/click?upn=UPoxpeIcHnAcbUZyo7TTaswyiVb1TXP3jEbQqiiJKKGsxOn8hBEs5ZsMLQfXkKuKXZ7MVDg0ij9eG8HV4TXI75dBzDiNGLxQ8Xx5PzCVNt6TpGrzBbU-2Biu0o69X5ce-2FW-2FOk1uUipuK0fZnWXJEgbRw-3D-3DJY4T_wWk-2BG6VvNBoa1YzxYjhCdFS9IfANIaBzDSklR1NyyrKOI1wj0P-2BdBFcuO4FnHcsA1MyHu0ly1Yt3oDMp7KKdJPM68iKuI2jiRH5v4B0d8wf3chU3qy5n5iXWnW1QjSaNFHOgELzxaP-2FnesTeBgJ5dFkjH4f279sVQpOtyjw5xAqj34M6pgNRAxVvuXif4IWDcVzXg1FzfYlEfkKzr9vvpA3Hg8kitwMtlU3zwbQUBCgL30fQoJPcRPMGKyOY8RmoAlXNqTJYDYIvqmfnI7KLUvw6vKB5R-2B5q1FJRAzX7H-2BmF0NnDET6jMLuIqtCcVIch>

Departamento Computação Embarcada

Analista de Software Trainee

Aviso Legal - Disclaimer<https://www.eldorado.org.br/disclaimer.html>