[PATCH v2 0/3] Add support for LoongArch V1.1 instructions

Xi Ruoyao xry111@xry111.site
Wed Nov 15 23:59:48 GMT 2023


Ping.  Now we are very close to the end of GCC 14 stage 1 and we need
Binutils support for adding LA664 features into GCC.

On Thu, 2023-10-26 at 17:35 +0800, Jiajie Chen wrote:
> LoongArch V1.1 release 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.
> 
> It brings the following new instructions:
> 
> - atomic cas: amcas{_db}.b/h/w/d
> - ll-sc: sc.q, llacq.w/d, screl.w/d
> - estimated reciprocal: frecipe/frsqrte and their vector counterpart
> 
> Support and tests for these new instructions are added.
> 
> Changes since v1:
> 
> - Add support for "sc.q r4, r5, r6, 0" and "llacq.w/d / screl.w/d r4,
>   r5, 0"
> 
> Jiajie Chen (3):
>   as: Add new atomic instructions in LoongArch v1.1
>   as: Add new estimated reciprocal instructions in LoongArch v1.1
>   gas: add loongarch v1.1 to NEWS
> 
>  gas/NEWS                                    |  2 +
>  gas/config/tc-loongarch.c                   |  6 ++-
>  gas/testsuite/gas/loongarch/float_op.d      |  4 ++
>  gas/testsuite/gas/loongarch/float_op.s      |  4 ++
>  gas/testsuite/gas/loongarch/load_store_op.d | 42 ++++++++++++++++
>  gas/testsuite/gas/loongarch/load_store_op.s | 42 ++++++++++++++++
>  gas/testsuite/gas/loongarch/vector.d        |  8 +++
>  gas/testsuite/gas/loongarch/vector.s        |  8 +++
>  opcodes/loongarch-opc.c                     | 54 +++++++++++++++++++++
>  9 files changed, 168 insertions(+), 2 deletions(-)
> 

-- 
Xi Ruoyao <xry111@xry111.site>
School of Aerospace Science and Technology, Xidian University


More information about the Binutils mailing list