[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 19/23] tcg/tci: Merge INDEX_op_{st_i32,st32_i64}
From: |
Richard Henderson |
Subject: |
[PATCH 19/23] tcg/tci: Merge INDEX_op_{st_i32,st32_i64} |
Date: |
Wed, 27 Jan 2021 22:23:27 -1000 |
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
tcg/tci.c | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/tcg/tci.c b/tcg/tci.c
index c4c303f874..66b90f8489 100644
--- a/tcg/tci.c
+++ b/tcg/tci.c
@@ -620,6 +620,7 @@ uintptr_t QEMU_DISABLE_CFI tcg_qemu_tb_exec(CPUArchState
*env,
*(uint16_t *)(t1 + t2) = t0;
break;
case INDEX_op_st_i32:
+ case INDEX_op_st32_i64:
t0 = tci_read_r32(regs, &tb_ptr);
t1 = tci_read_r(regs, &tb_ptr);
t2 = tci_read_s32(&tb_ptr);
@@ -868,12 +869,6 @@ uintptr_t QEMU_DISABLE_CFI tcg_qemu_tb_exec(CPUArchState
*env,
t2 = tci_read_s32(&tb_ptr);
tci_write_reg(regs, t0, *(uint64_t *)(t1 + t2));
break;
- case INDEX_op_st32_i64:
- t0 = tci_read_r32(regs, &tb_ptr);
- t1 = tci_read_r(regs, &tb_ptr);
- t2 = tci_read_s32(&tb_ptr);
- *(uint32_t *)(t1 + t2) = t0;
- break;
case INDEX_op_st_i64:
t0 = tci_read_r64(regs, &tb_ptr);
t1 = tci_read_r(regs, &tb_ptr);
--
2.25.1
- Re: [PATCH 18/23] tcg/tci: Move stack bounds check to compile-time, (continued)
- [PATCH 21/23] tcg/tci: Remove dead code for TCG_TARGET_HAS_div2_*, Richard Henderson, 2021/01/28
- [PATCH 23/23] tcg/tci: Remove TODO as unused, Richard Henderson, 2021/01/28
- [PATCH 20/23] tcg/tci: Use g_assert_not_reached, Richard Henderson, 2021/01/28
- [PATCH 19/23] tcg/tci: Merge INDEX_op_{st_i32,st32_i64},
Richard Henderson <=
- [PATCH 22/23] tcg/tci: Implement 64-bit division, Richard Henderson, 2021/01/28
- Re: [PATCH 00/23] TCI fixes and cleanups, Alex Bennée, 2021/01/28
- Re: [PATCH 00/23] TCI fixes and cleanups, Alex Bennée, 2021/01/28