From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 51340 invoked by alias); 7 Apr 2016 11:05:57 -0000 Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org Received: (qmail 51321 invoked by uid 89); 7 Apr 2016 11:05:56 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 spammy=Personally, H*MI:andrew, trade, risk X-HELO: mail-wm0-f50.google.com Received: from mail-wm0-f50.google.com (HELO mail-wm0-f50.google.com) (74.125.82.50) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Thu, 07 Apr 2016 11:05:46 +0000 Received: by mail-wm0-f50.google.com with SMTP id v188so52402259wme.1 for ; Thu, 07 Apr 2016 04:05:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=6DpFzlMBYkO9F/L2Sd6eSA6K0I0PqMakfQGC/JsI2SA=; b=GL4bGv43onhaxT8Vp/1Y96QqfETLkq7qfJgsrdeuY1iL0YUZ/B48h2w5620NCpsKPy zvWRLOqEcKKjpwJyHnxVKdLK/JXpBFMrYedt3f8yPhjqrZBKevhgo6N7Ilq91j+iOXfu 6WaMYabuQyn3f6EUJGdvJLghfaUzUwvDh8Ot766ShqgSED2bM4esfEQwivQjoCo/FqsM NaWkKQ6P6yRpInmTnAcAHI42jBDAW5eCmQBfMf2pF2Ozbq+cWx3BirO6QswEPv4EVYUb 3wLdygKyzl/UmwDWV7F0LPKi3CX8ulK3DRb6oH+PlI7F/NgSeUJ43VW1MpubaavNIbV2 O5iQ== X-Gm-Message-State: AD7BkJLAQ+NdBvljdEXTp9g41aX21Hbmy2oaRtk81ovEI9Oy1RNPjJRwMZRAZ2Wo0IIgEw== X-Received: by 10.28.234.151 with SMTP id g23mr3291090wmi.40.1460027143136; Thu, 07 Apr 2016 04:05:43 -0700 (PDT) Received: from localhost (host81-140-212-51.range81-140.btcentralplus.com. [81.140.212.51]) by smtp.gmail.com with ESMTPSA id jk1sm7942207wjb.27.2016.04.07.04.05.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 07 Apr 2016 04:05:42 -0700 (PDT) From: Andrew Burgess To: binutils@sourceware.org Cc: Claudiu.Zissulescu@synopsys.com, Cupertino.Miranda@synopsys.com, noamca@mellanox.com, Andrew Burgess Subject: [PATCH 0/3] ARC: Add another group of nps instructions Date: Thu, 07 Apr 2016 11:05:00 -0000 Message-Id: <1460027127-1121-1-git-send-email-andrew.burgess@embecosm.com> X-IsSubscribed: yes X-SW-Source: 2016-04/txt/msg00097.txt.bz2 This patch series adds more nps instructions to the arc architecture. The first two patches are preparation, resolving some issues that I ran into on the way. Patch #1 makes the disassembler a little easier to maintain, at the expense of a small start up cost. Personally I think the trade off is worth it as we otherwise risk having an ever-growing mini-decoder in the disassembler that we have to maintain. Patch #2 should be fairly obvious I think, there was a name conflict in the enum values used. Patch #3 should be fairly straight forward except for one issue which the team at Synopsys might not be happy with, I've discussed this more in the patch itself. Thanks, Andrew --- Andrew Burgess (3): opcodes/arc: Compute insn lengths in disassembler bfd/arc: Rename enum entries to avoid conflicts arc/nps400 : New cmem instructions and associated relocation bfd/ChangeLog | 20 +++++++++ bfd/bfd-in2.h | 1 + bfd/elf32-arc.c | 92 ++++++++++++++++++++++++++++++++-------- bfd/libbfd.h | 1 + bfd/reloc.c | 2 + gas/ChangeLog | 5 +++ gas/testsuite/gas/arc/nps400-3.d | 56 ++++++++++++++++++++++++ gas/testsuite/gas/arc/nps400-3.s | 23 ++++++++++ include/ChangeLog | 5 +++ include/elf/arc-reloc.def | 7 +++ include/opcode/arc.h | 3 ++ ld/ChangeLog | 8 ++++ ld/testsuite/ld-arc/arc.exp | 30 +++++++++++++ ld/testsuite/ld-arc/nps-1.s | 10 +++++ ld/testsuite/ld-arc/nps-1a.d | 16 +++++++ ld/testsuite/ld-arc/nps-1b.d | 4 ++ ld/testsuite/ld-arc/nps-1b.err | 1 + opcodes/ChangeLog | 13 ++++++ opcodes/arc-dis.c | 69 +++++++++++++++++++++++++----- opcodes/arc-nps400-tbl.h | 12 ++++++ opcodes/arc-opc.c | 22 ++++++++++ 21 files changed, 372 insertions(+), 28 deletions(-) create mode 100644 gas/testsuite/gas/arc/nps400-3.d create mode 100644 gas/testsuite/gas/arc/nps400-3.s create mode 100644 ld/testsuite/ld-arc/arc.exp create mode 100644 ld/testsuite/ld-arc/nps-1.s create mode 100644 ld/testsuite/ld-arc/nps-1a.d create mode 100644 ld/testsuite/ld-arc/nps-1b.d create mode 100644 ld/testsuite/ld-arc/nps-1b.err -- 2.5.1