All of lore.kernel.org
 help / color / mirror / Atom feed
* TCG op for 32 bit only cpu on qemu-riscv64
@ 2021-06-07  3:07 ` LIU Zhiwei
  0 siblings, 0 replies; 16+ messages in thread
From: LIU Zhiwei @ 2021-06-07  3:07 UTC (permalink / raw)
  To: QEMU Developers, open list:RISC-V TCG CPUs
  Cc: Alistair Francis, Bin Meng, Richard Henderson, Palmer Dabbelt

Hi Alistair,

As I see,  we are moving  on to remove TARGET_RISCV64 macro.

I have some questions:

1) Which tcg op should use when translate an instruction for 32bit cpu. 
The tcg_*_i64, tcg_*_i32 or tcg_*_tl?
I see some API such as gen_get_gpr that are using the tcg_*_tl. But I am 
not sure if it is
right for 32bit cpu.

2) Do we should have a sign-extend 64 bit register(bit 31 as the sign 
bit)  for 32 bit cpu?

Best Regards,
Zhiwei



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

end of thread, other threads:[~2021-06-11  2:34 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-07  3:07 TCG op for 32 bit only cpu on qemu-riscv64 LIU Zhiwei
2021-06-07  3:07 ` LIU Zhiwei
2021-06-07  6:22 ` Alistair Francis
2021-06-07  6:22   ` Alistair Francis
2021-06-07  9:22   ` LIU Zhiwei
2021-06-07  9:22     ` LIU Zhiwei
2021-06-07 15:59     ` Richard Henderson
2021-06-07 15:59       ` Richard Henderson
2021-06-07 15:52 ` Richard Henderson
2021-06-07 15:52   ` Richard Henderson
2021-06-10  1:43   ` LIU Zhiwei
2021-06-10  1:43     ` LIU Zhiwei
2021-06-10 13:29     ` Richard Henderson
2021-06-10 13:29       ` Richard Henderson
2021-06-11  2:33       ` LIU Zhiwei
2021-06-11  2:33         ` 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.