From patchwork Tue Dec 19 06:40:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: changjiachen X-Patchwork-Id: 180776 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:24d3:b0:fb:cd0c:d3e with SMTP id r19csp1751367dyi; Mon, 18 Dec 2023 22:40:35 -0800 (PST) X-Google-Smtp-Source: AGHT+IFD1s9yt3+N5GNUreLgHI5zM/cl89hDpzmz3Z30IWT895M9Tl2SPC6xa5MPPfZyHh3VJrvD X-Received: by 2002:a05:620a:1677:b0:77e:fba3:a796 with SMTP id d23-20020a05620a167700b0077efba3a796mr13888023qko.116.1702968035114; Mon, 18 Dec 2023 22:40:35 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1702968035; cv=pass; d=google.com; s=arc-20160816; b=QIb4jnoHXrgkyoYit74RTZEYqA6zfTp/Xb6AdcHCj9rWaasnXv/q6maGxpTLIuEM0/ XEySrciAElWjcKH3eoNH1vw6LX7CqSJHCxwkI+SHSI1Ab+OZwWwP6gOQEktM2i+aC6d/ 3cSRibeO1QWJJgHNIvNcsyCGubNashE8Rhp+vLBEdHIfjNL+iSJ7fFEEegO22yUd1R0l lo+q1TL/DikzeafyaP+8FVDeq02mrO8aUbhfHkZFOidJ7HKR2PkVZeaBhMFB1+ZeSNe+ /bLk7X8a8gAxx86vi0yZlRip2qY3XvRWnEBp7jm6IM2+C2bCgsbajR18AXpbK0tmKbEr 5eqA== 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:arc-filter:dmarc-filter:delivered-to; bh=3xa0OFJQI2G5ARX6mpeAKgjJLOKQ8Z4ahMSsHI8Z20Q=; fh=uTF/VfpCAq2GtcL5NdCKul3VKQPlBSDYmUlZE/0CcYM=; b=TumFfHoXrc+BA0zf5szEwx3x4wxEYLs6WNMJOzGfvcDLJhl+U/36dg6Mp3cDSd1suU Fq6tosKWzXVOj3Mk7Apb3vgyzZD1hiWr7nnuQ+ObwramQM50RLYW/3wfNlFB0O6YPKuR vlcDABf3jfxMfZdBRk7sCE+G3iiufKYsNPsmDh/IuSExrtcj5zDYEwf0co+wMt9K/OH1 dfUoh1rYhi1wxA8eV//knFIIEStD7FLDBTQj70l8lOmu7QvORLT7nW/4VmSKKmx8smJ2 27MHfX6/GQY4SM0a+tYgqRUclgLHrmi1zwuBn14SSNlX+VKkaqOldknX1efA8wWShpxi GZxw== ARC-Authentication-Results: i=2; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=xupt.edu.cn Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id q9-20020a05620a038900b0077fb0b817d3si8770514qkm.123.2023.12.18.22.40.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 22:40:35 -0800 (PST) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=xupt.edu.cn Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 99859385DC0C for ; Tue, 19 Dec 2023 06:40:34 +0000 (GMT) X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from mail-m49198.qiye.163.com (mail-m49198.qiye.163.com [45.254.49.198]) by sourceware.org (Postfix) with ESMTPS id EFC333858298 for ; Tue, 19 Dec 2023 06:40:23 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org EFC333858298 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=stu.xupt.edu.cn Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=stu.xupt.edu.cn ARC-Filter: OpenARC Filter v1.0.0 sourceware.org EFC333858298 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=45.254.49.198 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1702968028; cv=none; b=OOqEqRu77SoNVlgZaHCb3NMVhvKvAlYdW/u1kHWYbc1f1zpBASclWNhmAT1HNYseioUuTwHNV6ldzM/nca63PIYD+gIlSKKOG2CZY3YdsK2ELCi22VadFZV+VJwA31wj/rYPqVGnDIqUR+8kSclfaXNc6G++9Zd8409pXm5GUCI= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1702968028; c=relaxed/simple; bh=ALVp2flesggJtG/2+OccU4Q61f3aifHqJjoAxPchBe8=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=A4FhOzQXxL+kZMfGyjD4CK1r62PjrOvt3k0D9c7Xo08//Isa7KAu21ytwoJJP9lsgoPIJ20JCR3dIBFkrhdT7g6l+ytP2tPlF5fzKbwIr4Qjl6S7dqFvOOBVLvVZeGF+I+1o7HxmLuREpabqEwSOPXrKegV76tlGIHWLa+y6QAw= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from ubuntu.localdomain (unknown [111.18.37.203]) by mail-m121144.qiye.163.com (Hmail) with ESMTPA id 10D06AC00D6; Tue, 19 Dec 2023 14:40:19 +0800 (CST) From: changjiachen To: binutils@sourceware.org Cc: xuchenghua@loongson.cn, chenglulu@loongson.cn, liuzhensong@loongson.cn, xry111@xry111.site, i.swmail@xen0n.name, maskray@google.com, cailulu@loongson.cn, luweining@loongson.cn, wanglei@loongson.cn, hejinyang@loongson.cn, Lazy_Linux@126.com, mengqinggang@loongson.cn, changjiachen Subject: [PATCH v4 3/5] LoongArch: opcodes: Add support for tls le relax. Date: Tue, 19 Dec 2023 14:40:09 +0800 Message-Id: <20231219064011.90412-4-changjiachen@stu.xupt.edu.cn> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231219064011.90412-1-changjiachen@stu.xupt.edu.cn> References: <20231219064011.90412-1-changjiachen@stu.xupt.edu.cn> MIME-Version: 1.0 X-HM-Spam-Status: e1kfGhgUHx5ZQUpXWQgPGg8OCBgUHx5ZQUlOS1dZFg8aDwILHllBWSg2Ly tZV1koWUFITzdXWS1ZQUlXWQ8JGhUIEh9ZQVkZSEJDVhgfSRlCGElLQx9JS1UTARMWGhIXJBQOD1 lXWRgSC1lBWUpKSlVKQ1VITFVJS0hZV1kWGg8SFR0UWUFZT0tIVUpKS0hKQ1VKS0tVS1kG X-HM-Tid: 0a8c80cdca79b039kuuu10d06ac00d6 X-HM-MType: 10 X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6Pgg6Fhw6Lzw5GS9KHgtITU02 TU4KCUNVSlVKTEtJQk1DS0lLSUxNVTMWGhIXVRgTGhUcERIaGBMeFTsIDw5VAw4LD1UeHw5VGBVF WVdZEgtZQVlKSkpVSkNVSExVSUtIWVdZCAFZQUlPTkk3Bg++ X-Spam-Status: No, score=-11.9 required=5.0 tests=BAYES_00, GIT_PATCH_0, KAM_DMARC_STATUS, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE 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: 1785691410231704333 X-GMAIL-MSGID: 1785691410231704333 Add new opcode for tls le relax. opcode/ChangeLog: * loongarch-opc.c: Add new loongarch opcode. --- opcodes/loongarch-opc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/opcodes/loongarch-opc.c b/opcodes/loongarch-opc.c index 15c7da6340c..f92e437650b 100644 --- a/opcodes/loongarch-opc.c +++ b/opcodes/loongarch-opc.c @@ -399,6 +399,7 @@ static struct loongarch_opcode loongarch_fix_opcodes[] = { 0x000c0000, 0xfffc0000, "bytepick.d", "r0:5,r5:5,r10:5,u15:3", 0, 0, 0, 0 }, { 0x00100000, 0xffff8000, "add.w", "r0:5,r5:5,r10:5", 0, 0, 0, 0 }, { 0x00108000, 0xffff8000, "add.d", "r0:5,r5:5,r10:5", 0, 0, 0, 0 }, + { 0x00108000, 0xffff8000, "add.d", "r0:5,r5:5,r10:5,t", 0, 0, 0, 0 }, { 0x00110000, 0xffff8000, "sub.w", "r0:5,r5:5,r10:5", 0, 0, 0, 0 }, { 0x00118000, 0xffff8000, "sub.d", "r0:5,r5:5,r10:5", 0, 0, 0, 0 }, { 0x00120000, 0xffff8000, "slt", "r0:5,r5:5,r10:5", 0, 0, 0, 0 },