From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ed1-x533.google.com (mail-ed1-x533.google.com [IPv6:2a00:1450:4864:20::533]) by sourceware.org (Postfix) with ESMTPS id 0AF953858D1E for ; Sat, 18 Nov 2023 09:59:52 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 0AF953858D1E 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 0AF953858D1E Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::533 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1700301595; cv=none; b=HaSFRMgjukuyYHMFYAiqRDb34Me/JHuyn1DTvEFPPkfZy/7f05T8c5Qutv+bW75kni827NMI4es/ervMMcKjxpYFsEt4ksfrPUQ3+CSihlAvE6gs2m44lfcrxh68KttUEW8rKrUM4sfdpNU/Fz18APNYLS7EGn/6S5Xiwu9+qFs= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1700301595; c=relaxed/simple; bh=1/YCawwQNAMmKEhghwicQTXwcHm3NkHvSNRuslIOhtM=; h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To; b=wVlxL4KaEAhcqPz4kuSJjCfe5/VsjW0xs8jBR4oGHVUfV4H4zj+J33r0+SSmF81Xfew6It4o4waPhDxm0gMQP7DoiWvyRWFN4G0szOo5fK82+QJm0ZeVk9NEco9eZ7SSBNDeaWa3icUI1fg8OOrdVbjf3WDr1zzvBvUfCfNqijw= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-ed1-x533.google.com with SMTP id 4fb4d7f45d1cf-5446c9f3a77so4195687a12.0 for ; Sat, 18 Nov 2023 01:59:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700301589; x=1700906389; darn=gcc.gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=YlTzYA0BClJMBTHzTk4Y1dkXtNpUKTCBW8Nigw4cAiY=; b=MwFLNq9VGTEgVZztYAEgLsAOBaci2DJed+348fXH4U34n4fbt2jW4EkQgQWUmS+tTG BA3rYl4zjEFvOH+xl246f94L/SFPXgErj8nRM25mBFn8ZDcwBmSOsaW7u7Dt+XdepyK1 wwwLZbhiN3iOTRVw648SWY47+zADJg9fMoCVvKc7+u/skabJSuibhqAFWcnTXslFOngn nV7yeJJfZ7bdTSHvKgxHxUgI4dcvEHz7P7HDLQHFTyD4uFYTF6yC/snlj5CZ38btExFh FLWa+Dq/5GQqIoyNcOpopvKkEWT5E1aZoN/qtwtIwZpZvCVeGEIWlyE6jexMVcXaraB8 KQsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700301589; x=1700906389; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=YlTzYA0BClJMBTHzTk4Y1dkXtNpUKTCBW8Nigw4cAiY=; b=W0VE48ErxZWwQ3Ft7ruZ0Lb+htnFEcjRZA43AOcEzEgD0uq66krnQGRB/j8FcnTTqm AS5zMo+G31p1mpcyuQhICCiy/+9mIFRnKpFy4Bx85srLz7D8Ep4+LOhUMt33PUjtrKmf quGw5V5IQBFj8VQ/fIhNVTcDoB4V6dOOpYfpNHj0M9e3xu+7jBIgSY6wLYJhc/4uQQ34 mRMkF2YzuPZ3hFO5QEa+LT3Hl9duLYDaw3Kelo+E33BI0VLnJ970pwJxCnpShho4TbX9 3AUlrzuwKYPznxCvXeEcNbAyuaCuPvKaK7tnxryMhXgfzdqLRPHPKWBgrkWawH2S1Ahv G+TQ== X-Gm-Message-State: AOJu0YxD6cr2hP+L90onIcLgTZahUXRcxBvrMNnS5Jb9WgCs5iwn/wvI lTqYEaIyxOeV4ierjk3FPbO/hKLNqPR6sUjSmL4= X-Google-Smtp-Source: AGHT+IG5ENlmLnCpQGOSz5JyjSVankxAtUT5OEUh9s9XzpY77+SoB3g9S6nyeiadZsaP2BI9u+4ryWcwZw5fV1NK5jM= X-Received: by 2002:a17:906:4b02:b0:9bf:f20:8772 with SMTP id y2-20020a1709064b0200b009bf0f208772mr1590678eju.26.1700301589424; Sat, 18 Nov 2023 01:59:49 -0800 (PST) MIME-Version: 1.0 References: <20231117073549.1841897-1-juzhe.zhong@rivai.ai> In-Reply-To: From: Kito Cheng Date: Sat, 18 Nov 2023 17:59:37 +0800 Message-ID: Subject: Re: [PATCH] RISC-V: Fix bug of tuple move splitter[PR112561] To: Jeff Law Cc: "juzhe.zhong@rivai.ai" , "Kito.cheng" , Robin Dapp , gcc-patches Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,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 List-Id: > On 11/17/23 07:18, Kito Cheng wrote: > > I didn=E2=80=99t take a closer look yet on the ira/lra dump yet, but my= feeling > > is that may cause by the earlyclober modifier isn=E2=80=99t work as exp= ect? > > > > Let me take closer look tomorrow. > Remember that constraints aren't checked until register allocation. So > the combiner, splitters, etc don't know about "earlyclobber". It's a > relatively common goof. > > Not sure if that's playing a role here, but I've seen it happen several > times in the past. Oh, okay, found IRA/LRA are both did the right jobs, it just because we don't use that clobber register correctly, only use - no def, so the cprop_hardreg thinks it can do that, then screw up, so Ju-Zhe has explained and fix in right way but I just didn't get the point yesterday :P