On 5/17/26 22:29, James Hilliard wrote:
+ for (int i = 0; i < 8; i++) {
+ TCGv_i64 slot = tcg_temp_new_i64();
+
+ tcg_gen_addi_i64(slot, line, i * 16);
+ tcg_gen_qemu_st_i128(zero128, slot, ctx->mem_idx,
+ mo_endian(ctx) | MO_128);
+ }
Since you've changed to 128-bit store, you might want to use MO_ATOM_NONE. Otherwise
you're requesting 128-bit atomic stores, which are not available on all hosts. Neither
setting exactly matches hardware cacheline locking, so IMO either setting is equally
inaccurate.
r~