qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RFC 2/2] target/riscv: rvv: improve performance of RISC-V vector lo


From: Richard Henderson
Subject: Re: [RFC 2/2] target/riscv: rvv: improve performance of RISC-V vector loads and stores on large amounts of data.
Date: Tue, 10 Sep 2024 11:18:03 -0700
User-agent: Mozilla Thunderbird

On 9/10/24 04:20, Paolo Savini wrote:
Thanks for the feedback Richard, I'm working on the endianness. Could you please give me more details about the atomicity issues you are referring to?

For instance a 32-bit atomic memory operation in the guest must be implemented with a >= 32-bit atomic memory operation in the host.

The main thing to remember is that memcpy() has no atomicity guarantee. It could be implemented as a byte loop. Thus you may only use memcpy with guest byte vectors.



r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]