From patchwork Tue Jan 9 17:10:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeff Law X-Patchwork-Id: 1884527 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=Si2ohDOT; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=8.43.85.97; helo=server2.sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4T8csL1Jp8z1yP7 for ; Wed, 10 Jan 2024 04:11:18 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 31EA03857C5E for ; Tue, 9 Jan 2024 17:11:16 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-io1-xd2a.google.com (mail-io1-xd2a.google.com [IPv6:2607:f8b0:4864:20::d2a]) by sourceware.org (Postfix) with ESMTPS id 6C3AB3858C74 for ; Tue, 9 Jan 2024 17:10:48 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 6C3AB3858C74 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 6C3AB3858C74 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::d2a ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1704820252; cv=none; b=lPpHdVgeHZZrD+KduYhGHFOy1jjl2Tkhw757ht57HtFSecwIgZkOsKFzWHGntzjgV676XXQ9fnWrc8zB7fpxEF5R6mSPHihbMn0xRBXvnYoN2ygi0ocgGyfjhR3x/cAyq0w/o31kQR2LOp5QeoNKW4L30o8rEMu/W/kGlhPMHuk= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1704820252; c=relaxed/simple; bh=9l5RxHnT3ybqCcJSpVDSEVhoMIBT+zYJzFsJzPc2wNY=; h=DKIM-Signature:Message-ID:Date:MIME-Version:To:From:Subject; b=LDhUyN84gDU7j3IA+fcLsYWoqIOIebGLklNdkvAIFIgLhT8TbPJ/fxM9qicYhgK94vywli0FG6/Y58HEBy8t6ppuSM2mWlFYmZbjwyJPjkJkVoYcDu9AYtal4+tSnHzjtXrDMbG6gTBY5Yunh2SYPeFUwRC3L+WdSbwfJ17pm+8= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-io1-xd2a.google.com with SMTP id ca18e2360f4ac-7bed8fee278so38144839f.2 for ; Tue, 09 Jan 2024 09:10:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704820247; x=1705425047; darn=gcc.gnu.org; h=subject:from:to:content-language:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=8xNKAc27lDrUkk82SQ1F0yZ6HSHxTWE0K6Vh2k/iaL4=; b=Si2ohDOTTZGErZ2UvMGzKgxMB5k8Wh926JKLFmISROpgs5KH7HI18mM5xB1GheghCN MhBqhpqIUihkPLlZ7wOIaQXED12Vrs+vNksrE787aV9NGOXKA3vQuwMJNFd5h63Mm4o/ ismPYRXveyjRgeVcD+uOO0LYj/wrNzj4WwrLgFhwjDSyfN3B3y+gfEUEudCl2SFZtTu9 EBGHr0HQu5PKmKcBQFpYhIybvEax2Lvgd0jJ9wetWzpgksjI6SCGSsZyAgcR2f+g0ToF 9R+ouExcsuy0P4UOzu7tv5hWupz7ZkJYrk12C8ii1jD1t3NGEOV1P7ISbnm3rLLWHp+6 gUTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704820247; x=1705425047; h=subject:from:to:content-language:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=8xNKAc27lDrUkk82SQ1F0yZ6HSHxTWE0K6Vh2k/iaL4=; b=CpgQNzXl5nkAVkawi9pPLQfHxrgW3+oUQWvTkZl4CIZSVzN8ozOSHn5X+vtr/jpTa0 gkOCoZEdPcnW0EHQ44z4jsTj4mlfrbTH9NjENGIqsqVYuizFEJwDkDjLlnx8A0PKH3VE g2Cp7kWDUkQP0IjEK0r+sCfwVOhE1q9Py+fSSG05nseEizjFvb434+36m0er+z1NTOW2 1G/9wzRqOoNs7fHpUH/7NyxMo7gWtjcA4GRz+QTuywWLkiEYdt/M/emTuLDeMHo+Wdw4 AluGbnzICAKMS8yAEkq04lVH24kho3DL/V8D044RTqZbeo+nIFevEzKe+xqhs/T9r7ZE K1xg== X-Gm-Message-State: AOJu0Yy7RAlfHSb/2Zw7Nc+fTq3cIlHWj/bs/OE9KmwhFdfinmVF0Kce q0rIpfADBD1ki4PoHkZGvRFj1gmx3R0= X-Google-Smtp-Source: AGHT+IHmU6PtI0Mo5wFVJADYJy01Y+5d57/oxcoELdsAIAG1Dwkczs3E3PX4ZVQdfoC8+RMlpatdFg== X-Received: by 2002:a6b:e312:0:b0:7bc:1bf9:fd83 with SMTP id u18-20020a6be312000000b007bc1bf9fd83mr5967115ioc.3.1704820246985; Tue, 09 Jan 2024 09:10:46 -0800 (PST) Received: from [172.31.0.109] ([136.36.72.243]) by smtp.gmail.com with ESMTPSA id fr3-20020a056638658300b0046df77733acsm747990jab.102.2024.01.09.09.10.46 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 09 Jan 2024 09:10:46 -0800 (PST) Message-ID: Date: Tue, 9 Jan 2024 10:10:45 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: "gcc-patches@gcc.gnu.org" From: Jeff Law Subject: [committed] Fix minor bug on mn103 port X-Spam-Status: No, score=-8.4 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: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org Richard Sandiford debugged a failure on the mn103 port with his late-combine patches down to the subdi3 pattern not specifying the isa on alternatives which required newer variants of the chip family. This patch adds the missing isa attribute and the port now works with his late-combine patch. I'm pushing this to the trunk on his behalf. Jeff commit 9aaed2c1d7e54cee6966c632ced80e643525fe89 Author: Richard Sandiford Date: Tue Jan 9 10:07:09 2024 -0700 [committed] Fix minor bug on mn103 port Richard Sandiford debugged a failure on the mn103 port with his late-combine patches down to the subdi3 pattern not specifying the isa on alternatives which required newer variants of the chip family. This patch adds the missing isa attribute and the port now works with his late-combine patch. I'm pushing this to the trunk on his behalf. gcc/ * config/mn10300/mn10300.md (subdi3_degenerate): Add isa attribute. diff --git a/gcc/config/mn10300/mn10300.md b/gcc/config/mn10300/mn10300.md index 939f20d5a58..80b07cc4b36 100644 --- a/gcc/config/mn10300/mn10300.md +++ b/gcc/config/mn10300/mn10300.md @@ -957,7 +957,9 @@ (define_insn_and_split "*subdi3_degenerate" if (scratch) emit_move_insn (operands[0], scratch); DONE; -}) +} + [(set_attr "isa" "*,am33")]) + (define_insn_and_split "negsi2" [(set (match_operand:SI 0 "register_operand" "=D,&r")