qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/3] target/loongarch: Improve feature gating for instruction translation
@ 2025-04-18  8:21 WANG Rui
  2025-04-18  8:21 ` [PATCH v4 1/3] target/loongarch: Add CRC feature flag and use it to gate CRC instructions WANG Rui
                   ` (2 more replies)
  0 siblings, 3 replies; 16+ messages in thread
From: WANG Rui @ 2025-04-18  8:21 UTC (permalink / raw)
  To: Gao Song
  Cc: qemu-devel, bibo mao, Philippe Mathieu-Daudé, qemu, WANG Rui

This series refines feature gating for LoongArch instruction translation
in TCG to improve correctness and configurability.

v4:
 - Split into smaller patches for clarity and easier review.

WANG Rui (3):
  target/loongarch: Add CRC feature flag and use it to gate CRC
    instructions
  target/loongarch: Guard BCEQZ/BCNEZ instructions with FP feature
  target/loongarch: Guard 64-bit-only insn translation with TRANS64
    macro

 target/loongarch/cpu.c                        |  4 +--
 target/loongarch/cpu.h                        |  2 +-
 .../tcg/insn_trans/trans_atomic.c.inc         | 36 +++++++++----------
 .../tcg/insn_trans/trans_branch.c.inc         |  4 +--
 .../tcg/insn_trans/trans_extra.c.inc          | 20 ++++++-----
 .../tcg/insn_trans/trans_privileged.c.inc     |  4 +--
 .../tcg/insn_trans/trans_shift.c.inc          |  4 +--
 .../loongarch/tcg/insn_trans/trans_vec.c.inc  | 16 ++++-----
 target/loongarch/translate.h                  |  5 +++
 9 files changed, 52 insertions(+), 43 deletions(-)

-- 
2.49.0



^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2025-04-24 11:10 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-18  8:21 [PATCH v4 0/3] target/loongarch: Improve feature gating for instruction translation WANG Rui
2025-04-18  8:21 ` [PATCH v4 1/3] target/loongarch: Add CRC feature flag and use it to gate CRC instructions WANG Rui
2025-04-18  8:32   ` bibo mao
2025-04-18  9:54   ` Philippe Mathieu-Daudé
2025-04-18  8:21 ` [PATCH v4 2/3] target/loongarch: Guard BCEQZ/BCNEZ instructions with FP feature WANG Rui
2025-04-18  8:34   ` bibo mao
2025-04-18  8:21 ` [PATCH v4 3/3] target/loongarch: Guard 64-bit-only insn translation with TRANS64 macro WANG Rui
2025-04-18  8:45   ` bibo mao
2025-04-24  1:43     ` gaosong
2025-04-24  2:11       ` WANG Rui
2025-04-24  2:31         ` bibo mao
2025-04-24  2:59           ` WANG Rui
2025-04-24  4:10             ` bibo mao
2025-04-24  4:28               ` WANG Rui
2025-04-24 11:09                 ` Jiaxun Yang
2025-04-18  9:53   ` Philippe Mathieu-Daudé

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).