From patchwork Wed Oct 25 13:49:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiajie Chen X-Patchwork-Id: 158102 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ce89:0:b0:403:3b70:6f57 with SMTP id p9csp2616229vqx; Wed, 25 Oct 2023 06:54:19 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH7SMwJU20O4kpCLq2/X5zHdvG5v99A9AsOedJjNc277KZ9gmzrTdXoYVhxDsNRzaoqKYZN X-Received: by 2002:a67:cb82:0:b0:454:701c:7717 with SMTP id h2-20020a67cb82000000b00454701c7717mr10226054vsl.5.1698242059176; Wed, 25 Oct 2023 06:54:19 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1698242059; cv=pass; d=google.com; s=arc-20160816; b=uGSHynTV2NwbSa1bgOJyGmhSDPmCYEN3gE4E86MJFRkL3a+fXEdMwSGi9bb1QZGBsb FN6sBz7CjF+bPOpaTDZ26U5u3DWnk1AldsIn185t6fFKihmnRqZ8GaikUXQEnBpfjLln bKwnvNG6g1/HcA8MAT00TSE5O4+loDya3tpV63DMhbuZTK+8LJr07MWqVkfFdS5HZpnD fZ6AZbxhpZzAcoOxACUVJ8ghhXUZceYDYZ3Hd3+SLeDZOU+EQWndkt0BKuCYnBSWulJs qQyPmrfTIHTvutRfoOjpuGDPf818Hqf1wt8mVmw0a4CADeWZuSDdN96+NqU+2VFfUq2c eszQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature:arc-filter:dmarc-filter:delivered-to; bh=/QtK3PQbcjoii9sa77PknEkGQEi7wifWp+SJUgY1N3k=; fh=fv/8kd93X7q7PiYwcb24Y7ZSw+zGVRBX4GVrzAZEj3Y=; b=OXjPBJB4yWDmXlV9jOoM58xiowNDq5SCy1y17YLEqGnPUsoWI2L+RvyUeZVW3gcqWi 8Bonp6KQwK6Z/Rg3V4lDuTSFXJy/1VWsfSWUiRo1ELDD2t06BtIsWvsYHgJM0GD5cnLv eEI4jLqap8a1CmqzJtFVoMyS4L2BIvJQaAGffderJBwG8397MiatTlqZEl46ws9McckH qtGlB1FFUJxKA7LoQfpfefOzYTCDnc6inO7V50t0yxPHnAmOFg7oTVYo6v+VcQQzj99n kR/aXZB/1xx0ZLqNgIEG4fhO8D7IVJSv5GrL1gpd5Rvv+DucoV8z+IxnugZkDFnJDRhz hRiQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@jia.je header.s=default header.b=whdcrIWG; arc=pass (i=1); spf=pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="binutils-bounces+ouuuleilei=gmail.com@sourceware.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=jia.je Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id ec7-20020ad44e67000000b0065b02de7317si8563596qvb.573.2023.10.25.06.54.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Oct 2023 06:54:19 -0700 (PDT) Received-SPF: pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@jia.je header.s=default header.b=whdcrIWG; arc=pass (i=1); spf=pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="binutils-bounces+ouuuleilei=gmail.com@sourceware.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=jia.je Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id E80373857838 for ; Wed, 25 Oct 2023 13:54:18 +0000 (GMT) X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from hognose1.porkbun.com (hognose1.porkbun.com [35.82.102.206]) by sourceware.org (Postfix) with ESMTPS id 056543858CDB for ; Wed, 25 Oct 2023 13:54:13 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 056543858CDB Authentication-Results: sourceware.org; dmarc=pass (p=quarantine dis=none) header.from=jia.je Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=jia.je ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 056543858CDB Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=35.82.102.206 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1698242055; cv=none; b=Vdg+4l/dCG1wp5b94QG/Br0spcdlDoz11mqUml/Xt4CiAqkJV0o/12Ib6RN2qkei+8kRi0jrS74DJuZK40M6Mdvqlx/JzUtm6kVGzc5Lukh5ZJHHCjWUtbG4m/Rsq0JpPsPIPMXXfcBDoAyXBv0fZUmE0YQeD0cxV9MrYjC6lYY= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1698242055; c=relaxed/simple; bh=9ztesK0dWwJZtj8LxTRL3MKwzG9e44N1uPchf7GbSIE=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=JS+5k7f0IHFDEuweZyzVERrXho4v/TpyO42npZWeOygvjxdAngbJ9aB6dwhOgh6n+DSHqgI/977hM3+ne7S+p1hWTyEi4Ic77PAv2aX6z5G5HiVte3+BNgpeSaEPwoS9HW9ksketp3YjBbS6mGWoQDuwir1/+Izp+CpFrqW0+00= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from ls3a6000.. (unknown [223.72.40.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: c@jia.je) by hognose1.porkbun.com (Postfix) with ESMTPSA id 7FED743B4B; Wed, 25 Oct 2023 13:54:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jia.je; s=default; t=1698242052; bh=/QtK3PQbcjoii9sa77PknEkGQEi7wifWp+SJUgY1N3k=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=whdcrIWGgTBCrsJtAe95VNDtduSIqxWquI6M2O+1TsqM7rMuvpqLr/i72UMZBetGA KwQPUyU1FIvCxJ/ghf1W7dhDSG+9tSC3yhlwJ+gKzelXS0ITgKo8kuE8tt7s7gY11M Zq9Hvi4HEK5IoaZ9LaQFWv8+RkomW8kvouR0VpPo= From: Jiajie Chen To: binutils@sourceware.org Cc: xuchenghua@loongson.cn, liuzhensong@loongson.cn, Jiajie Chen Subject: [PATCH 1/3] as: Add new atomic instructions in LoongArch v1.1 Date: Wed, 25 Oct 2023 21:49:50 +0800 Message-ID: <20231025135347.289277-2-c@jia.je> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231025135347.289277-1-c@jia.je> References: <20231025135347.289277-1-c@jia.je> MIME-Version: 1.0 X-Spam-Status: No, score=-13.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_NUMSUBJECT, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: binutils@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Binutils mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: binutils-bounces+ouuuleilei=gmail.com@sourceware.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1780735865230839395 X-GMAIL-MSGID: 1780735865230839395 New atomic instructions in LoongArch v1.1: - sc.q - llacq.w/d - screl.w/d - amcas{_db}.b/h/w/d - amswap{_db}.b/h - amadd{_db}.b/h Signed-off-by: Jiajie Chen --- gas/config/tc-loongarch.c | 6 ++-- gas/testsuite/gas/loongarch/load_store_op.d | 37 +++++++++++++++++++++ gas/testsuite/gas/loongarch/load_store_op.s | 37 +++++++++++++++++++++ opcodes/loongarch-opc.c | 37 +++++++++++++++++++++ 4 files changed, 115 insertions(+), 2 deletions(-) diff --git a/gas/config/tc-loongarch.c b/gas/config/tc-loongarch.c index 33f3e71ce2f..49c70bf130b 100644 --- a/gas/config/tc-loongarch.c +++ b/gas/config/tc-loongarch.c @@ -898,8 +898,10 @@ check_this_insn_before_appending (struct loongarch_cl_insn *ip) ip->reloc_num++; } else if (ip->insn->mask == 0xffff8000 - /* amswap.w rd, rk, rj */ - && ((ip->insn_bin & 0xfff00000) == 0x38600000 + /* amcas.b rd, rk, rj */ + && ((ip->insn_bin & 0xfff80000) == 0x38580000 + /* amswap.w rd, rk, rj */ + || (ip->insn_bin & 0xfff00000) == 0x38600000 /* ammax_db.wu rd, rk, rj */ || (ip->insn_bin & 0xffff0000) == 0x38700000 /* ammin_db.wu rd, rk, rj */ diff --git a/gas/testsuite/gas/loongarch/load_store_op.d b/gas/testsuite/gas/loongarch/load_store_op.d index e1b4dea1851..02f9d7f035f 100644 --- a/gas/testsuite/gas/loongarch/load_store_op.d +++ b/gas/testsuite/gas/loongarch/load_store_op.d @@ -176,3 +176,40 @@ Disassembly of section .text: 298:[ ]+387e98a4 [ ]+stle.h[ ]+[ ]+\$a0, \$a1, \$a2 29c:[ ]+387f18a4 [ ]+stle.w[ ]+[ ]+\$a0, \$a1, \$a2 2a0:[ ]+387f98a4 [ ]+stle.d[ ]+[ ]+\$a0, \$a1, \$a2 + 2a4:[ ]+385714c4 [ ]+sc.q[ ]+[ ]+\$a0, \$a1, \$a2 + 2a8:[ ]+385780a4 [ ]+llacq.w[ ]+[ ]+\$a0, \$a1 + 2ac:[ ]+385784a4 [ ]+screl.w[ ]+[ ]+\$a0, \$a1 + 2b0:[ ]+385788a4 [ ]+llacq.d[ ]+[ ]+\$a0, \$a1 + 2b4:[ ]+38578ca4 [ ]+screl.d[ ]+[ ]+\$a0, \$a1 + 2b8:[ ]+385814c4 [ ]+amcas.b[ ]+[ ]+\$a0, \$a1, \$a2 + 2bc:[ ]+385818a4 [ ]+amcas.b[ ]+[ ]+\$a0, \$a2, \$a1 + 2c0:[ ]+385894c4 [ ]+amcas.h[ ]+[ ]+\$a0, \$a1, \$a2 + 2c4:[ ]+385898a4 [ ]+amcas.h[ ]+[ ]+\$a0, \$a2, \$a1 + 2c8:[ ]+385914c4 [ ]+amcas.w[ ]+[ ]+\$a0, \$a1, \$a2 + 2cc:[ ]+385918a4 [ ]+amcas.w[ ]+[ ]+\$a0, \$a2, \$a1 + 2d0:[ ]+385994c4 [ ]+amcas.d[ ]+[ ]+\$a0, \$a1, \$a2 + 2d4:[ ]+385998a4 [ ]+amcas.d[ ]+[ ]+\$a0, \$a2, \$a1 + 2d8:[ ]+385a14c4 [ ]+amcas_db.b[ ]+[ ]+\$a0, \$a1, \$a2 + 2dc:[ ]+385a18a4 [ ]+amcas_db.b[ ]+[ ]+\$a0, \$a2, \$a1 + 2e0:[ ]+385a94c4 [ ]+amcas_db.h[ ]+[ ]+\$a0, \$a1, \$a2 + 2e4:[ ]+385a98a4 [ ]+amcas_db.h[ ]+[ ]+\$a0, \$a2, \$a1 + 2e8:[ ]+385b14c4 [ ]+amcas_db.w[ ]+[ ]+\$a0, \$a1, \$a2 + 2ec:[ ]+385b18a4 [ ]+amcas_db.w[ ]+[ ]+\$a0, \$a2, \$a1 + 2f0:[ ]+385b94c4 [ ]+amcas_db.d[ ]+[ ]+\$a0, \$a1, \$a2 + 2f4:[ ]+385b98a4 [ ]+amcas_db.d[ ]+[ ]+\$a0, \$a2, \$a1 + 2f8:[ ]+385c14c4 [ ]+amswap.b[ ]+[ ]+\$a0, \$a1, \$a2 + 2fc:[ ]+385c18a4 [ ]+amswap.b[ ]+[ ]+\$a0, \$a2, \$a1 + 300:[ ]+385c94c4 [ ]+amswap.h[ ]+[ ]+\$a0, \$a1, \$a2 + 304:[ ]+385c98a4 [ ]+amswap.h[ ]+[ ]+\$a0, \$a2, \$a1 + 308:[ ]+385d14c4 [ ]+amadd.b[ ]+[ ]+\$a0, \$a1, \$a2 + 30c:[ ]+385d18a4 [ ]+amadd.b[ ]+[ ]+\$a0, \$a2, \$a1 + 310:[ ]+385d94c4 [ ]+amadd.h[ ]+[ ]+\$a0, \$a1, \$a2 + 314:[ ]+385d98a4 [ ]+amadd.h[ ]+[ ]+\$a0, \$a2, \$a1 + 318:[ ]+385e14c4 [ ]+amswap_db.b[ ]+[ ]+\$a0, \$a1, \$a2 + 31c:[ ]+385e18a4 [ ]+amswap_db.b[ ]+[ ]+\$a0, \$a2, \$a1 + 320:[ ]+385e94c4 [ ]+amswap_db.h[ ]+[ ]+\$a0, \$a1, \$a2 + 324:[ ]+385e98a4 [ ]+amswap_db.h[ ]+[ ]+\$a0, \$a2, \$a1 + 328:[ ]+385f14c4 [ ]+amadd_db.b[ ]+[ ]+\$a0, \$a1, \$a2 + 32c:[ ]+385f18a4 [ ]+amadd_db.b[ ]+[ ]+\$a0, \$a2, \$a1 + 330:[ ]+385f94c4 [ ]+amadd_db.h[ ]+[ ]+\$a0, \$a1, \$a2 + 334:[ ]+385f98a4 [ ]+amadd_db.h[ ]+[ ]+\$a0, \$a2, \$a1 diff --git a/gas/testsuite/gas/loongarch/load_store_op.s b/gas/testsuite/gas/loongarch/load_store_op.s index efbd124a29c..9682d45c970 100644 --- a/gas/testsuite/gas/loongarch/load_store_op.s +++ b/gas/testsuite/gas/loongarch/load_store_op.s @@ -167,3 +167,40 @@ stle.b $r4,$r5,$r6 stle.h $r4,$r5,$r6 stle.w $r4,$r5,$r6 stle.d $r4,$r5,$r6 +sc.q $r4,$r5,$r6 +llacq.w $r4,$r5 +screl.w $r4,$r5 +llacq.d $r4,$r5 +screl.d $r4,$r5 +amcas.b $r4,$r5,$r6,0 +amcas.b $r4,$r6,$r5 +amcas.h $r4,$r5,$r6,0 +amcas.h $r4,$r6,$r5 +amcas.w $r4,$r5,$r6,0 +amcas.w $r4,$r6,$r5 +amcas.d $r4,$r5,$r6,0 +amcas.d $r4,$r6,$r5 +amcas_db.b $r4,$r5,$r6,0 +amcas_db.b $r4,$r6,$r5 +amcas_db.h $r4,$r5,$r6,0 +amcas_db.h $r4,$r6,$r5 +amcas_db.w $r4,$r5,$r6,0 +amcas_db.w $r4,$r6,$r5 +amcas_db.d $r4,$r5,$r6,0 +amcas_db.d $r4,$r6,$r5 +amswap.b $r4,$r5,$r6,0 +amswap.b $r4,$r6,$r5 +amswap.h $r4,$r5,$r6,0 +amswap.h $r4,$r6,$r5 +amadd.b $r4,$r5,$r6,0 +amadd.b $r4,$r6,$r5 +amadd.h $r4,$r5,$r6,0 +amadd.h $r4,$r6,$r5 +amswap_db.b $r4,$r5,$r6,0 +amswap_db.b $r4,$r6,$r5 +amswap_db.h $r4,$r5,$r6,0 +amswap_db.h $r4,$r6,$r5 +amadd_db.b $r4,$r5,$r6,0 +amadd_db.b $r4,$r6,$r5 +amadd_db.h $r4,$r5,$r6,0 +amadd_db.h $r4,$r6,$r5 diff --git a/opcodes/loongarch-opc.c b/opcodes/loongarch-opc.c index 362b6581c76..2857c45f812 100644 --- a/opcodes/loongarch-opc.c +++ b/opcodes/loongarch-opc.c @@ -816,6 +816,43 @@ static struct loongarch_opcode loongarch_load_store_opcodes[] = { 0x38240000, 0xffff8000, "ldx.hu", "r0:5,r5:5,r10:5", 0, 0, 0, 0 }, { 0x38280000, 0xffff8000, "ldx.wu", "r0:5,r5:5,r10:5", 0, 0, 0, 0 }, { 0x382c0000, 0xffff8000, "preldx", "u0:5,r5:5,r10:5", 0, 0, 0, 0 }, + { 0x38570000, 0xffff8000, "sc.q", "r0:5,r10:5,r5:5", 0, 0, 0, 0 }, + { 0x38578000, 0xfffffc00, "llacq.w", "r0:5,r5:5", 0, 0, 0, 0 }, + { 0x38578400, 0xfffffc00, "screl.w", "r0:5,r5:5", 0, 0, 0, 0 }, + { 0x38578800, 0xfffffc00, "llacq.d", "r0:5,r5:5", 0, 0, 0, 0 }, + { 0x38578c00, 0xfffffc00, "screl.d", "r0:5,r5:5", 0, 0, 0, 0 }, + { 0x0, 0x0, "amcas.b", "r,r,r,u0:0", "amcas.b %1,%2,%3", 0, 0, 0 }, + { 0x38580000, 0xffff8000, "amcas.b", "r0:5,r10:5,r5:5", 0, 0, 0, 0 }, + { 0x0, 0x0, "amcas.h", "r,r,r,u0:0", "amcas.h %1,%2,%3", 0, 0, 0 }, + { 0x38588000, 0xffff8000, "amcas.h", "r0:5,r10:5,r5:5", 0, 0, 0, 0 }, + { 0x0, 0x0, "amcas.w", "r,r,r,u0:0", "amcas.w %1,%2,%3", 0, 0, 0 }, + { 0x38590000, 0xffff8000, "amcas.w", "r0:5,r10:5,r5:5", 0, 0, 0, 0 }, + { 0x0, 0x0, "amcas.d", "r,r,r,u0:0", "amcas.d %1,%2,%3", 0, 0, 0 }, + { 0x38598000, 0xffff8000, "amcas.d", "r0:5,r10:5,r5:5", 0, 0, 0, 0 }, + { 0x0, 0x0, "amcas_db.b", "r,r,r,u0:0", "amcas_db.b %1,%2,%3", 0, 0, 0 }, + { 0x385a0000, 0xffff8000, "amcas_db.b", "r0:5,r10:5,r5:5", 0, 0, 0, 0 }, + { 0x0, 0x0, "amcas_db.h", "r,r,r,u0:0", "amcas_db.h %1,%2,%3", 0, 0, 0 }, + { 0x385a8000, 0xffff8000, "amcas_db.h", "r0:5,r10:5,r5:5", 0, 0, 0, 0 }, + { 0x0, 0x0, "amcas_db.w", "r,r,r,u0:0", "amcas_db.w %1,%2,%3", 0, 0, 0 }, + { 0x385b0000, 0xffff8000, "amcas_db.w", "r0:5,r10:5,r5:5", 0, 0, 0, 0 }, + { 0x0, 0x0, "amcas_db.d", "r,r,r,u0:0", "amcas_db.d %1,%2,%3", 0, 0, 0 }, + { 0x385b8000, 0xffff8000, "amcas_db.d", "r0:5,r10:5,r5:5", 0, 0, 0, 0 }, + { 0x0, 0x0, "amswap.b", "r,r,r,u0:0", "amswap.b %1,%2,%3", 0, 0, 0 }, + { 0x385c0000, 0xffff8000, "amswap.b", "r0:5,r10:5,r5:5", 0, 0, 0, 0 }, + { 0x0, 0x0, "amswap.h", "r,r,r,u0:0", "amswap.h %1,%2,%3", 0, 0, 0 }, + { 0x385c8000, 0xffff8000, "amswap.h", "r0:5,r10:5,r5:5", 0, 0, 0, 0 }, + { 0x0, 0x0, "amadd.b", "r,r,r,u0:0", "amadd.b %1,%2,%3", 0, 0, 0 }, + { 0x385d0000, 0xffff8000, "amadd.b", "r0:5,r10:5,r5:5", 0, 0, 0, 0 }, + { 0x0, 0x0, "amadd.h", "r,r,r,u0:0", "amadd.h %1,%2,%3", 0, 0, 0 }, + { 0x385d8000, 0xffff8000, "amadd.h", "r0:5,r10:5,r5:5", 0, 0, 0, 0 }, + { 0x0, 0x0, "amswap_db.b", "r,r,r,u0:0", "amswap_db.b %1,%2,%3", 0, 0, 0 }, + { 0x385e0000, 0xffff8000, "amswap_db.b", "r0:5,r10:5,r5:5", 0, 0, 0, 0 }, + { 0x0, 0x0, "amswap_db.h", "r,r,r,u0:0", "amswap_db.h %1,%2,%3", 0, 0, 0 }, + { 0x385e8000, 0xffff8000, "amswap_db.h", "r0:5,r10:5,r5:5", 0, 0, 0, 0 }, + { 0x0, 0x0, "amadd_db.b", "r,r,r,u0:0", "amadd_db.b %1,%2,%3", 0, 0, 0 }, + { 0x385f0000, 0xffff8000, "amadd_db.b", "r0:5,r10:5,r5:5", 0, 0, 0, 0 }, + { 0x0, 0x0, "amadd_db.h", "r,r,r,u0:0", "amadd_db.h %1,%2,%3", 0, 0, 0 }, + { 0x385f8000, 0xffff8000, "amadd_db.h", "r0:5,r10:5,r5:5", 0, 0, 0, 0 }, { 0x0, 0x0, "amswap.w", "r,r,r,u0:0", "amswap.w %1,%2,%3", 0, 0, 0 }, { 0x38600000, 0xffff8000, "amswap.w", "r0:5,r10:5,r5:5", 0, 0, 0, 0 }, { 0x0, 0x0, "amswap.d", "r,r,r,u0:0", "amswap.d %1,%2,%3", 0, 0, 0 }, From patchwork Wed Oct 25 13:49:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiajie Chen X-Patchwork-Id: 158103 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ce89:0:b0:403:3b70:6f57 with SMTP id p9csp2616290vqx; Wed, 25 Oct 2023 06:54:25 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFWIGcPloIFHpvgd4FqLve5ua+g2y0dY4O2/2cqcX5pw5uW21xzOjkLXpe8Y+2u833EZDIB X-Received: by 2002:ad4:5aea:0:b0:66d:48f8:e637 with SMTP id c10-20020ad45aea000000b0066d48f8e637mr18814920qvh.34.1698242065293; Wed, 25 Oct 2023 06:54:25 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1698242065; cv=pass; d=google.com; s=arc-20160816; b=IRAhzPrhjGRADwny9cVMMVXvJPWFYK/7mP7mjYPoOhfGWsxDslnjo9Q57POdkMD3Ig jwyV06dmS3o4CjwgFKGUhOMROdjQiHQxT5387U7mwsw+8GdhjJj/uNu18PhqkSY4V7tl /6OUidQ8tnSIFdq2vNU+rPxmOFFgxN4vwKSiUalQooTw5Qro6tOWkcG4p+9yUWZyzk14 BPLeirDZ6cvkvYJ8BLGuM8HFLvW+ocRf6WD9DJJi+w+ymK+YvgV1DYQNJSSkM7BN49zx 4EjwbsVMMQqjmN45VQOvh5u/rLVnu2+aJ0YRPwfkOytrr88W6eoe0BfNmk/CAsukrLu+ pX4A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature:arc-filter:dmarc-filter:delivered-to; bh=CL4p81B7hLdlJ3gtsZ+ungJqYHEVFNHHgKcwZ/bzg6U=; fh=fv/8kd93X7q7PiYwcb24Y7ZSw+zGVRBX4GVrzAZEj3Y=; b=qhSGx7s0yyCXleirYbPgyxuk2zdOKn8KiiYAjvf4rfdoSjwIyB07Mrv3f4YYCv7byy MQCQsngRG46t8nTTHpN/i3gvKv6p0WebzH6bWOfD0JJxgV1Z2D8N8BeAhEjvQGajJPg5 ZfPmPiEGL/p0vVOLxdn6qpSnCXfpnzyYF0kUwXN5Y+cGrrUnGMlCs/Y2j3SfMvRBOzT2 LBLL4gP4RcEpifsi0HODMp6UJzsBDzf3FYkn0K6Qy+Oiza7hruJA7KrNCHm3LpVTY4zv nVvYF/eAcOYd2FJUSlURHSWvPTjDTtWNHFiozO3rSGAG4mLXzydc0xWJXC0kXzwJOtoN NlAg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@jia.je header.s=default header.b="ub/Oj150"; arc=pass (i=1); spf=pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="binutils-bounces+ouuuleilei=gmail.com@sourceware.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=jia.je Received: from server2.sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id fc4-20020ad44f24000000b0066d033f15a8si8415462qvb.173.2023.10.25.06.54.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Oct 2023 06:54:25 -0700 (PDT) Received-SPF: pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@jia.je header.s=default header.b="ub/Oj150"; arc=pass (i=1); spf=pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="binutils-bounces+ouuuleilei=gmail.com@sourceware.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=jia.je Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id B582B3858D1E for ; Wed, 25 Oct 2023 13:54:23 +0000 (GMT) X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from hognose1.porkbun.com (hognose1.porkbun.com [35.82.102.206]) by sourceware.org (Postfix) with ESMTPS id 6E6D9385841F for ; Wed, 25 Oct 2023 13:54:15 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 6E6D9385841F Authentication-Results: sourceware.org; dmarc=pass (p=quarantine dis=none) header.from=jia.je Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=jia.je ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 6E6D9385841F Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=35.82.102.206 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1698242057; cv=none; b=YhLhdrUmDtOJePhP9JKKK3oOFdmPOS5oiI6UkyNXWOWOn67TFSBEgOauFvDp6vQT4FTf0rNoU/SIpql9BaFczFfhD28UVFcQDn+zVfLsQi6zWoI1UphQMrvTUkX2LkQAVFx/wup53OW1uIByt9ir5ZQPdQYyNwLaN/knuq+dh1w= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1698242057; c=relaxed/simple; bh=GpXriC41ktHMVq7uhg4tW4WM9ofpI6Jdug4ircp5j8s=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=HnuBDdZwhoKImQcxHKSQgaxzTgGC4wCHV42uvsmlOn7lCPDTU5RQaLrzdho4RpOsV/kcdcmv2/y1L105Jz+81t0WZE4KW6Rs3WEi+hua7erYzxdUhWaTTL5IYFVYVXjo4IQWJbQAkEo79YWC68GglS5OXnAVZ+ugG+Ef+EWRdHw= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from ls3a6000.. (unknown [223.72.40.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: c@jia.je) by hognose1.porkbun.com (Postfix) with ESMTPSA id D9DC44403C; Wed, 25 Oct 2023 13:54:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jia.je; s=default; t=1698242054; bh=CL4p81B7hLdlJ3gtsZ+ungJqYHEVFNHHgKcwZ/bzg6U=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=ub/Oj150zD/iUHs3hvarcM9LFdrAfbiXuT+RUCj3QSvRxodKYp3YGs3ecH9Fb7+Yc nbAL3cxpdIifKdahlkF+uWIeAsqyarLWa/WpZUThgcqUo1h5ftJ3hnOzPYa2rNn/mQ rY/pS9iso4NQT1/8HGYxRdH9E7/HuGQcSt5liifs= From: Jiajie Chen To: binutils@sourceware.org Cc: xuchenghua@loongson.cn, liuzhensong@loongson.cn, Jiajie Chen Subject: [PATCH 2/3] as: Add new estimated reciprocal instructions in LoongArch v1.1 Date: Wed, 25 Oct 2023 21:49:51 +0800 Message-ID: <20231025135347.289277-3-c@jia.je> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231025135347.289277-1-c@jia.je> References: <20231025135347.289277-1-c@jia.je> MIME-Version: 1.0 X-Spam-Status: No, score=-13.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_NUMSUBJECT, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: binutils@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Binutils mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: binutils-bounces+ouuuleilei=gmail.com@sourceware.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1780735871800119040 X-GMAIL-MSGID: 1780735871800119040 New estimated reciprocal instructions in LoongArch v1.1: - frecipe.s/d - frsqrte.s/d - vfrecipe.s/d - vfrsqrte.s/d - xvfrecipe.s/d - xvfrsqrte.s/d Signed-off-by: Jiajie Chen --- gas/testsuite/gas/loongarch/float_op.d | 4 ++++ gas/testsuite/gas/loongarch/float_op.s | 4 ++++ gas/testsuite/gas/loongarch/vector.d | 8 ++++++++ gas/testsuite/gas/loongarch/vector.s | 8 ++++++++ opcodes/loongarch-opc.c | 12 ++++++++++++ 5 files changed, 36 insertions(+) diff --git a/gas/testsuite/gas/loongarch/float_op.d b/gas/testsuite/gas/loongarch/float_op.d index f9d3b89e4a0..b09e7ba0f21 100644 --- a/gas/testsuite/gas/loongarch/float_op.d +++ b/gas/testsuite/gas/loongarch/float_op.d @@ -83,3 +83,7 @@ Disassembly of section .text: [ ]+124:[ ]+011d2820 [ ]+ffint.d.l[ ]+[ ]+\$fa0, \$fa1 [ ]+128:[ ]+011e4420 [ ]+frint.s[ ]+[ ]+\$fa0, \$fa1 [ ]+12c:[ ]+011e4820 [ ]+frint.d[ ]+[ ]+\$fa0, \$fa1 +[ ]+130:[ ]+01147420 [ ]+frecipe.s[ ]+[ ]+\$fa0, \$fa1 +[ ]+134:[ ]+01147820 [ ]+frecipe.d[ ]+[ ]+\$fa0, \$fa1 +[ ]+138:[ ]+01148420 [ ]+frsqrte.s[ ]+[ ]+\$fa0, \$fa1 +[ ]+13c:[ ]+01148820 [ ]+frsqrte.d[ ]+[ ]+\$fa0, \$fa1 diff --git a/gas/testsuite/gas/loongarch/float_op.s b/gas/testsuite/gas/loongarch/float_op.s index 2e3ec5b8519..a83be3e3e48 100644 --- a/gas/testsuite/gas/loongarch/float_op.s +++ b/gas/testsuite/gas/loongarch/float_op.s @@ -74,3 +74,7 @@ ffint.d.w $f0,$f1 ffint.d.l $f0,$f1 frint.s $f0,$f1 frint.d $f0,$f1 +frecipe.s $f0,$f1 +frecipe.d $f0,$f1 +frsqrte.s $f0,$f1 +frsqrte.d $f0,$f1 diff --git a/gas/testsuite/gas/loongarch/vector.d b/gas/testsuite/gas/loongarch/vector.d index 1a092bca3b8..4526b3d3640 100644 --- a/gas/testsuite/gas/loongarch/vector.d +++ b/gas/testsuite/gas/loongarch/vector.d @@ -1459,3 +1459,11 @@ Disassembly of section .text: [ ]+16a0:[ ]+77e40420[ ]+xvpermi.w[ ]+\$xr0,[ ]+\$xr1,[ ]+0x1 [ ]+16a4:[ ]+77e80420[ ]+xvpermi.d[ ]+\$xr0,[ ]+\$xr1,[ ]+0x1 [ ]+16a8:[ ]+77ec0420[ ]+xvpermi.q[ ]+\$xr0,[ ]+\$xr1,[ ]+0x1 +[ ]+16ac:[ ]+729d1420[ ]+vfrecipe.s[ ]+\$vr0,[ ]+\$vr1 +[ ]+16b0:[ ]+729d1820[ ]+vfrecipe.d[ ]+\$vr0,[ ]+\$vr1 +[ ]+16b4:[ ]+729d2420[ ]+vfrsqrte.s[ ]+\$vr0,[ ]+\$vr1 +[ ]+16b8:[ ]+729d2820[ ]+vfrsqrte.d[ ]+\$vr0,[ ]+\$vr1 +[ ]+16bc:[ ]+769d1420[ ]+xvfrecipe.s[ ]+\$xr0,[ ]+\$xr1 +[ ]+16c0:[ ]+769d1820[ ]+xvfrecipe.d[ ]+\$xr0,[ ]+\$xr1 +[ ]+16c4:[ ]+769d2420[ ]+xvfrsqrte.s[ ]+\$xr0,[ ]+\$xr1 +[ ]+16c8:[ ]+769d2820[ ]+xvfrsqrte.d[ ]+\$xr0,[ ]+\$xr1 diff --git a/gas/testsuite/gas/loongarch/vector.s b/gas/testsuite/gas/loongarch/vector.s index fe0369e763e..0283a4b4d53 100644 --- a/gas/testsuite/gas/loongarch/vector.s +++ b/gas/testsuite/gas/loongarch/vector.s @@ -1449,3 +1449,11 @@ xvldi $xr0, 1 xvpermi.w $xr0, $xr1, 1 xvpermi.d $xr0, $xr1, 1 xvpermi.q $xr0, $xr1, 1 +vfrecipe.s $vr0, $vr1 +vfrecipe.d $vr0, $vr1 +vfrsqrte.s $vr0, $vr1 +vfrsqrte.d $vr0, $vr1 +xvfrecipe.s $xr0, $xr1 +xvfrecipe.d $xr0, $xr1 +xvfrsqrte.s $xr0, $xr1 +xvfrsqrte.d $xr0, $xr1 diff --git a/opcodes/loongarch-opc.c b/opcodes/loongarch-opc.c index 2857c45f812..84ed33b3856 100644 --- a/opcodes/loongarch-opc.c +++ b/opcodes/loongarch-opc.c @@ -482,6 +482,8 @@ static struct loongarch_opcode loongarch_single_float_opcodes[] = { 0x01144400, 0xfffffc00, "fsqrt.s", "f0:5,f5:5", 0, 0, 0, 0 }, { 0x01145400, 0xfffffc00, "frecip.s", "f0:5,f5:5", 0, 0, 0, 0 }, { 0x01146400, 0xfffffc00, "frsqrt.s", "f0:5,f5:5", 0, 0, 0, 0 }, + { 0x01147400, 0xfffffc00, "frecipe.s", "f0:5,f5:5", 0, 0, 0, 0 }, + { 0x01148400, 0xfffffc00, "frsqrte.s", "f0:5,f5:5", 0, 0, 0, 0 }, { 0x01149400, 0xfffffc00, "fmov.s", "f0:5,f5:5", 0, 0, 0, 0 }, { 0x0114a400, 0xfffffc00, "movgr2fr.w", "f0:5,r5:5", 0, 0, 0, 0 }, { 0x0114ac00, 0xfffffc00, "movgr2frh.w", "f0:5,r5:5", 0, 0, 0, 0 }, @@ -528,6 +530,8 @@ static struct loongarch_opcode loongarch_double_float_opcodes[] = { 0x01144800, 0xfffffc00, "fsqrt.d", "f0:5,f5:5", 0, 0, 0, 0 }, { 0x01145800, 0xfffffc00, "frecip.d", "f0:5,f5:5", 0, 0, 0, 0 }, { 0x01146800, 0xfffffc00, "frsqrt.d", "f0:5,f5:5", 0, 0, 0, 0 }, + { 0x01147800, 0xfffffc00, "frecipe.d", "f0:5,f5:5", 0, 0, 0, 0 }, + { 0x01148800, 0xfffffc00, "frsqrte.d", "f0:5,f5:5", 0, 0, 0, 0 }, { 0x01149800, 0xfffffc00, "fmov.d", "f0:5,f5:5", 0, 0, 0, 0 }, { 0x0114a800, 0xfffffc00, "movgr2fr.d", "f0:5,r5:5", 0, 0, 0, 0 }, { 0x0114b800, 0xfffffc00, "movfr2gr.d", "r0:5,f5:5", 0, 0, 0, 0 }, @@ -1419,6 +1423,10 @@ static struct loongarch_opcode loongarch_lsx_opcodes[] = { 0x729cf800, 0xfffffc00, "vfrecip.d", "v0:5,v5:5", 0, 0, 0, 0}, { 0x729d0400, 0xfffffc00, "vfrsqrt.s", "v0:5,v5:5", 0, 0, 0, 0}, { 0x729d0800, 0xfffffc00, "vfrsqrt.d", "v0:5,v5:5", 0, 0, 0, 0}, + { 0x729d1400, 0xfffffc00, "vfrecipe.s", "v0:5,v5:5", 0, 0, 0, 0}, + { 0x729d1800, 0xfffffc00, "vfrecipe.d", "v0:5,v5:5", 0, 0, 0, 0}, + { 0x729d2400, 0xfffffc00, "vfrsqrte.s", "v0:5,v5:5", 0, 0, 0, 0}, + { 0x729d2800, 0xfffffc00, "vfrsqrte.d", "v0:5,v5:5", 0, 0, 0, 0}, { 0x729d3400, 0xfffffc00, "vfrint.s", "v0:5,v5:5", 0, 0, 0, 0}, { 0x729d3800, 0xfffffc00, "vfrint.d", "v0:5,v5:5", 0, 0, 0, 0}, { 0x729d4400, 0xfffffc00, "vfrintrm.s", "v0:5,v5:5", 0, 0, 0, 0}, @@ -2164,6 +2172,10 @@ static struct loongarch_opcode loongarch_lasx_opcodes[] = { 0x769cf800, 0xfffffc00, "xvfrecip.d", "x0:5,x5:5", 0, 0, 0, 0}, { 0x769d0400, 0xfffffc00, "xvfrsqrt.s", "x0:5,x5:5", 0, 0, 0, 0}, { 0x769d0800, 0xfffffc00, "xvfrsqrt.d", "x0:5,x5:5", 0, 0, 0, 0}, + { 0x769d1400, 0xfffffc00, "xvfrecipe.s", "x0:5,x5:5", 0, 0, 0, 0}, + { 0x769d1800, 0xfffffc00, "xvfrecipe.d", "x0:5,x5:5", 0, 0, 0, 0}, + { 0x769d2400, 0xfffffc00, "xvfrsqrte.s", "x0:5,x5:5", 0, 0, 0, 0}, + { 0x769d2800, 0xfffffc00, "xvfrsqrte.d", "x0:5,x5:5", 0, 0, 0, 0}, { 0x769d3400, 0xfffffc00, "xvfrint.s", "x0:5,x5:5", 0, 0, 0, 0}, { 0x769d3800, 0xfffffc00, "xvfrint.d", "x0:5,x5:5", 0, 0, 0, 0}, { 0x769d4400, 0xfffffc00, "xvfrintrm.s", "x0:5,x5:5", 0, 0, 0, 0}, From patchwork Wed Oct 25 13:49:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiajie Chen X-Patchwork-Id: 158104 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ce89:0:b0:403:3b70:6f57 with SMTP id p9csp2616736vqx; Wed, 25 Oct 2023 06:55:11 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHF3jJHKIOGbhlt97Ln4P0VwLq15Zra5OtHcaKqm4s6NDWc2ItRmVRM60l5e0tdz7O7T5KT X-Received: by 2002:a05:6214:212b:b0:66d:33d2:4ff5 with SMTP id r11-20020a056214212b00b0066d33d24ff5mr19041846qvc.41.1698242111711; Wed, 25 Oct 2023 06:55:11 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1698242111; cv=pass; d=google.com; s=arc-20160816; b=Me1jW0OMMUYAOho1opdGicbzN9402zD4hGT4GfTuxIBudue+U3GHpLnQLhQLZJlp8J lcJNOpIYRGOJdkWhB9Ry/HXnDIPK2WiZ76F9S+GQvhmix4n7uzKsyFsBt2exgT7VHmjH YEq4yVjbquLUClDoiUjtR+N+k7yirmQdWt2yHB831YKBZTEh/OKhI1feEI2+Amerzgd/ 0s0LQKw5qxTpTAEw2CiCvC3rBXqawnKTNBSl3NXUAsAopjghVJ4JqCD7NUWqxR2hAm3r 3h/eDNgRQ1opDXP3FR/kppa8l06KdzHoU8d5FP7NI9X8jiDcFpFPus5xZgCXKwWIGfII 9GNw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature:arc-filter:dmarc-filter:delivered-to; bh=OSrUOczVh8mC1kALHENSXz+HkNtS1DGx3HptRiLSC/A=; fh=fv/8kd93X7q7PiYwcb24Y7ZSw+zGVRBX4GVrzAZEj3Y=; b=MSSdX8Ueb/iaRYAQp8phVg6dyqcATDEGo6LiXGYK5JO+J5bkp2pIFBa5vMAM5OgFVm 6hy2bGORHV7iLcoeLRzBGGGfm2zVRQS0u1ZtT+GH/7yvxdjjU9IgZ50PwpGsqpN0hDpO 9sdDEugtECw/BmDd7tqKwV3uqQbUIduZ8dYzGk5NByQw55nY1BaCaqwPfY524pXvNVJL DJGrjtOBuKkMKajIfKORrkFLq5lscr5836rHShGobILR/4oRcalqTsIhW2sbMTwW5oGY u/dY47Rdilv91SpvdZd4t21+lgT7mYwk108G/g6mJeUcNKarjpCLY9k7vd3wg83zoEB+ ZaaA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@jia.je header.s=default header.b=tjMFW0uq; arc=pass (i=1); spf=pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="binutils-bounces+ouuuleilei=gmail.com@sourceware.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=jia.je Received: from server2.sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id fc17-20020ad44f31000000b0065623cd1f57si8368813qvb.464.2023.10.25.06.55.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Oct 2023 06:55:11 -0700 (PDT) Received-SPF: pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@jia.je header.s=default header.b=tjMFW0uq; arc=pass (i=1); spf=pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="binutils-bounces+ouuuleilei=gmail.com@sourceware.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=jia.je Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 1703D385C6D4 for ; Wed, 25 Oct 2023 13:54:50 +0000 (GMT) X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from hognose1.porkbun.com (hognose1.porkbun.com [35.82.102.206]) by sourceware.org (Postfix) with ESMTPS id E05A03857715 for ; Wed, 25 Oct 2023 13:54:17 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org E05A03857715 Authentication-Results: sourceware.org; dmarc=pass (p=quarantine dis=none) header.from=jia.je Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=jia.je ARC-Filter: OpenARC Filter v1.0.0 sourceware.org E05A03857715 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=35.82.102.206 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1698242058; cv=none; b=Dn97IRutYcw1DzvhmjPaNqYnHf0oXKfUbaTYbEfOlVAaDQH/vyKv9LdfWkM3alNzNon7yYqz7i6SZfbC4aWP9cJAoEQXS27u2SQvWGDGKt7thT6u+f90aqzvnrbxXFuiMRjXHcVL4WxxofLTtly1KsgK5TUSG9oIF59Z7yv8csE= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1698242058; c=relaxed/simple; bh=egLNpsHkSz4HSIugcMr0ExFYrDsD1ybj4V+O2ISfNCI=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=UQmHGzn+HKFpyjsQTwu/RIvw23EAJdBNe3MjIPDfMbS5aPk5Wx9yZZy0q6B9Jv8R+/4K1Othyay3WY2cJRrr/c09gX8O+cFv6Wy02BgI5yzmbd0ODeTfrm5iRLWBEcuNKjeAMaAgKegHEbJ8odGwsUS+LHzwsQenhLjqqYjKAsc= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from ls3a6000.. (unknown [223.72.40.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: c@jia.je) by hognose1.porkbun.com (Postfix) with ESMTPSA id 4CA1143EB0; Wed, 25 Oct 2023 13:54:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jia.je; s=default; t=1698242057; bh=OSrUOczVh8mC1kALHENSXz+HkNtS1DGx3HptRiLSC/A=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=tjMFW0uqULzLQdcS3j44KDCVV8BxptbjJsLo9FHGpREUUEa1IOPIJWAbbdcf6BxVI xI7FZSGRtwcKRJovcRJbG75rxnuNYsXEPv5VV1TrkL/O2hFg0wKnsqEtf8+eaFDBEJ cB1S3yCai/9/Teg4v2tapifIahe85c3M2Ud21IUg= From: Jiajie Chen To: binutils@sourceware.org Cc: xuchenghua@loongson.cn, liuzhensong@loongson.cn, Jiajie Chen Subject: [PATCH 3/3] gas: add loongarch v1.1 to NEWS Date: Wed, 25 Oct 2023 21:49:52 +0800 Message-ID: <20231025135347.289277-4-c@jia.je> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231025135347.289277-1-c@jia.je> References: <20231025135347.289277-1-c@jia.je> MIME-Version: 1.0 X-Spam-Status: No, score=-13.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: binutils@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Binutils mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: binutils-bounces+ouuuleilei=gmail.com@sourceware.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1780735920323168375 X-GMAIL-MSGID: 1780735920323168375 Signed-off-by: Jiajie Chen --- gas/NEWS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gas/NEWS b/gas/NEWS index 71a1269b893..2c7be79f003 100644 --- a/gas/NEWS +++ b/gas/NEWS @@ -18,6 +18,8 @@ * Add support for Cortex-X4 for AArch64. +* Add support for LoongArch V1.1 instructions. + Changes in 2.41: * Add support for the KVX instruction set.