Re: [PATCH 18/23] tcg/tci: Move stack bounds check to compile-time

2021-01-28 Thread Alex Bennée
Richard Henderson writes: > The existing check was incomplete: > (1) Only applied to two of the 7 stores, and not to the loads at all. > (2) Only checked the upper, but not the lower bound of the stack. > > Doing this at compile time means that we don't need to do it > at runtime as well. You

[PATCH 18/23] tcg/tci: Move stack bounds check to compile-time

2021-01-28 Thread Richard Henderson
The existing check was incomplete: (1) Only applied to two of the 7 stores, and not to the loads at all. (2) Only checked the upper, but not the lower bound of the stack. Doing this at compile time means that we don't need to do it at runtime as well. Signed-off-by: Richard Henderson --- tcg/tc