Hi Mohamed,

On Sat, Oct 4, 2025 at 12:22 AM Mohamed Mediouni
<[email protected]> wrote:
>

> Hello,
>
> If you’re targeting Apple chips, note that RCpc is really slow on those
> as they expect you to use the hardware TSO mode instead.
>
> But to get TSO mode on those you’ll need to use HVF…

It is for general ARMv8.4+ CPUs where there is no TSO mode. Hence why
I am planning to use the RCpc instructions.


> > How does TCG check for alignment? How do I check if the guest memory
> > access is within the 16-byte alignment? Will alignment fault be raised
> > if it is not?
> The hardware will raise an alignment fault in that case. Other emulators
> then do backpatching to a barrier-reliant sequence in that case.

Do we have to add support in QEMU to handle this alignment fault? I
recall there being alignment checks for loads/stores but I wasn't
quite sure.

Thanks,
-- 
Pranith

Reply via email to