From patchwork Tue Jul 4 10:27:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Claudiu Zissulescu Ianculescu X-Patchwork-Id: 115692 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9f45:0:b0:3ea:f831:8777 with SMTP id v5csp1113790vqx; Tue, 4 Jul 2023 03:27:19 -0700 (PDT) X-Google-Smtp-Source: APBJJlHy6CYU7iC2XEI87mOPij+03Uy1hU75DjPtYs4YJg6Z2eNOcYJSufdWe42x7l4bDyjUVt9J X-Received: by 2002:a05:6402:50f:b0:51e:f83:6de3 with SMTP id m15-20020a056402050f00b0051e0f836de3mr3608121edv.17.1688466439040; Tue, 04 Jul 2023 03:27:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688466439; cv=none; d=google.com; s=arc-20160816; b=0265nU0oKCi+3P8YokmsA3CoXsl9gNFuzUVXSVCZNktdfvxWOBb9eTaqKOdMU11YwB cDy2S7TSPYRtQ7Q70xQr1PLbdxs16GFdAeHoNpFoPTiGNhNjiFAMUzz5NGMySZRgsmM3 Zu66c8i1bN/YVfZKnkRK58nOKuuAn+65FmKwL//BMUxb0uFcQ4uEkPE67+HbqZpgbx/k +ydgLGzwj6SD9FYdzqwAvpbAo0w9YJZVpWeo4f4HRSAczfUCLR6z8zup0EX29nr8NUA3 STnALA9eu3ENDQ+/VN5O0bJUQrWERqcqMeETYxZkmcealL0/NzYJ688t08HS+wD6iFkd vytg== 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=mNmJT6i3SsHIOhTaNyiNLHzR26Bn8GgT8H6OKuH8cnk=; fh=XLB4P52z3bowZIMYoHP4s72Zxh9XCg9ZyOgY1lGe8/4=; b=NirlF3MnV3LDWSxLsQAbxi7fNzS1RWlUJlhOoAmH2RBHplkbNjd1oaoJU5SZZh0Nk9 JYPwofyWUF3dNNYJtUbDo9TQoDxjFoob9DdttY0JQqdUglGK+kwl0tvt96aGGuF1e6+6 GoRtY+5571AJHG/wxpobNS711cIJ81/t7TXMoQ50Sh0OWLBGAL1bVnkZKTbUtez788Y1 /bSDiiUa6LzU7VpWCkbZAZOCGZdC1OTAstgWy8klXzCtmStgFjNGHiea/OlzQBp9ZQib PxUmcf+bqb9o6F+Rf8akl/u61cNCyK28e5kOlAN+16KVmiK+GhmI3nCDX1gaGvzRdRFP aUOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=KjRu+K+Z; 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=NONE sp=NONE dis=NONE) header.from=sourceware.org Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id m23-20020a50ef17000000b0051ddf67cb47si6512999eds.204.2023.07.04.03.27.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Jul 2023 03:27: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=@sourceware.org header.s=default header.b=KjRu+K+Z; 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=NONE sp=NONE dis=NONE) header.from=sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 14A663858022 for ; Tue, 4 Jul 2023 10:27:16 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 14A663858022 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1688466436; bh=mNmJT6i3SsHIOhTaNyiNLHzR26Bn8GgT8H6OKuH8cnk=; h=To:Cc:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=KjRu+K+ZoNHCoWrl8T8rRwmvOwuGmKIgE5XwL2UOTW0ooliaLkmjUjIPUL5jF1r4c 62f5e6I0FdYAx6HQWZ6QkWQ4KA7/mF+2v9YQ71FnykYj6opQ485M/yRLZ8RsnKMmhV nW6j5eJMxSxEfTHYhmdImtiKpvmoY38+8qmA+BP0= X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) by sourceware.org (Postfix) with ESMTPS id CA07A3858409 for ; Tue, 4 Jul 2023 10:27:06 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org CA07A3858409 Received: by mail-lf1-x134.google.com with SMTP id 2adb3069b0e04-4fb960b7c9dso8455281e87.0 for ; Tue, 04 Jul 2023 03:27:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688466425; x=1691058425; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=mNmJT6i3SsHIOhTaNyiNLHzR26Bn8GgT8H6OKuH8cnk=; b=PkWAp2Dklkr6N7niy2zqbxedaxcx+Oecfw/bhXkNIq7lq0fDko0NE98NHa1oooi4Ft wdwlyBnaAqHGZUjMjXrlrzaAVV86tzKgvYtbcINqg3KghdqY+DzV5DsyGw6KfhGAQ3w4 PKy+GeGn1hn0Ykxf2RLsPCOQxF4BUUrRCoa1pMtdQWty76ZX2wSYJOkpmFqy08HyLuTF vd4TjijUh+PfhGnXoMyTIcTUD5JVN3GpQ1kRy+R7k4avPLFXXHQlHnqUBdj9JAc1sZIh BkrUlcCKJmLjFHIzTwKGTNiFpRqnjcEP84iVnulm7Dazj/2LnXLK7LHFFfwvOdeJmier oiBg== X-Gm-Message-State: ABy/qLYb5qM67/VaG+BCyc4DDHIDpWQF+xeUhn/tbL+mdeBp01LLrAn6 7PMUFnFJR9Mz/JyoGbwhuocxCfBO9P8= X-Received: by 2002:a05:6512:2ee:b0:4f3:80a3:b40a with SMTP id m14-20020a05651202ee00b004f380a3b40amr8337494lfq.69.1688466424461; Tue, 04 Jul 2023 03:27:04 -0700 (PDT) Received: from fatty.nomansland ([193.187.151.25]) by smtp.gmail.com with ESMTPSA id 4-20020a05600c228400b003fbc216b137sm13393229wmf.3.2023.07.04.03.27.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Jul 2023 03:27:04 -0700 (PDT) To: binutils@sourceware.org Cc: fbedard@synopsys.com Subject: [committed 1/2] arc: Update neg<.f> 0,b encoding Date: Tue, 4 Jul 2023 13:27:02 +0300 Message-Id: <20230704102703.650038-1-claziss@gmail.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-Spam-Status: No, score=-12.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, 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.29 Precedence: list List-Id: Binutils mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Claudiu Zissulescu via Binutils From: Claudiu Zissulescu Ianculescu Reply-To: Claudiu Zissulescu 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?1770485384526851916?= X-GMAIL-MSGID: =?utf-8?q?1770485384526851916?= Wrong encoding for null destination NEG instruction. Fix it. Signed-off-by: Claudiu Zissulescu --- opcodes/arc-tbl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opcodes/arc-tbl.h b/opcodes/arc-tbl.h index 529edd02ea7..b90413de7ef 100644 --- a/opcodes/arc-tbl.h +++ b/opcodes/arc-tbl.h @@ -14242,7 +14242,7 @@ { "neg", 0x204E0000, 0xF8FF0FC0, ARC_OPCODE_ARC600 | ARC_OPCODE_ARC700 | ARC_OPCODE_ARCv2EM | ARC_OPCODE_ARCv2HS, ARITH, NONE, { RA, RB }, { C_F }}, /* neg<.f> 0,b 00100bbb01001110FBBB000000111110. */ -{ "neg", 0x204E0000, 0xF8FF0FFF, ARC_OPCODE_ARC600 | ARC_OPCODE_ARC700 | ARC_OPCODE_ARCv2EM | ARC_OPCODE_ARCv2HS, ARITH, NONE, { ZA, RB }, { C_F }}, +{ "neg", 0x204E003E, 0xF8FF0FFF, ARC_OPCODE_ARC600 | ARC_OPCODE_ARC700 | ARC_OPCODE_ARCv2EM | ARC_OPCODE_ARCv2HS, ARITH, NONE, { ZA, RB }, { C_F }}, /* neg<.f><.cc> b,b 00100bbb11001110FBBB0000001QQQQQ. */ { "neg", 0x20CE0020, 0xF8FF0FE0, ARC_OPCODE_ARC600 | ARC_OPCODE_ARC700 | ARC_OPCODE_ARCv2EM | ARC_OPCODE_ARCv2HS, ARITH, NONE, { RB, RBdup }, { C_F, C_CC }},