Re: [PATCH v1 01/46] target/loongarch: Add LASX data type XReg

2023-06-21 Thread Song Gao
Hi, Richard 在 2023/6/20 下午8:09, Richard Henderson 写道: On 6/20/23 11:37, Song Gao wrote: diff --git a/target/loongarch/cpu.h b/target/loongarch/cpu.h index b23f38c3d5..347950b4d0 100644 --- a/target/loongarch/cpu.h +++ b/target/loongarch/cpu.h @@ -259,9 +259,23 @@ typedef union VReg {   Int1

Re: [PATCH v1 01/46] target/loongarch: Add LASX data type XReg

2023-06-20 Thread Richard Henderson
On 6/20/23 11:37, Song Gao wrote: diff --git a/target/loongarch/cpu.h b/target/loongarch/cpu.h index b23f38c3d5..347950b4d0 100644 --- a/target/loongarch/cpu.h +++ b/target/loongarch/cpu.h @@ -259,9 +259,23 @@ typedef union VReg { Int128 Q[LSX_LEN / 128]; }VReg; +#define LASX_LEN (

[PATCH v1 01/46] target/loongarch: Add LASX data type XReg

2023-06-20 Thread Song Gao
Signed-off-by: Song Gao --- linux-user/loongarch64/signal.c | 1 + target/loongarch/cpu.c | 1 + target/loongarch/cpu.h | 14 + target/loongarch/gdbstub.c | 1 + target/loongarch/internals.h| 22 -- target/loongarch/lsx_helper.c | 1 + target/l