Added support for RISC-V PAUSE instruction from Zihintpause extension,
enabled by default.
Tested-by: Heiko Stuebner
Reviewed-by: Alistair Francis
Signed-off-by: Dao Lu
---
target/riscv/cpu.c | 2 ++
target/riscv/cpu.h | 1 +
target/riscv/insn32
the trans_pause function
v2 -> v3
No changes, v2 was lost from the list
v3 -> v4
No longer break the reservation in trans_pause
v4 -> v5
Rabase on top of https://github.com/alistair23/qemu/tree/riscv-to-apply.next
Dao Lu (1):
Add Zihintpause support
target/riscv/cpu.c
Will do, thanks!
Dao
On Wed, Jul 20, 2022 at 10:31 PM Alistair Francis wrote:
>
> On Tue, Jul 19, 2022 at 4:02 AM Dao Lu wrote:
> >
> > ping
>
> Sorry for the delay.
>
> Do you mind rebasing this on
> https://github.com/alistair23/qemu/tree/riscv-to-apply.nex
ping
On Tue, Jul 5, 2022 at 10:49 AM Dao Lu wrote:
>
> Added support for RISC-V PAUSE instruction from Zihintpause extension,
> enabled by default.
>
> Tested-by: Heiko Stuebner
> Signed-off-by: Dao Lu
> ---
> target/riscv/cpu.c | 2
the trans_pause function
v2 -> v3
No changes, v2 was lost from the list
v3 -> v4
No longer break the reservation in trans_pause
Dao Lu (1):
Add Zihintpause support
target/riscv/cpu.c | 2 ++
target/riscv/cpu.h | 1 +
target/riscv/insn
Added support for RISC-V PAUSE instruction from Zihintpause extension,
enabled by default.
Tested-by: Heiko Stuebner
Signed-off-by: Dao Lu
---
target/riscv/cpu.c | 2 ++
target/riscv/cpu.h | 1 +
target/riscv/insn32.decode | 7
That sounds reasonable to me. Will change in the next version.
Thanks,
Dao
On Sun, Jun 26, 2022 at 10:13 PM Alistair Francis wrote:
>
> On Wed, Jun 22, 2022 at 2:17 AM Dao Lu wrote:
> >
> > From what I know that's generally the way reservations are handled:
>
lways do that). So this is legal, as would be not breaking the reservation.
I don't have a strong opinion on this and am fine about changing it if
anyone does.
Thanks,
Dao
On Mon, Jun 20, 2022 at 4:39 PM Alistair Francis wrote:
>
> On Thu, Jun 9, 2022 at 2:42 PM Dao Lu wrote:
> >
USE macro inside the trans_pause function
v2 -> v3
No changes, v2 was lost from the list
Dao Lu (1):
Add Zihintpause support
target/riscv/cpu.c | 2 ++
target/riscv/cpu.h | 1 +
target/riscv/insn32.decode | 7 ++-
target
Added support for RISC-V PAUSE instruction from Zihintpause extension,
enabled by default.
Tested-by: Heiko Stuebner
Signed-off-by: Dao Lu
---
target/riscv/cpu.c | 2 ++
target/riscv/cpu.h | 1 +
target/riscv/insn32.decode | 7
Please ignore, I have missed the commit message, will resend a v3.
Sorry about that.
Dao
On Tue, Jun 7, 2022 at 8:44 PM Dao Lu wrote:
>
> Tested-by: Heiko Stuebner
> Signed-off-by: Dao Lu
> ---
> target/riscv/cpu.c | 2 ++
> target/riscv/cpu.h
Tested-by: Heiko Stuebner
Signed-off-by: Dao Lu
---
target/riscv/cpu.c | 2 ++
target/riscv/cpu.h | 1 +
target/riscv/insn32.decode | 7 ++-
target/riscv/insn_trans/trans_rvi.c.inc | 18 ++
4 files changed, 27
USE macro inside the trans_pause function
v2 -> v3
No changes, v2 was lost from the list
Dao Lu (1):
Add Zihintpause support
target/riscv/cpu.c | 2 ++
target/riscv/cpu.h | 1 +
target/riscv/insn32.decode | 7 ++-
target
Hi Alistair,
Thanks for the response. I don't think I can find any comments
on this patch though, could you help point me to them?
Thanks,
Dao
On Tue, Jun 7, 2022 at 4:04 PM Alistair Francis wrote:
>
> On Wed, Jun 8, 2022 at 8:59 AM Dao Lu wrote:
> >
> > Ping
>
&g
Ping
On Tue, May 24, 2022 at 1:36 PM Dao Lu wrote:
>
> Tested-by: Heiko Stuebner
> Signed-off-by: Dao Lu
> ---
> target/riscv/cpu.c | 2 ++
> target/riscv/cpu.h | 1 +
> target/riscv/insn32.decode | 7 ++-
>
);
+gen_set_pc_imm(ctx, ctx->pc_succ_insn);
+tcg_gen_exit_tb(NULL, 0);
+ctx->base.is_jmp = DISAS_NORETURN;
return true;
}
I will wait a bit to see if there are any more comments.
On Tue, May 10, 2022 at 8:43 AM Richard Henderson <
richard.hender...@linaro.org> wrote:
> On 5/
Tested along with pause support added to cpu_relax function for linux, the
changes I made to linux to test can be found here:
https://github.com/dlu42/linux/tree/pause_support_v1
Dao Lu (1):
Add Zihintpause support
target/riscv/cpu.c | 2 ++
target/riscv/cpu.h
Added support for RISC-V PAUSE instruction from Zihintpause extension, enabeld
by default.
Signed-off-by: Dao Lu
---
target/riscv/cpu.c | 2 ++
target/riscv/cpu.h | 1 +
target/riscv/insn32.decode | 7 ++-
target/riscv/insn_trans
18 matches
Mail list logo