Hi Richard,

On Wed, 2026-10-28 at 05:51 -0500, Richard Henderson wrote:

> 
> tcg_gen_brcondi_tl(TCG_COND_TSTNE, addr, 31, skip);

Thanks, adopting in v2.

> You don't need to store to offset 0, because...
> ... that's done here.

Yes, for stxa and stdfa, but stba/stha/stwa with the same ASIs also reach
gen_blkinit_zero() through gen_st_asi().

I tested on the T4, and those zero the rest of the first doubleword
as well (v = stored byte, 0 = zeroed, one 32-byte block):

  stba off=0:  v0000000000000000000000000000000
  stha off=0:  vv000000000000000000000000000000
  stwa off=0:  vvvv0000000000000000000000000000

So v2 skips offset 0 only for 8-byte stores.

Thanks for the review!

/Stian

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to