From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from xry111.site (xry111.site [89.208.246.23]) by sourceware.org (Postfix) with ESMTPS id AA9E2385841F for ; Thu, 14 Dec 2023 08:18:58 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org AA9E2385841F Authentication-Results: sourceware.org; dmarc=pass (p=reject dis=none) header.from=xry111.site Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=xry111.site ARC-Filter: OpenARC Filter v1.0.0 sourceware.org AA9E2385841F Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=89.208.246.23 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1702541939; cv=none; b=FkwwkTG5k6zaoOv7CDljHorS9rW3lZXgqrRq0IYnqFojyL48IDk8Dp2DZR/SAdu/1mmWW/UOsdvKVQAzN/N7yHJhKvJlC6smsjYKl41zbu+fn0+JUs59T/9fxdBSvpn2w3/hGseuppd9BpE4ZuKdnV5DQnauTIHRqZw6s3VqFio= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1702541939; c=relaxed/simple; bh=Z3x5qRNh79yOBDrIi5GNBCAqr6JckaeLUBkSDn3HzY4=; h=DKIM-Signature:Message-ID:Subject:From:To:Date:MIME-Version; b=BQ8xM2PZ5pfCMlifpsvf1NrwAURhRdkjbU/8Ojs3CEj+2iD9J4zl15BHkxFH83dcAQ3wTX2RoTRuyyc4W2d7yBB/UA5KIFE8EEqFWkFWyn0FClW8HwM9+mg0LbID6+L/9EjOcp//fLZJWf1PFTLm6OnZWZe2uqipxN2nPHeBsFY= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=xry111.site; s=default; t=1702541936; bh=Z3x5qRNh79yOBDrIi5GNBCAqr6JckaeLUBkSDn3HzY4=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=PByah0PF6f/kNljGse3SsMtGTvrqk0ya9TMyQbBdqKdodzwrgGaE+AQ1Q9BYJ9JK4 aq7cjPTCzRoM5K3Cxs/8GoxEWeAXSPaNcmCCxvQDy8ihu2ZDhbIt3MDqnC0qHtQ1Nr e4u6NB4XccywljMgBqEdc2rWRI8BOY+p8cc730mA= Received: from [IPv6:240e:358:1136:1400:dc73:854d:832e:2] (unknown [IPv6:240e:358:1136:1400:dc73:854d:832e:2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-384) server-digest SHA384) (Client did not present a certificate) (Authenticated sender: xry111@xry111.site) by xry111.site (Postfix) with ESMTPSA id 8947766D65; Thu, 14 Dec 2023 03:18:53 -0500 (EST) Message-ID: <5b2bb6c9d054c886386e85aec53ac7590af7f371.camel@xry111.site> Subject: Re: [PATCH] LoongArch: Use the movcf2gr instruction to implement cstore4 From: Xi Ruoyao To: Jiahao Xu , gcc-patches@gcc.gnu.org Cc: chenglulu@loongson.cn, i@xen0n.name, xuchenghua@loongson.cn Date: Thu, 14 Dec 2023 16:18:48 +0800 In-Reply-To: References: <1225b53f-aef6-ab79-c861-bc6c0eb87778@loongson.cn> Autocrypt: addr=xry111@xry111.site; prefer-encrypt=mutual; keydata=mDMEYnkdPhYJKwYBBAHaRw8BAQdAsY+HvJs3EVKpwIu2gN89cQT/pnrbQtlvd6Yfq7egugi0HlhpIFJ1b3lhbyA8eHJ5MTExQHhyeTExMS5zaXRlPoiTBBMWCgA7FiEEkdD1djAfkk197dzorKrSDhnnEOMFAmJ5HT4CGwMFCwkIBwICIgIGFQoJCAsCBBYCAwECHgcCF4AACgkQrKrSDhnnEOPHFgD8D9vUToTd1MF5bng9uPJq5y3DfpcxDp+LD3joA3U2TmwA/jZtN9xLH7CGDHeClKZK/ZYELotWfJsqRcthOIGjsdAPuDgEYnkdPhIKKwYBBAGXVQEFAQEHQG+HnNiPZseiBkzYBHwq/nN638o0NPwgYwH70wlKMZhRAwEIB4h4BBgWCgAgFiEEkdD1djAfkk197dzorKrSDhnnEOMFAmJ5HT4CGwwACgkQrKrSDhnnEOPjXgD/euD64cxwqDIqckUaisT3VCst11RcnO5iRHm6meNIwj0BALLmWplyi7beKrOlqKfuZtCLbiAPywGfCNg8LOTt4iMD Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.50.2 MIME-Version: 1.0 X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_00,BODY_8BITS,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,KAM_NUMSUBJECT,LIKELY_SPAM_FROM,SPF_HELO_PASS,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE,WEIRD_PORT 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: On Thu, 2023-12-14 at 15:44 +0800, Jiahao Xu wrote: > The implementation of this patch has some issues. When I compile 521.wrf = with -Ofast -mlasx -flto -muse-movcf2gr, it results in an ICE: Indeed, creating CCCmode pseudos without a complete movfcc implementation is buggy. This patch needs a complete rework. > =C2=A0during RTL pass: reload > =C2=A0module_mp_fast_sbm.fppized.f90: In function 'fast_sbm.constprop': > =C2=A0module_mp_fast_sbm.fppized.f90:1369:25: internal compiler error: ma= ximum number of generated reload insns per insn achieved (90) > =C2=A0=C2=A01369 |=C2=A0=C2=A0 END SUBROUTINE FAST_SBM > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 |=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ^ > =C2=A00x1207221bf lra_constraints(bool) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ../../gcc/gcc/lra-constr= aints.cc:5429 > =C2=A00x120705a3f lra(_IO_FILE*, int) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ../../gcc/gcc/lra.cc:244= 2 > =C2=A00x1206ac93f do_reload > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ../../gcc/gcc/ira.cc:597= 3 > =C2=A00x1206ac93f execute > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ../../gcc/gcc/ira.cc:616= 1 --=20 Xi Ruoyao School of Aerospace Science and Technology, Xidian University