On Tue, Mar 10, 2026 at 10:08 PM Brian Cain <[email protected]>
wrote:

> Implement the frame limit check for system emulation mode.  When
> allocframe computes a new stack pointer below FRAMELIMIT, raise a
> precise exception (HEX_CAUSE_STACK_LIMIT).  The check is skipped in
> monitor mode.
>
> Signed-off-by: Brian Cain <[email protected]>
> ---
>  target/hexagon/helper.h     |  1 +
>  target/hexagon/macros.h     |  3 ---
>  target/hexagon/sys_macros.h |  4 ++++
>  target/hexagon/translate.h  |  2 ++
>  target/hexagon/genptr.c     | 18 +++++++++++-------
>  target/hexagon/op_helper.c  | 34 ++++++++++++++++++++++++++++++++++
>  6 files changed, 52 insertions(+), 10 deletions(-)
>

Reviewed-by: Taylor Simpson <[email protected]>

Reply via email to