Re: [PATCH v2 16/22] tcg/aarch64: Reorg goto_tb implementation

2023-01-17 Thread Alex Bennée
Richard Henderson writes: > The old implementation replaces two insns, swapping between > > b > nop > br x30 > and > adrpx30, > addix30, x30, lo12: > br x30 > > There is a race condition in which a thread could be stopped at > the PC

[PATCH v2 16/22] tcg/aarch64: Reorg goto_tb implementation

2023-01-08 Thread Richard Henderson
The old implementation replaces two insns, swapping between b nop br x30 and adrpx30, addix30, x30, lo12: br x30 There is a race condition in which a thread could be stopped at the PC of the second insn, and when restarted