From patchwork Tue Nov 22 12:03:39 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shahab Vahedi X-Patchwork-Id: 24318 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp2158270wrr; Tue, 22 Nov 2022 04:03:55 -0800 (PST) X-Google-Smtp-Source: AA0mqf4qSfAhQfGNnEn6YF1yfY1V40Adyocs4uytEpXhGozp6CS9k7GqFs/0OFhGRaYRv5D+ln72 X-Received: by 2002:a05:6402:2908:b0:469:770e:ef0a with SMTP id ee8-20020a056402290800b00469770eef0amr3646784edb.205.1669118634951; Tue, 22 Nov 2022 04:03:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669118634; cv=none; d=google.com; s=arc-20160816; b=xEkNkB30t4p6aNcSoPEAreWNnqR1/AqoYV0GESX/ilvl2KPoJRCHutYPB8yLpr0nG7 SetxnBbHRDaAhwqOJYSgYx5giCBBbGBgqwAmG8XSvkdmM2JwCTXnkU8WE95JYeZGv7Wa oIff1adn1TcVQcJkMv1mtB7dfbqzz2R2XSUbd92+YL4mve95uhz28f7IbxKBnmIpDask eaXm9JEtF922kjTIaVFFoCr872wXPGBZN+zGkcg90X6hb+mgh77/qq4dy5/vCbR3CVBn nF0w535VXMuxod9m8IjL++mcVD7HV8zTj8VC8Y0Kju0pOkcM1lo8rE2BQeTji+YK9gki awZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:from: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:dmarc-filter:delivered-to :dkim-signature:dkim-filter; bh=AZKEOwhgFhe3iZ5OTY/qaNupvuRghxxY02ZljV6ugsc=; b=w4emeQ6dKmCM6u3N3uUqP8N2ghxsoYKExOJVN+yMmlFurWDm0eyAofMT7mAlXdpJqH 7y17cz1HqbZLIOGz1HjtK2swG572VxjOQ+JIAc1ZppekyMKcu4J6UPLgPlNi8vCSwXWQ A0wcUcQnssEtfx5dSf6FYhW78c2VRwICE7A+3/PWKB4I0+pDivaKXEwZiJS4Ulj6xQsK kzao4zqBNVlEtoGLUY+SsoyqgCaigXrMh8vpZckhMrfhGeyHyv3cEexOEMQ7yRuqsYje rKDcduqKwIN25/0/lG7ZPEOMYrFWBNneSRiLfGCRja+01M8MnQW4A7FbM5wnyL7kF/5r xs4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=U1nbNmAX; 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=NONE sp=NONE dis=NONE) header.from=sourceware.org Received: from sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id xe8-20020a170907318800b0078b41dcf4b8si13150714ejb.479.2022.11.22.04.03.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Nov 2022 04:03:54 -0800 (PST) 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=@sourceware.org header.s=default header.b=U1nbNmAX; 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=NONE sp=NONE dis=NONE) header.from=sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 0676C385800C for ; Tue, 22 Nov 2022 12:03:54 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0676C385800C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1669118634; bh=AZKEOwhgFhe3iZ5OTY/qaNupvuRghxxY02ZljV6ugsc=; h=To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=U1nbNmAX/tzRg1Op+cmeRrNySzgymr4JsLw3YrTmvG4N3o1keSTQ2SYKyCBR52ex5 QoFq2bi3oCT7z7ysntGbjnMl3aKgEYcrFM92GYn47LwIwDQy9edXbl1zxw8bebK4gn 0eU+PXs16WFwYa/UbSjn+C4WgiT2284Da/+1IAfA= X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from mx0b-00230701.pphosted.com (mx0b-00230701.pphosted.com [148.163.158.9]) by sourceware.org (Postfix) with ESMTPS id C15343858C50 for ; Tue, 22 Nov 2022 12:03:43 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org C15343858C50 Received: from pps.filterd (m0098572.ppops.net [127.0.0.1]) by mx0b-00230701.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 2AM8P1KP016591 for ; Tue, 22 Nov 2022 04:03:43 -0800 Received: from smtprelay-out1.synopsys.com (smtprelay-out1.synopsys.com [149.117.87.133]) by mx0b-00230701.pphosted.com (PPS) with ESMTPS id 3kxxnj49vp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 22 Nov 2022 04:03:43 -0800 Received: from mailhost.synopsys.com (sv1-mailhost2.synopsys.com [10.205.2.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mailhost.synopsys.com", Issuer "SNPSica2" (verified OK)) by smtprelay-out1.synopsys.com (Postfix) with ESMTPS id 423F4C00AF for ; Tue, 22 Nov 2022 12:03:42 +0000 (UTC) Received: from atlantis.internal.synopsys.com (atlantis.internal.synopsys.com [10.100.25.236]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client did not present a certificate) by mailhost.synopsys.com (Postfix) with ESMTPSA id 5EC71A0073; Tue, 22 Nov 2022 12:03:40 +0000 (UTC) X-SNPS-Relay: synopsys.com To: binutils@sourceware.org Cc: Shahab Vahedi , Claudiu Zissulescu Subject: [PUSHED] opcodes: Correct address for ARC's "isa_config" aux reg Date: Tue, 22 Nov 2022 13:03:39 +0100 Message-Id: <20221122120339.23186-1-shahab@synopsys.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221121171544.3291-1-shahab@synopsys.com> References: <20221121171544.3291-1-shahab@synopsys.com> MIME-Version: 1.0 X-Proofpoint-GUID: OdK9weAcTL5VPGGfn41jSV14tIWxcCng X-Proofpoint-ORIG-GUID: OdK9weAcTL5VPGGfn41jSV14tIWxcCng X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.895,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-11-22_06,2022-11-18_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_active_cloned_notspam policy=outbound_active_cloned score=0 phishscore=0 lowpriorityscore=0 bulkscore=0 priorityscore=1501 suspectscore=0 mlxlogscore=632 clxscore=1015 impostorscore=0 malwarescore=0 mlxscore=0 adultscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2210170000 definitions=main-2211220088 X-Spam-Status: No, score=-9.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, SPF_HELO_NONE, SPF_NONE, 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.29 Precedence: list List-Id: Binutils mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Shahab Vahedi via Binutils From: Shahab Vahedi Reply-To: Shahab Vahedi Errors-To: binutils-bounces+ouuuleilei=gmail.com@sourceware.org Sender: "Binutils" X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750126782679389554?= X-GMAIL-MSGID: =?utf-8?q?1750197741594603165?= This patch changes the address for "isa_config" auxiliary register from 0xC2 to the correct value 0xC1. Moreover, it only exists in arc700+ and not all ARCs. opcodes/ChangeLog: * arc-regs.h: Change isa_config address to 0xc1. isa_config exists for ARC700 and ARCV2 and not ARCALL. --- opcodes/ChangeLog | 5 +++++ opcodes/arc-regs.h | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 5bddae5c626..8dab47fcbb2 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,8 @@ +2022-11-22 Shahab Vahedi + + * arc-regs.h: Change isa_config address to 0xc1. + isa_config exists for ARC700 and ARCV2 and not ARCALL. + 2022-10-31 Yoshinori Sato * rx-decode.opc: Switch arguments of the MVTACGU insn. diff --git a/opcodes/arc-regs.h b/opcodes/arc-regs.h index 2f296639442..aa6b40de1f1 100644 --- a/opcodes/arc-regs.h +++ b/opcodes/arc-regs.h @@ -207,7 +207,8 @@ DEF (0xac, ARC_OPCODE_ARCALL, NONE, se_dbg_data3) DEF (0xad, ARC_OPCODE_ARCALL, NONE, se_watch) DEF (0xc0, ARC_OPCODE_ARCALL, NONE, bpu_build) DEF (0xc1, ARC_OPCODE_ARC600, NONE, arc600_build_config) -DEF (0xc2, ARC_OPCODE_ARCALL, NONE, isa_config) +DEF (0xc1, ARC_OPCODE_ARC700, NONE, isa_config) +DEF (0xc1, ARC_OPCODE_ARCV2, NONE, isa_config) DEF (0xf4, ARC_OPCODE_ARCALL, NONE, hwp_build) DEF (0xf5, ARC_OPCODE_ARCALL, NONE, pct_build) DEF (0xf6, ARC_OPCODE_ARCALL, NONE, cc_build)