aarch64: Add longjmp test for SME
commit0c12c8c0cb5450cca69c36991803aef838406d6f
authorSzabolcs Nagy <szabolcs.nagy@arm.com>
Tue, 21 Dec 2021 13:49:37 +0000 (21 13:49 +0000)
committerSzabolcs Nagy <szabolcs.nagy@arm.com>
Tue, 2 Jan 2024 16:54:21 +0000 (2 16:54 +0000)
treef06cb8686892362790f03b1e7d1d6983513eefa4
parent9d30e5cf9687559d942514c780332d53b0617f0b
aarch64: Add longjmp test for SME

Includes test for setcontext too.

The test directly checks after longjmp if ZA got disabled and the
ZA contents got saved following the lazy saving scheme. It does not
use ACLE code to verify that gcc can interoperate with glibc.

Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
sysdeps/aarch64/Makefile
sysdeps/aarch64/tst-sme-jmp.c [new file with mode: 0644]