All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] target/riscv: fixup atomic implementation
@ 2020-06-29 13:07 ` LIU Zhiwei
  0 siblings, 0 replies; 14+ messages in thread
From: LIU Zhiwei @ 2020-06-29 13:07 UTC (permalink / raw)
  To: qemu-devel, qemu-riscv
  Cc: richard.henderson, wxy194768, wenmeng_zhang, Alistair.Francis,
	palmer, LIU Zhiwei

When I tested RVA with RISU, I found there is something wrong.
In particular, amo*.w instructions should only operate the lowerest 32
bits. However, the current implementation uses the whole XLEN bits.

LIU Zhiwei (2):
  tcg/tcg-op: Fix nonatomic_op load with MO_SIGN
  target/riscv: Do amo*.w insns operate with 32 bits

 target/riscv/insn_trans/trans_rva.inc.c | 60 +++++++++++++++++++------
 tcg/tcg-op.c                            |  4 +-
 2 files changed, 49 insertions(+), 15 deletions(-)

-- 
2.23.0



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

end of thread, other threads:[~2020-06-30 15:39 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-29 13:07 [PATCH 0/2] target/riscv: fixup atomic implementation LIU Zhiwei
2020-06-29 13:07 ` LIU Zhiwei
2020-06-29 13:07 ` [PATCH 1/2] tcg/tcg-op: Fix nonatomic_op load with MO_SIGN LIU Zhiwei
2020-06-29 13:07   ` LIU Zhiwei
2020-06-30 14:56   ` Richard Henderson
2020-06-30 14:56     ` Richard Henderson
2020-06-30 15:22     ` LIU Zhiwei
2020-06-30 15:22       ` LIU Zhiwei
2020-06-29 13:07 ` [PATCH 2/2] target/riscv: Do amo*.w insns operate with 32 bits LIU Zhiwei
2020-06-29 13:07   ` LIU Zhiwei
2020-06-30 15:00   ` Richard Henderson
2020-06-30 15:00     ` Richard Henderson
2020-06-30 15:38     ` LIU Zhiwei
2020-06-30 15:38       ` LIU Zhiwei

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.