From patchwork Mon Nov 21 17:15:44 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shahab Vahedi X-Patchwork-Id: 23957 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp1719039wrr; Mon, 21 Nov 2022 09:16:03 -0800 (PST) X-Google-Smtp-Source: AA0mqf6PadcydzYumU7pLZSyHHOXyztdCqpTBOjq8fj0I7VAoyV6HNMuu67aUsFLswXuBaOyjC+v X-Received: by 2002:a17:906:86c9:b0:78d:9324:6f18 with SMTP id j9-20020a17090686c900b0078d93246f18mr16614213ejy.664.1669050963281; Mon, 21 Nov 2022 09:16:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669050963; cv=none; d=google.com; s=arc-20160816; b=U6Y83TcDG8wKQwJaObdvQxVTF4Fj5Ti/jMm/T56mQcCu7C3+DKLn5VCc97AF5CC6OL RkC2vfPUHnaDRm0Y8bEdYkabTTHRw8Ds7PIi+CLcyGa5/mjHrDqVgrJzJoITPQ88N3A7 wwtHeeW6VxRb9Sb7YJXlP92Q7Nm0dCNhR0PTgGnXzA5dZlDnhzaX6tK9sg29LHU7YZAN 2To285Trfkgg/QA9N5XrbOaa8rWeNcBBdqma0MBZZbOqJ5Ow9lcUv2JDLqYgHL1zQyHk +0G5ykuyrvYRn0lE0BXAmCCiR5hJyRXDNbsA2TssUytsjHw+qhHiv/pNyxg77I77eEg7 y7UA== 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:message-id:date:subject:cc :to:dmarc-filter:delivered-to:dkim-signature:dkim-filter; bh=8NuxNsMrQIlVJMJEsrHPMPxRmy+RLD4DzJJhlVuBhuc=; b=tLHbClxgMKUDCOkco9e6Lfi6jQKU85eiLa7QqH+TNR9TkQq3suTC+dnDSm4uzUD44h YKlmU2BaIN2VzWonzBuL1dLDiw5oSS9Ftx+flTGtSfmpgwGmEEuvIw3Ke0gv0Ql3F6Gw 3H69T9Ib1X/F3GhWWrhjO3kp1FwhTqhaH//9cXCQMnPldmVTxWrrx/OSh6RTme90KSp7 NjfuUOPdZXT2NwHXsHo1+k2ViWnEgACSe9dm7X193GMaxw1gBJd55lUiA0g1I+uGtc65 Kf7wLRw8KbaW9QwcdzGuyyn9GYSG38xlyuxUpo8M2ooPzSlXezQojOLt45Hj6/qZk227 3p5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=LeP7AM3N; 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 (ip-8-43-85-97.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id x3-20020a05640226c300b00458cd6f8506si10647304edd.173.2022.11.21.09.16.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Nov 2022 09:16:03 -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=LeP7AM3N; 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 E604B384F490 for ; Mon, 21 Nov 2022 17:16:00 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E604B384F490 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1669050960; bh=8NuxNsMrQIlVJMJEsrHPMPxRmy+RLD4DzJJhlVuBhuc=; h=To:Cc:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=LeP7AM3NVFLv03sACkHVZ3iE4zdtnUpnMkgudma8PjyeArP/vU/UhxWQvNm83Xeyj II7Thve700G+plnOGCPXc3pcxbGw3IgKVb2DhK/P1zwu+o8AKFOS8n48bjN7ALXzLM ERpfF15jRc+pOIFvuCGKnb8pfun2ivUsjpWa+Mlg= 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 1124C385457A for ; Mon, 21 Nov 2022 17:15:51 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 1124C385457A 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 2ALEHPov011707 for ; Mon, 21 Nov 2022 09:15:50 -0800 Received: from smtprelay-out1.synopsys.com (smtprelay-out1.synopsys.com [149.117.87.133]) by mx0b-00230701.pphosted.com (PPS) with ESMTPS id 3kxxnhyw0m-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 21 Nov 2022 09:15:50 -0800 Received: from mailhost.synopsys.com (mdc-mailhost2.synopsys.com [10.225.0.210]) (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 9A747C0100 for ; Mon, 21 Nov 2022 17:15:49 +0000 (UTC) Received: from atlantis.internal.synopsys.com (unknown [10.225.29.83]) (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 908A2A005E; Mon, 21 Nov 2022 17:15:47 +0000 (UTC) X-SNPS-Relay: synopsys.com To: binutils@sourceware.org Cc: Shahab Vahedi , Claudiu Zissulescu Subject: [PATCH] opcodes: Correct address for ARC's "isa_config" aux reg Date: Mon, 21 Nov 2022 18:15:44 +0100 Message-Id: <20221121171544.3291-1-shahab@synopsys.com> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 X-Proofpoint-GUID: uiuLyvvWug5pG5ZW85QA0mMxO5Ds6sHn X-Proofpoint-ORIG-GUID: uiuLyvvWug5pG5ZW85QA0mMxO5Ds6sHn 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-21_14,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=697 clxscore=1011 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-2211210134 X-Spam-Status: No, score=-9.4 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?1750126782679389554?= 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/ 2022-11-21 Shahab Vahedi * 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..a363a12f07a 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,8 @@ +2022-11-21 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)