Re: [PATCH 0/5] Add LoongArch v1.1 instructions

2023-10-31 Thread gaosong
在 2023/10/31 下午7:10, Jiajie Chen 写道: On 2023/10/31 19:06, gaosong wrote: 在 2023/10/31 下午5:13, Jiajie Chen 写道: On 2023/10/31 17:11, gaosong wrote: 在 2023/10/30 下午7:54, Jiajie Chen 写道: On 2023/10/30 16:23, gaosong wrote: 在 2023/10/28 下午9:09, Jiajie Chen 写道: On 2023/10/26 14:54, gaosong wr

Re: [PATCH 0/5] Add LoongArch v1.1 instructions

2023-10-31 Thread Jiajie Chen
On 2023/10/31 19:06, gaosong wrote: 在 2023/10/31 下午5:13, Jiajie Chen 写道: On 2023/10/31 17:11, gaosong wrote: 在 2023/10/30 下午7:54, Jiajie Chen 写道: On 2023/10/30 16:23, gaosong wrote: 在 2023/10/28 下午9:09, Jiajie Chen 写道: On 2023/10/26 14:54, gaosong wrote: 在 2023/10/26 上午9:38, Jiajie Che

Re: [PATCH 0/5] Add LoongArch v1.1 instructions

2023-10-31 Thread gaosong
在 2023/10/31 下午5:13, Jiajie Chen 写道: On 2023/10/31 17:11, gaosong wrote: 在 2023/10/30 下午7:54, Jiajie Chen 写道: On 2023/10/30 16:23, gaosong wrote: 在 2023/10/28 下午9:09, Jiajie Chen 写道: On 2023/10/26 14:54, gaosong wrote: 在 2023/10/26 上午9:38, Jiajie Chen 写道: On 2023/10/26 03:04, Richard He

Re: [PATCH 0/5] Add LoongArch v1.1 instructions

2023-10-31 Thread Jiajie Chen
On 2023/10/31 17:11, gaosong wrote: 在 2023/10/30 下午7:54, Jiajie Chen 写道: On 2023/10/30 16:23, gaosong wrote: 在 2023/10/28 下午9:09, Jiajie Chen 写道: On 2023/10/26 14:54, gaosong wrote: 在 2023/10/26 上午9:38, Jiajie Chen 写道: On 2023/10/26 03:04, Richard Henderson wrote: On 10/25/23 10:13, Ji

Re: [PATCH 0/5] Add LoongArch v1.1 instructions

2023-10-31 Thread gaosong
在 2023/10/30 下午7:54, Jiajie Chen 写道: On 2023/10/30 16:23, gaosong wrote: 在 2023/10/28 下午9:09, Jiajie Chen 写道: On 2023/10/26 14:54, gaosong wrote: 在 2023/10/26 上午9:38, Jiajie Chen 写道: On 2023/10/26 03:04, Richard Henderson wrote: On 10/25/23 10:13, Jiajie Chen wrote: On 2023/10/24 07:26,

Re: [PATCH 0/5] Add LoongArch v1.1 instructions

2023-10-30 Thread Jiajie Chen
On 2023/10/30 16:23, gaosong wrote: 在 2023/10/28 下午9:09, Jiajie Chen 写道: On 2023/10/26 14:54, gaosong wrote: 在 2023/10/26 上午9:38, Jiajie Chen 写道: On 2023/10/26 03:04, Richard Henderson wrote: On 10/25/23 10:13, Jiajie Chen wrote: On 2023/10/24 07:26, Richard Henderson wrote: See target/a

Re: [PATCH 0/5] Add LoongArch v1.1 instructions

2023-10-30 Thread gaosong
在 2023/10/28 下午9:09, Jiajie Chen 写道: On 2023/10/26 14:54, gaosong wrote: 在 2023/10/26 上午9:38, Jiajie Chen 写道: On 2023/10/26 03:04, Richard Henderson wrote: On 10/25/23 10:13, Jiajie Chen wrote: On 2023/10/24 07:26, Richard Henderson wrote: See target/arm/tcg/translate-a64.c, gen_store_exclu

