[v1,0/3] Add LoongarchV1.1 instructions support.

Message ID 20231117083344.29037-1-chenglulu@loongson.cn
Headers
Series Add LoongarchV1.1 instructions support. |

Message

Lulu Cheng Nov. 17, 2023, 8:33 a.m. UTC
  Lulu Cheng (3):
  LoongArch: Add LA664 support.
  LoongArch: Implement atomic operations using LoongArch1.1
    instructions.
  LoongArch: atomic_load and atomic_store are implemented using dbar
    grading.

 gcc/config.gcc                                |  10 +-
 .../loongarch/genopts/loongarch-strings       |   1 +
 gcc/config/loongarch/genopts/loongarch.opt.in |   3 +
 gcc/config/loongarch/loongarch-cpu.cc         |   4 +
 gcc/config/loongarch/loongarch-def.c          |  21 ++
 gcc/config/loongarch/loongarch-def.h          |  10 +-
 gcc/config/loongarch/loongarch-opts.cc        |   8 +-
 gcc/config/loongarch/loongarch-opts.h         |   6 +-
 gcc/config/loongarch/loongarch-str.h          |   1 +
 gcc/config/loongarch/loongarch.cc             |   7 +-
 gcc/config/loongarch/loongarch.opt            |   3 +
 gcc/config/loongarch/sync.md                  | 256 ++++++++++++++----
 12 files changed, 263 insertions(+), 67 deletions(-)
  

Comments

Xi Ruoyao Nov. 17, 2023, 11:09 a.m. UTC | #1
On Fri, 2023-11-17 at 16:33 +0800, Lulu Cheng wrote:
> 
> Lulu Cheng (3):
>   LoongArch: Add LA664 support.
>   LoongArch: Implement atomic operations using LoongArch1.1
>     instructions.
>   LoongArch: atomic_load and atomic_store are implemented using dbar
>     grading.
> 
>  gcc/config.gcc                                |  10 +-
>  .../loongarch/genopts/loongarch-strings       |   1 +
>  gcc/config/loongarch/genopts/loongarch.opt.in |   3 +
>  gcc/config/loongarch/loongarch-cpu.cc         |   4 +
>  gcc/config/loongarch/loongarch-def.c          |  21 ++
>  gcc/config/loongarch/loongarch-def.h          |  10 +-
>  gcc/config/loongarch/loongarch-opts.cc        |   8 +-
>  gcc/config/loongarch/loongarch-opts.h         |   6 +-
>  gcc/config/loongarch/loongarch-str.h          |   1 +
>  gcc/config/loongarch/loongarch.cc             |   7 +-
>  gcc/config/loongarch/loongarch.opt            |   3 +
>  gcc/config/loongarch/sync.md                  | 256 ++++++++++++++---
> -
>  12 files changed, 263 insertions(+), 67 deletions(-)

I'll rebase my patches for div32 and ld-seq-sa on top of this.
  
Lulu Cheng Nov. 18, 2023, 8:15 a.m. UTC | #2
Pushed to r14-5568.

在 2023/11/17 下午7:09, Xi Ruoyao 写道:
> On Fri, 2023-11-17 at 16:33 +0800, Lulu Cheng wrote:
>> Lulu Cheng (3):
>>    LoongArch: Add LA664 support.
>>    LoongArch: Implement atomic operations using LoongArch1.1
>>      instructions.
>>    LoongArch: atomic_load and atomic_store are implemented using dbar
>>      grading.
>>
>>   gcc/config.gcc                                |  10 +-
>>   .../loongarch/genopts/loongarch-strings       |   1 +
>>   gcc/config/loongarch/genopts/loongarch.opt.in |   3 +
>>   gcc/config/loongarch/loongarch-cpu.cc         |   4 +
>>   gcc/config/loongarch/loongarch-def.c          |  21 ++
>>   gcc/config/loongarch/loongarch-def.h          |  10 +-
>>   gcc/config/loongarch/loongarch-opts.cc        |   8 +-
>>   gcc/config/loongarch/loongarch-opts.h         |   6 +-
>>   gcc/config/loongarch/loongarch-str.h          |   1 +
>>   gcc/config/loongarch/loongarch.cc             |   7 +-
>>   gcc/config/loongarch/loongarch.opt            |   3 +
>>   gcc/config/loongarch/sync.md                  | 256 ++++++++++++++---
>> -
>>   12 files changed, 263 insertions(+), 67 deletions(-)
> I'll rebase my patches for div32 and ld-seq-sa on top of this.
>