Message ID | 20240617161210.4639-1-richard.henderson@linaro.org (mailing list archive) |
---|---|
Headers | show |
Series | target/i386: Reorg push/pop within seg_helper.c | expand |
On Mon, Jun 17, 2024 at 6:12 PM Richard Henderson <richard.henderson@linaro.org> wrote: > > Hi Paolo, > > Thanks for offering to do the work to fix the memory access issues > identified by Robert. > > Here is a code dump from this weekend that I noodled with -- it is > prep work only, not intending to change any semantics, but it may > be helpful in finishing the work. > > I considered adding a MemOp member to the structure, which would > allow the push/pop subroutine to choose the correct access width, > which would allow the callers to stop having 3 nearly identical > code paths. But I didn't quite get that far, and I don't yet > know if that would really work out wrt long-mode. Thanks, I had something working but your patch 3 is definitely prettier so I'll just rebase on top of these three. Paolo