From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtpbgeu2.qq.com (smtpbgeu2.qq.com [18.194.254.142]) by sourceware.org (Postfix) with ESMTPS id 506AB3858D1E for ; Sun, 12 Nov 2023 06:06:32 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 506AB3858D1E Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=rivai.ai Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=rivai.ai ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 506AB3858D1E Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=18.194.254.142 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1699769200; cv=none; b=ksmzyhUJ/9HehqNkbwU3s7A20UBp22wcz+nKprQ1U+QQr9GW7ELN91euGcBUVLXJ4sqANUCj8cR8i9aUNtm+S398RITFuKf8PZxvY+PkOz2K/MF+PWV3bMzcCdmVVCurxRjnJqoJNXO4JIi2U6yRcJpP2m4v1g4xirUkATP6QO4= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1699769200; c=relaxed/simple; bh=Bnjd+Tq/hghIdhNcRv8eOgLKZOWG3j0jN0OScjsBI9E=; h=Message-ID:Date:MIME-Version:Subject:To:From; b=upbe2hSUbIMeMW2C+MFgXGdYVF0GHjuMygJ02CfdsvrPVt1CL715u+SeS/NEm/ER6Sl7Y9JhCXzlaE221/6lcXD22vXb6+pge/oXiwp/JVt+LPCL1+nDbhJ9oRHBIkyMux0eD+szI2b+hgCLNRtQpjU+wW7nTHP7HZ0rbpee528= ARC-Authentication-Results: i=1; server2.sourceware.org X-QQ-mid: bizesmtp77t1699769165t81k0m73 Received: from [10.101.11.9] ( [121.35.182.237]) by bizesmtp.qq.com (ESMTP) with id ; Sun, 12 Nov 2023 14:06:04 +0800 (CST) X-QQ-SSF: 01400000000000C0F000000A0000000 X-QQ-FEAT: C46Rb8GPIEeAUAvhMrHDasjmTk5jqmNfyC2q9iJbYuFEdJV8XqTdUmePo7ILX pJCXUSMe8yOq+n6wr0dSkwyj2DdDgvQ/atI0D7F0ymHvje9xxvTFKVTk/+NUYEVH2X59goE qcJ1jRk2pDk93kbNadifb9mNYentSMADPK0w7XXRaX1Ye8z1EzeiBmxadwMnS6gllLwj92+ ZC6ZnVS39e5f48ykvoPE5Hv8X4LTfhpOK4lGuOxXie11uA5b9xyivOLQOmX5cplRh1b1DpU 8GVTc/votSlwZUZNvWVWUjDmoZjW4Jgp7lR8dLmsG7MufVrfBAPPvP3/WOMnP7C6HFo9YGW tPrbkLQchjarNCBpHKTDqS9MEnfDP2g0qXYIYQVyLii2IsGDNk= X-QQ-GoodBg: 2 X-BIZMAIL-ID: 3776947087981506353 Message-ID: <6083876B8757D17E+d8a50700-8db6-4df7-85f7-baa4b892449f@rivai.ai> Date: Sun, 12 Nov 2023 14:06:05 +0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 0/7] ira/lra: Support subreg coalesce Content-Language: en-US To: Dimitar Dimitrov Cc: gcc-patches@gcc.gnu.org, vmakarov@redhat.com, richard.sandiford@arm.com, juzhe.zhong@rivai.ai References: <20231108034740.834590-1-lehua.ding@rivai.ai> <410168B51C0395E8+47e6d323-a6cd-425a-9070-d020883798cd@rivai.ai> From: Lehua Ding In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:rivai.ai:qybglogicsvrgz:qybglogicsvrgz6a-0 X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,BODY_8BITS,FORGED_MUA_MOZILLA,KAM_DMARC_STATUS,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE,T_SPF_HELO_TEMPERROR 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: Hi Dimitar, On 2023/11/11 0:00, Dimitar Dimitrov wrote: > On Fri, Nov 10, 2023 at 04:53:57PM +0800, Lehua Ding wrote: >>>> The divide by zero error above is interesting. I'm not sure why >>>> ira_reg_class_max_nregs[] yields 0 for the pseudo register 168 in >>>> the following rtx: >>>> (debug_insn 168 167 169 19 (var_location:SI encoding (reg/v:SI 168 [ >>>> encoding ])) -1 >>>>       (nil)) >>> >>> I just cross compiled an arm-none-eabi compiler and didn't encounter >>> this error, can you give me a little more config info about build? For >>> example, flags_for_target, etc. Thanks again. >>> >> >> Forgot, please also provide the version information of newlib code. >> > > These are the GIT commit hashes which I tested: > gcc 39d81b667373b0033f44702a4b532a4618dde9ff > binutils c96ceed9dce7617f270aa4742645706e535f74b7 > newlib 39f734a857e2692224715b03b99fc7bd83e94a0f > > This is the script I'm using to build arm-none-eabi: > https://github.com/dinuxbg/gnupru/blob/master/testing/manual-build-arm.sh > The build steps and config parameters are easily seen there. > > Note that the Linaro CI is also detecting issues. It hits ICEs when > building libgcc: > https://patchwork.sourceware.org/project/gcc/patch/20231108034740.834590-8-lehua.ding@rivai.ai/ Thanks so much for the information, I can reproduce the problem now! I will fixed these bugs in the V2 patchs. -- Best, Lehua (RiVAI) lehua.ding@rivai.ai