[{"id":3673437,"web_url":"http://patchwork.ozlabs.org/comment/3673437/","msgid":"<975fa49729c2920afe13d720385598dfb556b568.camel@gmail.com>","list_archive_url":null,"date":"2026-04-04T13:52:32","subject":"Re: [RFC PATCH v2] RX: enable LRA is default","submitter":{"id":88892,"url":"http://patchwork.ozlabs.org/api/people/88892/","name":"Oleg Endo","email":"olegendo1024@gmail.com"},"content":"Hi,\n\nOn Sat, 2026-04-04 at 22:39 +0900, Yoshinori Sato wrote:\n> Always enable LRA on RX targets.\n> Some Machine Descriptions did not work properly with LRA,\n> so their definitions have been changed.\n> \n> v1 -> v2\n> Fix WORD_REGISTER_OPERATIONS.\n> Cleanup shift operations.\n> \n> \t(adddi3): New. simplify implementation.\n> \t(subdi3): Likewise.\n> \t(addsi3_flags): adddi3 is not use. Remove it.\n> \t(adc_internal): Likewise.\n> \t(adc_flags): Likewise.\n> \t(adddi3_internal): Likewise.\n> \t(subsi3_flags): subsi3 not use. Remove it.\n> \t(sbb_internal): Likewise.\n> \t(*sbb_flags): Likewise.\n> \t(subdi3): Likewise.\n\nWhat's the issue with the addsi3_flags, adc_internal, sbb_internal,\nsbb_flags patterns?\n\nI see that you're using the shortcut to implement DImode add/sub as a fixed\n2-insn in the output asm.  That is probably a practical and pragmatic fix on\nRX.\n\nHowever, if it was ever to implement something like __builtin_add_overflow\nor __builtin_addc, those patterns will have to be added back, I guess?\n\nPlease add a reference to PR/target 113948.\n\nOther than that, I'll give it a try on my software and see what it does.\nWill report back later.\n\nBest regards,\nOleg Endo","headers":{"Return-Path":"<gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org>","X-Original-To":["incoming@patchwork.ozlabs.org","gcc-patches@gcc.gnu.org"],"Delivered-To":["patchwork-incoming@legolas.ozlabs.org","gcc-patches@gcc.gnu.org"],"Authentication-Results":["legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20251104 header.b=Q9RLHYeg;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org\n (client-ip=38.145.34.32; helo=vm01.sourceware.org;\n envelope-from=gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org;\n receiver=patchwork.ozlabs.org)","sourceware.org;\n\tdkim=pass (2048-bit key,\n unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20251104 header.b=Q9RLHYeg","sourceware.org;\n dmarc=pass (p=none dis=none) header.from=gmail.com","sourceware.org; spf=pass smtp.mailfrom=gmail.com","server2.sourceware.org;\n arc=none smtp.remote-ip=209.85.216.66"],"Received":["from vm01.sourceware.org (vm01.sourceware.org [38.145.34.32])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fnxr23c9Rz1yCs\n\tfor <incoming@patchwork.ozlabs.org>; Sun, 05 Apr 2026 00:53:04 +1100 (AEDT)","from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id 6DCC14BA23F1\n\tfor <incoming@patchwork.ozlabs.org>; Sat,  4 Apr 2026 13:53:02 +0000 (GMT)","from mail-pj1-f66.google.com (mail-pj1-f66.google.com\n [209.85.216.66])\n by sourceware.org (Postfix) with ESMTPS id 5927C4BA2E23\n for <gcc-patches@gcc.gnu.org>; Sat,  4 Apr 2026 13:52:36 +0000 (GMT)","by mail-pj1-f66.google.com with SMTP id\n 98e67ed59e1d1-35691a231a7so1417470a91.3\n for <gcc-patches@gcc.gnu.org>; Sat, 04 Apr 2026 06:52:36 -0700 (PDT)","from localhost.localdomain\n ([2407:c800:3620:e800:7910:9280:8105:5a2])\n by smtp.gmail.com with ESMTPSA id\n d9443c01a7336-2b27472d688sm90186915ad.8.2026.04.04.06.52.33\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Sat, 04 Apr 2026 06:52:34 -0700 (PDT)"],"DKIM-Filter":["OpenDKIM Filter v2.11.0 sourceware.org 6DCC14BA23F1","OpenDKIM Filter v2.11.0 sourceware.org 5927C4BA2E23"],"DMARC-Filter":"OpenDMARC Filter v1.4.2 sourceware.org 5927C4BA2E23","ARC-Filter":"OpenARC Filter v1.0.0 sourceware.org 5927C4BA2E23","ARC-Seal":"i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1775310756; cv=none;\n b=J13pc17sGwOVcqU8WhjTe3Ovb0n/IWCSS17iO9mBtw4CAQzGst2iho7wo5drM0uvUf53nkykfMhRBHbdrtcUErxK6hv+KjH8Pnd+lJgTQCQrjKw4BoRvSMjYtTk52BG0VoGJpMXyRyGAY0OAvdxZEVcrYeOrhhbTA2PAkbWCeA8=","ARC-Message-Signature":"i=1; a=rsa-sha256; d=sourceware.org; s=key;\n t=1775310756; c=relaxed/simple;\n bh=EzKjJvaVMAdik1n0VT5iJYJDtBikGbHxXOAVfpHJb6Y=;\n h=DKIM-Signature:Message-ID:Subject:From:To:Date:MIME-Version;\n b=cI6TfO64VXjaaoZeEKz+0adiK87G6zrHne1p6vsukxS4CZp8iZUA75NznVy1PGhK50GVImPCbTr8f3vnk+8crlvj6XDv5We7ZEdKOcIwPV0tE94ffF7/OYZSpRkfigXqYrvKtyp/eq3yWrhc3L38ZITW1yaGUeKKUy72TYggynk=","ARC-Authentication-Results":"i=1; server2.sourceware.org","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=gmail.com; s=20251104; t=1775310755; x=1775915555; darn=gcc.gnu.org;\n h=mime-version:user-agent:content-transfer-encoding:references\n :in-reply-to:date:to:from:subject:message-id:from:to:cc:subject:date\n :message-id:reply-to;\n bh=s8EoCJoqQYE2niTPUK6kxS1bHx43ibjai6lAJpKR+Gs=;\n b=Q9RLHYegN/2ZK+wciVgfrmjc6GoFwCmfrbCW6gAtJtWZgrOsVzEgv8hYQpStvDtpNY\n EFG5kifsAfFaiz0/b24mofgHqd2NWHOVSvkyQudi/HBIDD8jiVAtX7zE6yyqvJfLDEbc\n DwNNMbXbJVtF8m143TpoycRXoPrKdwF8/WDds+uQR1zgc5zwyh61kZcjOkSth9+fgBLA\n 16f1RHYlg64nCdWeukHQIVuIv/jLJw7T98Nsamitz3p80gdbUdh3zfSi6mNb6QRr1ShO\n I3N1BVifFI57OQ4i82/PLMCkSeFXXuBOqqXoVQ88UFR5n6cM3Sc6q9LM62Gb+xVWM61/\n clig==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1775310755; x=1775915555;\n h=mime-version:user-agent:content-transfer-encoding:references\n :in-reply-to:date:to:from:subject:message-id:x-gm-gg\n :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;\n bh=s8EoCJoqQYE2niTPUK6kxS1bHx43ibjai6lAJpKR+Gs=;\n b=jQtBeuUznCHj0dBOz5rkqR3cVamhP6VuXa4QzjFHzOr69P8w1bHnn1fohEeKq9vRhe\n 62Ykevb0cK+gC+GA7Taou5SbBBjT6fiqafSDxmcDZImw+2iIv9m+RxG1DTqr20vpr8os\n hfRidAXZeItjdTInvumdVM7kYEuHiFt8Rg7/QNXywOtTw2K/geThWGQNV6s4qH6tc0Gt\n lIyxWo9dxb91fYK/ut3l/uiFeh2MJBkSuy3VILXVrynownct4Kl5QDgfGNgc6XdYktgx\n 4IDqzykd8rIJvyZKBRRa29Ko9ydixPxlohm1WJveFcbw0S4eHR8F5+NWsxmcj576t+Gw\n cFMg==","X-Forwarded-Encrypted":"i=1;\n AJvYcCXqljulL/fcM7Wa3CXp1U2iug1TsGv6kGFI24WTbkJ55Jqer+EbelD9fOB/zDb0/bw87zZYaJgt/F1qrg==@gcc.gnu.org","X-Gm-Message-State":"AOJu0Yzd8v+Xd/hcGFciTvYGKrPF/ywe7QP+JPURgR3Nv6SxuK2TDu5N\n SrAIBPOEyow/avJoxzjRTkU8c2bUHDM2UuX1cO7jUyxxo6yWxeV/LofC","X-Gm-Gg":"AeBDiess4ZMYlzIXxPZrCrp1aglTswVgvcMqLOjMipBOUQnLHqCF1OB2qG00zzBN8VM\n VSzFRBtvhrOpyeLOqivMX1vsxZM35TcGu+ah8x5Ve1L54nLlVMZkbGZeG9VphUI8AIqk3jFnlFt\n 17IPjexa2aGb3ToMTdmdyQ9LwBsSFpW9f4k76WxYVC61v21TFm1kH6eI51T/wIOVjSEao17Mj+N\n JnVeyjFPNXRHrgO6JnkA2Q13FivZT5G+hJOZFxZZs/BhMazkvRYuJQJUFTMf4SYs5fXP50ZB2QQ\n Kn/HgqzRCAL8cdEoisja14v8KPDPQp8+lmIEXPyBglL183QpvSiTDkdirm4NhKC29AVfZe48BAf\n y2qDSN8BfgieAbd/nkEJMfAN049pNTzAsljYaiLbG7HCZQ5OQku9vrmsvCQts7LTzCmtvkJqdZG\n m9cHiOTdz0wHFxn4+NgVeMn6wuZJi/bYH3hsF0xengz6A=","X-Received":"by 2002:a17:902:d585:b0:2b0:ccad:de1a with SMTP id\n d9443c01a7336-2b28178a71fmr66533085ad.30.1775310755065;\n Sat, 04 Apr 2026 06:52:35 -0700 (PDT)","Message-ID":"<975fa49729c2920afe13d720385598dfb556b568.camel@gmail.com>","Subject":"Re: [RFC PATCH v2] RX: enable LRA is default","From":"Oleg Endo <olegendo1024@gmail.com>","To":"Yoshinori Sato <yoshinori.sato@nifty.com>, gcc-patches@gcc.gnu.org","Date":"Sat, 04 Apr 2026 22:52:32 +0900","In-Reply-To":"<20260404133934.2733015-1-yoshinori.sato@nifty.com>","References":"<20260404133934.2733015-1-yoshinori.sato@nifty.com>","Content-Type":"text/plain; charset=\"UTF-8\"","Content-Transfer-Encoding":"quoted-printable","User-Agent":"Evolution 3.54.3 (3.54.3-2.fc41) ","MIME-Version":"1.0","X-BeenThere":"gcc-patches@gcc.gnu.org","X-Mailman-Version":"2.1.30","Precedence":"list","List-Id":"Gcc-patches mailing list <gcc-patches.gcc.gnu.org>","List-Unsubscribe":"<https://gcc.gnu.org/mailman/options/gcc-patches>,\n <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe>","List-Archive":"<https://gcc.gnu.org/pipermail/gcc-patches/>","List-Post":"<mailto:gcc-patches@gcc.gnu.org>","List-Help":"<mailto:gcc-patches-request@gcc.gnu.org?subject=help>","List-Subscribe":"<https://gcc.gnu.org/mailman/listinfo/gcc-patches>,\n <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe>","Errors-To":"gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org"}}]