From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lj1-x230.google.com (mail-lj1-x230.google.com [IPv6:2a00:1450:4864:20::230]) by sourceware.org (Postfix) with ESMTPS id 4A95E3858D38 for ; Wed, 14 Jun 2023 00:01:51 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 4A95E3858D38 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=davidgf.es Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=davidgf.es Received: by mail-lj1-x230.google.com with SMTP id 38308e7fff4ca-2b1b66a8fd5so1178791fa.0 for ; Tue, 13 Jun 2023 17:01:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=davidgf-es.20221208.gappssmtp.com; s=20221208; t=1686700910; x=1689292910; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=yebaYvB9jPd0xYQrTqP/CAmI/6JLfcCLkm3Ms5lXveE=; b=su50ARTkIF7lXE/hURS+RluUXUNogxFyHWQNyTZI1+S+ugxdnlpEZ19U8OQoqDYITd kmjsL4bX3b23PJQAxhFs/858pn28q4xJlWzVMpJZczU2+1Twvpon67jWAOfSlNpye6FF RR/hcjlH64JJfrC9sY0t2PQcZxXVkFMC5Hwtw38Q3Ay7VKafub084kExiNuLWfvwbjwd LlorLIoaDgmRorPRANRBlxKWl0whPQSrWWrO/T4qUNw/6r4D2S9h3bDS4nBpQlgT3RJs FPqbFXqmxt6wm+bmhnOUAlWHgFe3/ZR/N59pk8ftoE+UuWvUFFopVqG0e3XrDZXD6APy XDPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686700910; x=1689292910; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=yebaYvB9jPd0xYQrTqP/CAmI/6JLfcCLkm3Ms5lXveE=; b=WWByYAPhv3KsRb0/YvHqqV3Lx2sXnc2GUmbL/QR+QL6SXzq8H1CRCe+ixZgpN+fKqf U4eFDptEs+wtJBHCCks+cKXB9qjHTsEpA/R2IXhxD+Qk3RHkoSOdlSX7Ge4wJE1HL8+f dzs825o9pYg0l8NFGyQyvRvrENUyz4ukd9yF/tSTgd0wmMXe2szAAGaueqUTjjRLdbC1 jczlvwk7xx3WKeUfSzsVwRIkN5uZ7kp+vg2Y274bQ20wByEn8dAmbgd6w3rbydikE72H godpIXSwiJ11M0zVSssJtJ7sSZQJYixzeYbjU7JypilbbVl/0J5K+BNbeQXwi2INk+kS fs/A== X-Gm-Message-State: AC+VfDyfDPN1nVPIiomBJb931d4gTW+PK3Rb5E/itCusGQLlpB4EsefW sPMT8y61Fc8xzsqXT11+4Z9obxh5g9vKfAG38A== X-Google-Smtp-Source: ACHHUZ4Bugdiu+kihx7KtergBkiuU3M3ZuX0j7aFoiYg0GH4kwvGr9Dv/D7nA/yHxAz4EPCvdu6BxQ== X-Received: by 2002:a2e:8e81:0:b0:2ad:9783:bca with SMTP id z1-20020a2e8e81000000b002ad97830bcamr5400998ljk.27.1686700909679; Tue, 13 Jun 2023 17:01:49 -0700 (PDT) Received: from localhost.localdomain ([37.17.237.79]) by smtp.gmail.com with ESMTPSA id p17-20020a1c7411000000b003f7e4639aabsm15726702wmc.10.2023.06.13.17.01.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Jun 2023 17:01:49 -0700 (PDT) From: david@davidgf.es To: binutils@sourceware.org Subject: [PATCH v2 0/3] Add support for MIPS Allegrex Date: Wed, 14 Jun 2023 02:01:45 +0200 Message-Id: <20230614000148.10989-1-david@davidgf.es> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_SOFTFAIL,TXREP,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: From: David Guillen Fandos Please check out the second revision of the patches. I addressed all the comments in the review and ran the testsuite. There's some tests failing due to other changes unrelated to these patches. David Guillen Fandos (3): Add MIPS Allegrex CPU as a MIPS2-based CPU Add rotation instructions to MIPS Allegrex CPU Add additional missing Allegrex CPU instructions bfd/bfd-in2.h | 1 + include/elf/mips.h | 1 + include/opcode/mips.h | 6 + bfd/archures.c | 1 + bfd/cpu-mips.c | 2 + bfd/elfxx-mips.c | 8 + binutils/readelf.c | 1 + gas/config/tc-mips.c | 10 +- opcodes/mips-dis.c | 3 + opcodes/mips-opc.c | 107 +++---- gas/testsuite/gas/mips/mips.exp | 46 ++- gas/testsuite/gas/mips/allegrex.s | 47 ++++ gas/testsuite/gas/mips/allegrex.d | 50 ++++ gas/testsuite/gas/mips/allegrex@c0.d | 265 ++++++++++++++++++ gas/testsuite/gas/mips/allegrex@c1.d | 265 ++++++++++++++++++ gas/testsuite/gas/mips/allegrex@c3.d | 5 + gas/testsuite/gas/mips/allegrex@cp0b.d | 5 + gas/testsuite/gas/mips/allegrex@cp0bl.d | 5 + gas/testsuite/gas/mips/allegrex@cp0c.d | 5 + gas/testsuite/gas/mips/allegrex@cp2d.d | 5 + .../gas/mips/allegrex@isa-override-1.d | 29 ++ .../gas/mips/allegrex@isa-override-2.d | 4 + gas/testsuite/gas/mips/allegrex@save-sub.d | 5 + .../gas/mips/allegrex@isa-override-2.l | 4 + 24 files changed, 815 insertions(+), 65 deletions(-) create mode 100644 gas/testsuite/gas/mips/allegrex.s create mode 100644 gas/testsuite/gas/mips/allegrex.d create mode 100644 gas/testsuite/gas/mips/allegrex@c0.d create mode 100644 gas/testsuite/gas/mips/allegrex@c1.d create mode 100644 gas/testsuite/gas/mips/allegrex@c3.d create mode 100644 gas/testsuite/gas/mips/allegrex@cp0b.d create mode 100644 gas/testsuite/gas/mips/allegrex@cp0bl.d create mode 100644 gas/testsuite/gas/mips/allegrex@cp0c.d create mode 100644 gas/testsuite/gas/mips/allegrex@cp2d.d create mode 100644 gas/testsuite/gas/mips/allegrex@isa-override-1.d create mode 100644 gas/testsuite/gas/mips/allegrex@isa-override-2.d create mode 100644 gas/testsuite/gas/mips/allegrex@save-sub.d create mode 100644 gas/testsuite/gas/mips/allegrex@isa-override-2.l -- 2.40.1