Re: [PATCH 0/5] Add LoongArch v1.1 instructions

2023-10-28 Thread Jiajie Chen
On 2023/10/26 14:54, gaosong wrote: 在 2023/10/26 上午9:38, Jiajie Chen 写道: On 2023/10/26 03:04, Richard Henderson wrote: On 10/25/23 10:13, Jiajie Chen wrote: On 2023/10/24 07:26, Richard Henderson wrote: See target/arm/tcg/translate-a64.c, gen_store_exclusive, TCGv_i128 block. See target/p

Re: [PATCH 0/5] Add LoongArch v1.1 instructions

2023-10-25 Thread gaosong
在 2023/10/26 上午9:38, Jiajie Chen 写道: On 2023/10/26 03:04, Richard Henderson wrote: On 10/25/23 10:13, Jiajie Chen wrote: On 2023/10/24 07:26, Richard Henderson wrote: See target/arm/tcg/translate-a64.c, gen_store_exclusive, TCGv_i128 block. See target/ppc/translate.c, gen_stqcx_. The situa

Re: [PATCH 0/5] Add LoongArch v1.1 instructions

2023-10-25 Thread Jiajie Chen
On 2023/10/26 03:04, Richard Henderson wrote: On 10/25/23 10:13, Jiajie Chen wrote: On 2023/10/24 07:26, Richard Henderson wrote: See target/arm/tcg/translate-a64.c, gen_store_exclusive, TCGv_i128 block. See target/ppc/translate.c, gen_stqcx_. The situation here is slightly different: aarc

Re: [PATCH 0/5] Add LoongArch v1.1 instructions

2023-10-25 Thread Richard Henderson
On 10/25/23 10:13, Jiajie Chen wrote: On 2023/10/24 07:26, Richard Henderson wrote: See target/arm/tcg/translate-a64.c, gen_store_exclusive, TCGv_i128 block. See target/ppc/translate.c, gen_stqcx_. The situation here is slightly different: aarch64 and ppc64 have both 128-bit ll and sc, howeve

Re: [PATCH 0/5] Add LoongArch v1.1 instructions

2023-10-25 Thread Jiajie Chen
On 2023/10/24 14:10, Jiajie Chen wrote: On 2023/10/24 07:26, Richard Henderson wrote: On 10/23/23 08:29, Jiajie Chen wrote: This patch series implements the new instructions except sc.q, because I do not know how to match a pair of ll.d to sc.q. There are a couple of examples within the tr

Re: [PATCH 0/5] Add LoongArch v1.1 instructions

2023-10-23 Thread Jiajie Chen
On 2023/10/24 07:26, Richard Henderson wrote: On 10/23/23 08:29, Jiajie Chen wrote: This patch series implements the new instructions except sc.q, because I do not know how to match a pair of ll.d to sc.q. There are a couple of examples within the tree. See target/arm/tcg/translate-a64.c, g

Re: [PATCH 0/5] Add LoongArch v1.1 instructions

2023-10-23 Thread Richard Henderson
On 10/23/23 08:29, Jiajie Chen wrote: This patch series implements the new instructions except sc.q, because I do not know how to match a pair of ll.d to sc.q. There are a couple of examples within the tree. See target/arm/tcg/translate-a64.c, gen_store_exclusive, TCGv_i128 block. See target/p

[PATCH 0/5] Add LoongArch v1.1 instructions

2023-10-23 Thread Jiajie Chen
Latest revision of LoongArch ISA is out at https://www.loongson.cn/uploads/images/2023102309132647981.%E9%BE%99%E8%8A%AF%E6%9E%B6%E6%9E%84%E5%8F%82%E8%80%83%E6%89%8B%E5%86%8C%E5%8D%B7%E4%B8%80_r1p10.pdf (Chinese only). The revision includes the following updates: - estimated fp reciporcal instruct