[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 018/126] target/riscv/cpu: Move Floating-Point fields closer
From: |
Philippe Mathieu-Daudé |
Subject: |
[PULL 018/126] target/riscv/cpu: Move Floating-Point fields closer |
Date: |
Mon, 27 Feb 2023 15:00:25 +0100 |
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20221217172907.8364-7-philmd@linaro.org>
---
target/riscv/cpu.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/target/riscv/cpu.h b/target/riscv/cpu.h
index d8e72c3e7c..31537fc05f 100644
--- a/target/riscv/cpu.h
+++ b/target/riscv/cpu.h
@@ -148,7 +148,6 @@ typedef struct PMUCTRState {
struct CPUArchState {
target_ulong gpr[32];
target_ulong gprh[32]; /* 64 top bits of the 128-bit registers */
- uint64_t fpr[32]; /* assume both F and D extensions */
/* vector coprocessor state. */
uint64_t vreg[32 * RV_VLEN_MAX / 64] QEMU_ALIGNED(16);
@@ -163,7 +162,10 @@ struct CPUArchState {
target_ulong load_res;
target_ulong load_val;
+ /* Floating-Point state */
+ uint64_t fpr[32]; /* assume both F and D extensions */
target_ulong frm;
+ float_status fp_status;
target_ulong badaddr;
target_ulong bins;
@@ -379,8 +381,6 @@ struct CPUArchState {
target_ulong cur_pmmask;
target_ulong cur_pmbase;
- float_status fp_status;
-
/* Fields from here on are preserved across CPU reset. */
QEMUTimer *stimer; /* Internal timer for S-mode interrupt */
QEMUTimer *vstimer; /* Internal timer for VS-mode interrupt */
--
2.38.1
- [RESEND PULL 000/126] Buildsys / QOM / QDev / UI patches for 2023-02-27, Philippe Mathieu-Daudé, 2023/02/27
- [PULL 011/126] target/hppa: Extract system helpers to sys_helper.c, Philippe Mathieu-Daudé, 2023/02/27
- [PULL 012/126] target/alpha: Remove obsolete STATUS document, Philippe Mathieu-Daudé, 2023/02/27
- [PULL 013/126] target/loongarch/cpu: Remove unused "sysbus.h" header, Philippe Mathieu-Daudé, 2023/02/27
- [PULL 014/126] target/loongarch/cpu: Restrict "memory.h" header to sysemu, Philippe Mathieu-Daudé, 2023/02/27
- [PULL 015/126] target/ppc/internal: Restrict MMU declarations to sysemu, Philippe Mathieu-Daudé, 2023/02/27
- [PULL 016/126] target/ppc/kvm: Remove unused "sysbus.h" header, Philippe Mathieu-Daudé, 2023/02/27
- [PULL 017/126] target/ppc: Fix warning with clang-15, Philippe Mathieu-Daudé, 2023/02/27
- [PULL 018/126] target/riscv/cpu: Move Floating-Point fields closer,
Philippe Mathieu-Daudé <=
- [PULL 019/126] target/sparc/sysemu: Remove pointless CONFIG_USER_ONLY guard, Philippe Mathieu-Daudé, 2023/02/27
- [PULL 020/126] target/xtensa/cpu: Include missing "memory.h" header, Philippe Mathieu-Daudé, 2023/02/27
- [PULL 021/126] target/tricore: Remove unused fields from CPUTriCoreState, Philippe Mathieu-Daudé, 2023/02/27
- [PULL 022/126] qom/object_interfaces: Fix QAPI headers included, Philippe Mathieu-Daudé, 2023/02/27
- [PULL 023/126] trace: Do not try to include QMP commands in user emulation binaries, Philippe Mathieu-Daudé, 2023/02/27
- [PULL 024/126] exec: Remove unused 'qemu/timer.h' timer, Philippe Mathieu-Daudé, 2023/02/27
- [PULL 025/126] tcg: Silent -Wmissing-field-initializers warning, Philippe Mathieu-Daudé, 2023/02/27
- [PULL 026/126] tcg/tcg-op-gvec: Remove unused "qemu/main-loop.h" header, Philippe Mathieu-Daudé, 2023/02/27
- [PULL 027/126] accel/tcg: Restrict 'qapi-commands-machine.h' to system emulation, Philippe Mathieu-Daudé, 2023/02/27
- [PULL 030/126] sysemu/kvm: Remove CONFIG_USER_ONLY guard, Philippe Mathieu-Daudé, 2023/02/27