mbox series

[v2,0/6] linux-user/loongarch64: Add LSX/LASX sigcontext

Message ID 20231101030816.2353416-1-gaosong@loongson.cn
Headers show
Series linux-user/loongarch64: Add LSX/LASX sigcontext | expand

Message

Song Gao Nov. 1, 2023, 3:08 a.m. UTC
Hi,

This series adds save/restore LSX/LASX sigcontext.

test:
  - use V1 test.
  - test with RISU https://patchew.org/QEMU/20231025092915.902814-1-gaosong@loongson.cn/


V2:
  - Rebase;
  - Remove extctx_flags;
  - Use abi_{ulong, uint} types;
  - R-b.

Richard Henderson (1):
  linux-user/loongarch64: Use traps to track LSX/LASX usage

Song Gao (5):
  linux-user/loongarch64: Fix setup_extcontext alloc wrong fpu_context
    size
  linux-user/loongarch64: setup_sigframe() set 'end' context size 0
  linux-user/loongarch64: Use abi_{ulong,uint} types
  linux-user/loongarch64: Add LSX sigcontext save/restore
  linux-user/loongarch64: Add LASX sigcontext save/restore

 linux-user/loongarch64/cpu_loop.c           |  13 ++
 linux-user/loongarch64/signal.c             | 189 ++++++++++++++++----
 target/loongarch/insn_trans/trans_vec.c.inc |  11 --
 3 files changed, 169 insertions(+), 44 deletions(-)