From patchwork Thu Oct 26 09:35:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiajie Chen X-Patchwork-Id: 158469 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:d641:0:b0:403:3b70:6f57 with SMTP id cy1csp543028vqb; Thu, 26 Oct 2023 02:37:18 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHRWKeDc0iT+aAIEWdAPkZDm6zfd0APA8bVMAIe622+nHNMPcMCdXvMN9cc4qiRlWPEoCJT X-Received: by 2002:ac8:7c4c:0:b0:417:9e55:617f with SMTP id o12-20020ac87c4c000000b004179e55617fmr22200593qtv.62.1698313038104; Thu, 26 Oct 2023 02:37:18 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1698313038; cv=pass; d=google.com; s=arc-20160816; b=I2UoP0Fip4DGeZC38OJLZvL/Q6dA0Bm/h7KZwFCVJIlnVPkSEc3lROIUAlx/svXM8D hJ1/QCsMTZnqAMXZLsgY3JHkuJ3190MgEZ64QLVzyPi98NSwiHmyrRGLorYAHfn/34Ry C14j6YxQQOt+KQfj+clvc2tfk8i1cX2/6/ScMKfSjSjgDXfvB+r46+/AQhXaO5b40VpG QeHBNsozgntFHOfcCVA1hxhxUsNI5GlGYXOhvJcH56L6U4NcJwyO4Qm+5GgF8kO6mIEa wpeTCe9d9g3F9eUqiAPCK6emrms6yjYT/GTKn77+ljIDkpGSuXA8DgvGdDeIcyGkg1qa QdNw== 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=Lz3lH14lqFlSCWzlZNfuvU5akniNxuymL79nC4ImZ8E=; fh=lf2PRoLYCpDEPskmg/EpY5WaggB2jqBU/NClPbOnwxw=; b=X3FHd91qvn0Fk9kloZycpx7nc0j/TXNDXzvLcgb4so1S9suX771Tc6Qi4MuT6yiXl8 MWaaxiLbqUTPOZxzQ+9/nUJEJZ34twHmcvhc/vvYXbniqDCleR/Od/iOBaW6NYJLYCZ9 swQpucmNsgYcV9pIWPQB8JX+ovB17AlW5pM355D/E2QelK1DYqknbYm6KJ0fHC8hdXd2 yJQiQ1GYitplCSzVnsIeymg5magegWv3Wrd0oq8pvQ4oHBM310D+wRhJ368xHnJF/RaE s36kJVTKFYj7VFihIc00Yrax2G/GqLZDe+JYhmRXpIUop8zl56PfuFN2K3AZaOl+H+a5 x6Cw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@jia.je header.s=default header.b=vnZf2oyB; 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 o21-20020ac87c55000000b0041cba84cc02si9070035qtv.436.2023.10.26.02.37.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Oct 2023 02:37:18 -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=vnZf2oyB; 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 CD720385559B for ; Thu, 26 Oct 2023 09:37:17 +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 4AE56385840F for ; Thu, 26 Oct 2023 09:37:10 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 4AE56385840F 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 4AE56385840F 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=1698313033; cv=none; b=lf+VFVD0rJjAG3R6JHIAfZgBi9f2OWFdH37uT/L+BrnPRscuO4vH78VXqEeQl8iSBRv+S8sZQc5s0M8ona/Ua/NOG/XrSedQNSinE9DKtARNxcg7cdYy54CFB8CZp0XYInVKH9BkduUjwjG3TsUnYKTAiG6UyR2TG21IAIpFHYc= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1698313033; c=relaxed/simple; bh=kjFvn/+7SJmm701PsbsRMn5l6QZmGeUeSwWMkopn35U=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=o/4okwbij0apS6cILSikZLcNDL1lK9YX0FQYb/Oa5NGnqa8SyBuKVJ2c7F0iar/6Jux4puvuPMvhPR/luuwZb2HI/apqWs7vLxJp3HDCAJvo31jfboIIS8814XNmpkmdRbNFrr1m32Yo6jJHXcO+8rXUL2+9R8jswbZFncAnASs= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from ls3a6000.. (unknown [223.72.62.34]) (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 642BC44065; Thu, 26 Oct 2023 09:37:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jia.je; s=default; t=1698313029; bh=Lz3lH14lqFlSCWzlZNfuvU5akniNxuymL79nC4ImZ8E=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=vnZf2oyBadEWa71K/ImQcaRoff5juc/Vp9UGwU0nZjt9R8xCkOCtCJ/gc6LDJkN+1 ylqpq/yoQ3ZFM5yuAi1V6oWcfbtUn/b75yNsC73r0rjL4vHQqFVJKQo8Gxy6y52dl4 6fBLy/YzQD+uuorvOCfWBbi4IGa8mAZCnX55aQfk= From: Jiajie Chen To: binutils@sourceware.org Cc: xuchenghua@loongson.cn, liuzhensong@loongson.cn, mengqinggang@loongson.cn, Jiajie Chen Subject: [PATCH v2 1/3] as: Add new atomic instructions in LoongArch v1.1 Date: Thu, 26 Oct 2023 17:35:13 +0800 Message-ID: <20231026093646.20609-2-c@jia.je> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231026093646.20609-1-c@jia.je> References: <20231026093646.20609-1-c@jia.je> MIME-Version: 1.0 X-Spam-Status: No, score=-13.2 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: 1780810292096486745 X-GMAIL-MSGID: 1780810292096486745 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 | 42 +++++++++++++++++++++ gas/testsuite/gas/loongarch/load_store_op.s | 42 +++++++++++++++++++++ opcodes/loongarch-opc.c | 42 +++++++++++++++++++++ 4 files changed, 130 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..0ad83167bbc 100644 --- a/gas/testsuite/gas/loongarch/load_store_op.d +++ b/gas/testsuite/gas/loongarch/load_store_op.d @@ -176,3 +176,45 @@ 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:[ ]+385714c4 [ ]+sc.q[ ]+[ ]+\$a0, \$a1, \$a2 + 2ac:[ ]+385780a4 [ ]+llacq.w[ ]+[ ]+\$a0, \$a1 + 2b0:[ ]+385780a4 [ ]+llacq.w[ ]+[ ]+\$a0, \$a1 + 2b4:[ ]+385784a4 [ ]+screl.w[ ]+[ ]+\$a0, \$a1 + 2b8:[ ]+385784a4 [ ]+screl.w[ ]+[ ]+\$a0, \$a1 + 2bc:[ ]+385788a4 [ ]+llacq.d[ ]+[ ]+\$a0, \$a1 + 2c0:[ ]+385788a4 [ ]+llacq.d[ ]+[ ]+\$a0, \$a1 + 2c4:[ ]+38578ca4 [ ]+screl.d[ ]+[ ]+\$a0, \$a1 + 2c8:[ ]+38578ca4 [ ]+screl.d[ ]+[ ]+\$a0, \$a1 + 2cc:[ ]+385814c4 [ ]+amcas.b[ ]+[ ]+\$a0, \$a1, \$a2 + 2d0:[ ]+385818a4 [ ]+amcas.b[ ]+[ ]+\$a0, \$a2, \$a1 + 2d4:[ ]+385894c4 [ ]+amcas.h[ ]+[ ]+\$a0, \$a1, \$a2 + 2d8:[ ]+385898a4 [ ]+amcas.h[ ]+[ ]+\$a0, \$a2, \$a1 + 2dc:[ ]+385914c4 [ ]+amcas.w[ ]+[ ]+\$a0, \$a1, \$a2 + 2e0:[ ]+385918a4 [ ]+amcas.w[ ]+[ ]+\$a0, \$a2, \$a1 + 2e4:[ ]+385994c4 [ ]+amcas.d[ ]+[ ]+\$a0, \$a1, \$a2 + 2e8:[ ]+385998a4 [ ]+amcas.d[ ]+[ ]+\$a0, \$a2, \$a1 + 2ec:[ ]+385a14c4 [ ]+amcas_db.b[ ]+[ ]+\$a0, \$a1, \$a2 + 2f0:[ ]+385a18a4 [ ]+amcas_db.b[ ]+[ ]+\$a0, \$a2, \$a1 + 2f4:[ ]+385a94c4 [ ]+amcas_db.h[ ]+[ ]+\$a0, \$a1, \$a2 + 2f8:[ ]+385a98a4 [ ]+amcas_db.h[ ]+[ ]+\$a0, \$a2, \$a1 + 2fc:[ ]+385b14c4 [ ]+amcas_db.w[ ]+[ ]+\$a0, \$a1, \$a2 + 300:[ ]+385b18a4 [ ]+amcas_db.w[ ]+[ ]+\$a0, \$a2, \$a1 + 304:[ ]+385b94c4 [ ]+amcas_db.d[ ]+[ ]+\$a0, \$a1, \$a2 + 308:[ ]+385b98a4 [ ]+amcas_db.d[ ]+[ ]+\$a0, \$a2, \$a1 + 30c:[ ]+385c14c4 [ ]+amswap.b[ ]+[ ]+\$a0, \$a1, \$a2 + 310:[ ]+385c18a4 [ ]+amswap.b[ ]+[ ]+\$a0, \$a2, \$a1 + 314:[ ]+385c94c4 [ ]+amswap.h[ ]+[ ]+\$a0, \$a1, \$a2 + 318:[ ]+385c98a4 [ ]+amswap.h[ ]+[ ]+\$a0, \$a2, \$a1 + 31c:[ ]+385d14c4 [ ]+amadd.b[ ]+[ ]+\$a0, \$a1, \$a2 + 320:[ ]+385d18a4 [ ]+amadd.b[ ]+[ ]+\$a0, \$a2, \$a1 + 324:[ ]+385d94c4 [ ]+amadd.h[ ]+[ ]+\$a0, \$a1, \$a2 + 328:[ ]+385d98a4 [ ]+amadd.h[ ]+[ ]+\$a0, \$a2, \$a1 + 32c:[ ]+385e14c4 [ ]+amswap_db.b[ ]+[ ]+\$a0, \$a1, \$a2 + 330:[ ]+385e18a4 [ ]+amswap_db.b[ ]+[ ]+\$a0, \$a2, \$a1 + 334:[ ]+385e94c4 [ ]+amswap_db.h[ ]+[ ]+\$a0, \$a1, \$a2 + 338:[ ]+385e98a4 [ ]+amswap_db.h[ ]+[ ]+\$a0, \$a2, \$a1 + 33c:[ ]+385f14c4 [ ]+amadd_db.b[ ]+[ ]+\$a0, \$a1, \$a2 + 340:[ ]+385f18a4 [ ]+amadd_db.b[ ]+[ ]+\$a0, \$a2, \$a1 + 344:[ ]+385f94c4 [ ]+amadd_db.h[ ]+[ ]+\$a0, \$a1, \$a2 + 348:[ ]+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..7912adb1090 100644 --- a/gas/testsuite/gas/loongarch/load_store_op.s +++ b/gas/testsuite/gas/loongarch/load_store_op.s @@ -167,3 +167,45 @@ 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,0 +sc.q $r4,$r5,$r6 +llacq.w $r4,$r5,0 +llacq.w $r4,$r5 +screl.w $r4,$r5,0 +screl.w $r4,$r5 +llacq.d $r4,$r5,0 +llacq.d $r4,$r5 +screl.d $r4,$r5,0 +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..c53725fa501 100644 --- a/opcodes/loongarch-opc.c +++ b/opcodes/loongarch-opc.c @@ -816,6 +816,48 @@ 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 }, + { 0x0, 0x0, "sc.q", "r,r,r,u0:0", "sc.q %1,%2,%3", 0, 0, 0 }, + { 0x38570000, 0xffff8000, "sc.q", "r0:5,r10:5,r5:5", 0, 0, 0, 0 }, + { 0x0, 0x0, "llacq.w", "r,r,u0:0", "llacq.w %1,%2", 0, 0, 0 }, + { 0x38578000, 0xfffffc00, "llacq.w", "r0:5,r5:5", 0, 0, 0, 0 }, + { 0x0, 0x0, "screl.w", "r,r,u0:0", "screl.w %1,%2", 0, 0, 0 }, + { 0x38578400, 0xfffffc00, "screl.w", "r0:5,r5:5", 0, 0, 0, 0 }, + { 0x0, 0x0, "llacq.d", "r,r,u0:0", "llacq.d %1,%2", 0, 0, 0 }, + { 0x38578800, 0xfffffc00, "llacq.d", "r0:5,r5:5", 0, 0, 0, 0 }, + { 0x0, 0x0, "screl.d", "r,r,u0:0", "screl.d %1,%2", 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 Thu Oct 26 09:35:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiajie Chen X-Patchwork-Id: 158471 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:d641:0:b0:403:3b70:6f57 with SMTP id cy1csp543445vqb; Thu, 26 Oct 2023 02:38:10 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE4zRcRmqxQi32hcxYe0RzSbN//aY85JyAwTE7oejOC2ZXgDG2sNT6fN8Fvoxp8fmBoKy87 X-Received: by 2002:a05:622a:1351:b0:417:f27c:3f28 with SMTP id w17-20020a05622a135100b00417f27c3f28mr28324542qtk.58.1698313090802; Thu, 26 Oct 2023 02:38:10 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1698313090; cv=pass; d=google.com; s=arc-20160816; b=COEmTwQ+lM9kU6CVW4kTZ4EWx8KnG0NzHGPlnnDPIjfUSYxDujhy/QuggVMO7FCOtq +XjhIXUDMrZPAvV+1h2o5cIwLzCSRKrR0wvcIcN8WZpZcBtihFMF54IzSqfBJwKRAwqY OUbjlrbc6BpRmXDt+f3Vah5911+LMNjkpS294lWinW6Ilx9MOIcfgH/LYQw6NrhvJVhX 5eChoXig9ICr7l90Snx48ul73SSG+IzGFCrdeuJAdfZGf8AC2VmJXxUEiCMiwKS3Oosg nDYXB7CxqoZqWzQiMnBYcobIMSgywd90nmuiQfNqG91pMvx5bQxuZUmuKUsR/NYfEM/x LgUg== 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=WGTpluC7cn2AG/jhxItdRVjCWE9WmX2WgdTPz5CIm9A=; fh=lf2PRoLYCpDEPskmg/EpY5WaggB2jqBU/NClPbOnwxw=; b=B5IbuZMHET2kZpCrQDv7Fk45ZtgzdQqGZU+qvPX4Z69+pyzUF3+m7CgMHLttDvgR6/ 7e/MFW9NHi7TTWt+4F6d0sbkpjsU/tqnrln8gz9yeF2r7I8K7kBAN6CzA4TEgo7ygPxF aoUCIT+bRRWAjictuB3qhRJrwq7HkHgQfbS3gHpjCklPvwImvgzYxZceTAzNC3z2bb+n KrJtGzdNQfrl2Y54dvN0+firTwYXQlGXb7VRC8sJJVYyN0S4MZUvJjKDafesaxWx1XBg j2sQ2400cwDOhJeltGwupf/lhJ1Jrv3xZ3EltOCbDsXqFJU5DDEvUhAO5jxeuYKgHmeC Dp2w== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@jia.je header.s=default header.b=bvva9UUB; 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 c8-20020ac87dc8000000b0040fe2787c6dsi9240184qte.542.2023.10.26.02.38.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Oct 2023 02:38:10 -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=bvva9UUB; 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 5C00C385703A for ; Thu, 26 Oct 2023 09:38:01 +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 17BCC3858281 for ; Thu, 26 Oct 2023 09:37:13 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 17BCC3858281 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 17BCC3858281 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=1698313034; cv=none; b=suG4K5eVGnZ4ErIhdF9/ngSwZd4TJqbBE+0rDeaOPjMCr7WQV13xL2ZFetIbZ/cP3aW5M7YkZCJ92NvApO+XWnnJZ37BplTHSVrZGe8cV31+215/UvwCeUTCiZpD0B3C3BPhPyUEjQQikimbvvP5Fsdhqc9rUWXldH27HGLDhXs= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1698313034; c=relaxed/simple; bh=c1Ee/bj+UXQe3OnrNz9WmGOZeeyVsRGEGqBfDCuThuU=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=I6YXlM/qraIBp009A7i4vcEx/GIp2y5qmDCZqwYDYg0kXbqeYUSPkSeglQPEXhe9HkuxgmMcZg6zatf1pcADC1umEabvxSFOsHAQUUJ1W+AcG3xQkXz4BM3AsIyxlgygEW1clGLXNDNPWbEJLOEeowD+3eTSii44Xijy084fERw= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from ls3a6000.. (unknown [223.72.62.34]) (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 3AD49443C4; Thu, 26 Oct 2023 09:37:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jia.je; s=default; t=1698313032; bh=WGTpluC7cn2AG/jhxItdRVjCWE9WmX2WgdTPz5CIm9A=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=bvva9UUBrC37btAEGBgndWYOn8b3n3NfyU+8gvYzA2eXq+LB0/pGHfDa1cj1WYBA7 PzO4tej56cFHxEeR3NEqNYBOGJ9NPrj5F6ymMzEZH/aBISrIjLlTtv0RNca529Q1JS YEXLh9L7SanDyeKSlth4ChyufmYr7jMuOW9PqHXg= From: Jiajie Chen To: binutils@sourceware.org Cc: xuchenghua@loongson.cn, liuzhensong@loongson.cn, mengqinggang@loongson.cn, Jiajie Chen Subject: [PATCH v2 2/3] as: Add new estimated reciprocal instructions in LoongArch v1.1 Date: Thu, 26 Oct 2023 17:35:14 +0800 Message-ID: <20231026093646.20609-3-c@jia.je> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231026093646.20609-1-c@jia.je> References: <20231026093646.20609-1-c@jia.je> MIME-Version: 1.0 X-Spam-Status: No, score=-13.2 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: 1780810347723032683 X-GMAIL-MSGID: 1780810347723032683 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 c53725fa501..5cd1411a9d2 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 }, @@ -1424,6 +1428,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}, @@ -2169,6 +2177,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 Thu Oct 26 09:35:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiajie Chen X-Patchwork-Id: 158470 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:d641:0:b0:403:3b70:6f57 with SMTP id cy1csp543157vqb; Thu, 26 Oct 2023 02:37:32 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFJNwfYJsC/4ZjRtsBvxGFlk9/0gkSzF+9XpgYUEM9FjUP9bGH3kWVUYpvATdMEWmGPbvua X-Received: by 2002:ac8:5801:0:b0:418:1ba6:2b37 with SMTP id g1-20020ac85801000000b004181ba62b37mr17589844qtg.63.1698313052339; Thu, 26 Oct 2023 02:37:32 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1698313052; cv=pass; d=google.com; s=arc-20160816; b=sdpGvp70fWa844ctsZDOodjF0/3UOt/89BFrfoqP3KGi9smAk0fqUyIMzCEIjyxiX0 SCKoFVBoHpTUCDh3Ahm4zoT91AGCxhpMWzU6bic1zrAwaHFr045uwfWxzyPEwcPAdGDx F1jdETdxK0kaNCt4PvuJlYBnPbC/qeM9sw3zNrGY/DPoFn1Uo5q/4oz0bNPO8lBCGYLw ILx9MrefxIuf4GK0R1mSv3ozY6WpvLD6VfnHu+ugx+Aizxj7m0DUrfYmokTomL9LFD9M nbgUsRQpLnXbPQcJvQYmQCsC+N+gxAIqwc+5zEzgpGmD8//lJcPcINKaEp4UeqZUkMjH ndWQ== 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=lf2PRoLYCpDEPskmg/EpY5WaggB2jqBU/NClPbOnwxw=; b=BluELFxNCtCLrCXukyAQjfiDhMo/7pAmsdwdfKZXIeANhXp2pAV3B7elBa44jFnbsU m9XL771U6XZVzruOW8vChQx4jZ/Rt5XhMJyohSHQaFIqPxT9pfOYxrPm+AN5FImVq21C qebuxKShme9FZ4pzwWtrwHpxR7RzIXypVOM1q9+btG0tATME5+lH+9wSj6gnhkx6A+Oi pLuc+8bE6eG/PeAMaaGYcqFhjEiQ/y81z9dONETu+UpCOtGntk7a0o/bsoX0P1P+uioE avxs8GnS7rUP/q9o6D2Q26MXWhTkYuT7RhzwoVY/LtgofGY6xZFJCioTiScGj5N0/YYe +UEg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@jia.je header.s=default header.b=N1oH35Oj; 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 x9-20020ac85f09000000b004197e89b6e1si9044370qta.474.2023.10.26.02.37.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Oct 2023 02:37:32 -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=N1oH35Oj; 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 382D33853522 for ; Thu, 26 Oct 2023 09:37:30 +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 6C3CD385DC1D for ; Thu, 26 Oct 2023 09:37:15 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 6C3CD385DC1D 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 6C3CD385DC1D 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=1698313036; cv=none; b=D1C7nAjZcXOg2/SFdo3XrFNUqMG05JDI7gZimqFMhfXnma7QlG/+Un8pCJNZbdDL7QEDBt+Ylir1vkTOtq8JH3d2dn9IafMcAMYfreIk8C12771cXk7Sym7vIWFh0k6MF5Ka+GenHI/cvbAKqN3xqeXEsbeObIpZ5wQ1ZsTw7hY= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1698313036; c=relaxed/simple; bh=egLNpsHkSz4HSIugcMr0ExFYrDsD1ybj4V+O2ISfNCI=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=C+qGzoXqlvg1oFBL9Rp6AKaTfRpMyisASNfsDv3ScZDyQc/9HFoRVLwJhpIjgK/SRo8Dm4ijwqQdEFMrf93SRvy+VfVNKwGVi3juXwu6fAuZt33eAhY2ZNQwdfVWq1E1W4C1oHOL5xQspFMrptlaeGbQ6VyLdz/CBg48Tga/Kdw= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from ls3a6000.. (unknown [223.72.62.34]) (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 AC2474443E; Thu, 26 Oct 2023 09:37:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jia.je; s=default; t=1698313034; bh=OSrUOczVh8mC1kALHENSXz+HkNtS1DGx3HptRiLSC/A=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=N1oH35OjyRruLErJ5AXxTxKUVjvM/dfdyI7mKRpL31BTaVnRtbKTNGTD+e7xEJb+y GmCXv1Z5f1nvw6MBgHtsNLxSQ/RJlAWssQSHZDhnjqOLvabE0Gv2YIN9C4YH4v40g4 fpIHdiLaBosX6dIjxhTLSyELP8DSQUwwx7DHTBx0= From: Jiajie Chen To: binutils@sourceware.org Cc: xuchenghua@loongson.cn, liuzhensong@loongson.cn, mengqinggang@loongson.cn, Jiajie Chen Subject: [PATCH v2 3/3] gas: add loongarch v1.1 to NEWS Date: Thu, 26 Oct 2023 17:35:15 +0800 Message-ID: <20231026093646.20609-4-c@jia.je> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231026093646.20609-1-c@jia.je> References: <20231026093646.20609-1-c@jia.je> MIME-Version: 1.0 X-Spam-Status: No, score=-13.5 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: 1780810307355367330 X-GMAIL-MSGID: 1780810307355367330 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.