|
| From: | Philippe Mathieu-Daudé |
| Subject: | Re: [PATCH v3 34/57] tcg: Move TCGLabelQemuLdst to tcg.c |
| Date: | Wed, 26 Apr 2023 14:18:03 +0100 |
| User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 |
On 24/4/23 07:40, Richard Henderson wrote:
Signed-off-by: Richard Henderson <richard.henderson@linaro.org> --- tcg/tcg.c | 13 +++++++++++++ tcg/tcg-ldst.c.inc | 14 -------------- 2 files changed, 13 insertions(+), 14 deletions(-) diff --git a/tcg/tcg.c b/tcg/tcg.c
+typedef struct TCGLabelQemuLdst {
+ bool is_ld; /* qemu_ld: true, qemu_st: false */
+ MemOpIdx oi;
+ TCGType type; /* result type of a load */
+ TCGReg addrlo_reg; /* reg index for low word of guest virtual addr */
+ TCGReg addrhi_reg; /* reg index for high word of guest virtual addr */
+ TCGReg datalo_reg; /* reg index for low word to be loaded or stored */
+ TCGReg datahi_reg; /* reg index for high word to be loaded or stored
*/
+ const tcg_insn_unit *raddr; /* addr of the next IR of qemu_ld/st IR */
+ tcg_insn_unit *label_ptr[2]; /* label pointers to be updated */
+ QSIMPLEQ_ENTRY(TCGLabelQemuLdst) next;
Missing "qemu/queue.h" in header, otherwise: Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
+} TCGLabelQemuLdst;=
| [Prev in Thread] | Current Thread | [Next in Thread] |