|
From: | Richard Henderson |
Subject: | Re: [PATCH] target/arm: Do not use gen_mte_checkN in trans_STGP |
Date: | Thu, 3 Aug 2023 07:42:19 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 |
On 8/3/23 06:10, Peter Maydell wrote:
On Thu, 27 Jul 2023 at 17:33, Richard Henderson- mop = MO_128; - if (s->align_mem) { - mop |= MO_ALIGN_8; - } - mop = finalize_memop_pair(s, mop); + mop = MO_128 | MO_ALIGN | MO_ATOM_IFALIGN_PAIR;So here we're implicitly assuming TAG_GRANULE is 16 and then relying on the codegen for a MO_128 | MO_ALIGN operation to give us the alignment fault if the guest address isn't aligned to the tag granule, right ?
Yes.
Previously we also put s->be_data into the MemOp (via finalize_memop_pair() calling finalize_memop_atom()). Don't we still need to do that ?
Whoops, yes. r~
[Prev in Thread] | Current Thread | [Next in Thread] |