Re: [PATCH v1 2/6] target/loongarch: Add set_vec_extctx to set LSX/LASX instructions extctx_flags

2023-10-31 Thread gaosong
在 2023/10/31 下午10:50, Richard Henderson 写道: On 10/30/23 23:16, gaosong wrote: Anyway, I think my previous suggestion is better: Oh,  Could you  show more details?  I think I didn't get you point. If you want to track what the program is using, you should do it exactly like the real kernel: d

Re: [PATCH v1 2/6] target/loongarch: Add set_vec_extctx to set LSX/LASX instructions extctx_flags

2023-10-31 Thread Richard Henderson
On 10/30/23 23:16, gaosong wrote: Anyway, I think my previous suggestion is better: Oh,  Could you  show more details?  I think I didn't get you point. If you want to track what the program is using, you should do it exactly like the real kernel: disable the execution unit, have the program t

Re: [PATCH v1 2/6] target/loongarch: Add set_vec_extctx to set LSX/LASX instructions extctx_flags

2023-10-30 Thread gaosong
在 2023/10/30 下午11:30, Richard Henderson 写道: On 10/29/23 20:28, gaosong wrote: 在 2023/10/29 上午5:40, Richard Henderson 写道: On 10/9/23 20:36, Song Gao wrote: Signed-off-by: Song Gao ---   target/loongarch/insn_trans/trans_vec.c.inc | 12   target/loongarch/internals.h   

Re: [PATCH v1 2/6] target/loongarch: Add set_vec_extctx to set LSX/LASX instructions extctx_flags

2023-10-30 Thread Richard Henderson
On 10/29/23 20:28, gaosong wrote: 在 2023/10/29 上午5:40, Richard Henderson 写道: On 10/9/23 20:36, Song Gao wrote: Signed-off-by: Song Gao ---   target/loongarch/insn_trans/trans_vec.c.inc | 12   target/loongarch/internals.h    |  2 ++   2 files changed, 14 insertions(+)

Re: [PATCH v1 2/6] target/loongarch: Add set_vec_extctx to set LSX/LASX instructions extctx_flags

2023-10-29 Thread gaosong
在 2023/10/29 上午5:40, Richard Henderson 写道: On 10/9/23 20:36, Song Gao wrote: Signed-off-by: Song Gao ---   target/loongarch/insn_trans/trans_vec.c.inc | 12   target/loongarch/internals.h    |  2 ++   2 files changed, 14 insertions(+) diff --git a/target/loongarch/insn_

Re: [PATCH v1 2/6] target/loongarch: Add set_vec_extctx to set LSX/LASX instructions extctx_flags

2023-10-28 Thread Richard Henderson
On 10/9/23 20:36, Song Gao wrote: Signed-off-by: Song Gao --- target/loongarch/insn_trans/trans_vec.c.inc | 12 target/loongarch/internals.h| 2 ++ 2 files changed, 14 insertions(+) diff --git a/target/loongarch/insn_trans/trans_vec.c.inc b/target/loongarch/in

[PATCH v1 2/6] target/loongarch: Add set_vec_extctx to set LSX/LASX instructions extctx_flags

2023-10-09 Thread Song Gao
Signed-off-by: Song Gao --- target/loongarch/insn_trans/trans_vec.c.inc | 12 target/loongarch/internals.h| 2 ++ 2 files changed, 14 insertions(+) diff --git a/target/loongarch/insn_trans/trans_vec.c.inc b/target/loongarch/insn_trans/trans_vec.c.inc index 98f856bb