[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/7] target/mips: Add translate.h and fpu_translate.h headers
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH 0/7] target/mips: Add translate.h and fpu_translate.h headers |
Date: |
Tue, 8 Dec 2020 00:55:32 +0100 |
As the 'extract MSA' series keep growing, yet another
preliminary series.
Basically we add declarations for everything that will
be reused by code extracted from the big translate.c.
Doing so now, we avoid the intermediate step of using
.c.inc files, and we compile as different objects.
(We would have to do this later anyway).
Slower, as it involve more series, but we can bisect.
This series is common to the other 'extract XYZ from
translate.c' series.
Regards,
Phil.
Based-on: mips-next (https://gitlab.com/philmd/qemu/-/tree/mips-next)
Philippe Mathieu-Daudé (7):
target/mips/translate: Extract DisasContext structure
target/mips/translate: Add declarations for generic code
target/mips: Use FloatRoundMode enum for FCR31 modes conversion
target/mips: Extract FPU helpers to 'fpu_helper.h'
target/mips/fpu_helper: Remove unused headers
target/mips: Declare generic FPU functions in 'fpu_translate.h'
target/mips: Extract FPU specific definitions to fpu_translate.h
target/mips/fpu_helper.h | 59 +++++++++++++
target/mips/fpu_translate.h | 96 +++++++++++++++++++++
target/mips/internal.h | 49 -----------
target/mips/translate.h | 83 ++++++++++++++++++
linux-user/mips/cpu_loop.c | 1 +
target/mips/fpu_helper.c | 7 +-
target/mips/gdbstub.c | 1 +
target/mips/kvm.c | 1 +
target/mips/machine.c | 1 +
target/mips/msa_helper.c | 1 +
target/mips/op_helper.c | 1 +
target/mips/translate.c | 163 +++++-------------------------------
12 files changed, 267 insertions(+), 196 deletions(-)
create mode 100644 target/mips/fpu_helper.h
create mode 100644 target/mips/fpu_translate.h
create mode 100644 target/mips/translate.h
--
2.26.2
- [PATCH 0/7] target/mips: Add translate.h and fpu_translate.h headers,
Philippe Mathieu-Daudé <=
- [PATCH 1/7] target/mips/translate: Extract DisasContext structure, Philippe Mathieu-Daudé, 2020/12/07
- [PATCH 2/7] target/mips/translate: Add declarations for generic code, Philippe Mathieu-Daudé, 2020/12/07
- [PATCH 4/7] target/mips: Extract FPU helpers to 'fpu_helper.h', Philippe Mathieu-Daudé, 2020/12/07
- [PATCH 5/7] target/mips/fpu_helper: Remove unused headers, Philippe Mathieu-Daudé, 2020/12/07
- [PATCH 3/7] target/mips: Use FloatRoundMode enum for FCR31 modes conversion, Philippe Mathieu-Daudé, 2020/12/07
- [PATCH 6/7] target/mips: Declare generic FPU functions in 'fpu_translate.h', Philippe Mathieu-Daudé, 2020/12/07