This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Deprecating cc0 (and consequently cc0 targets)
- From: John Paul Adrian Glaubitz <glaubitz at physik dot fu-berlin dot de>
- To: Gunther Nikl <gnikl at justmail dot de>, Richard Sandiford <richard dot sandiford at arm dot com>
- Cc: Richard Biener <richard dot guenther at gmail dot com>, Jeff Law <law at redhat dot com>, gcc-patches <gcc-patches at gcc dot gnu dot org>, Denis Chertykov <chertykov at gmail dot com>, hp at axis dot com, Andreas Schwab <schwab at linux-m68k dot org>, Matt Thomas <matt at 3am-software dot com>
- Date: Wed, 30 Oct 2019 18:57:02 +0100
- Subject: Re: Deprecating cc0 (and consequently cc0 targets)
- References: <61a6a83a-beec-24a2-7726-fba9e02f5ab9@physik.fu-berlin.de> <12e368c7-94db-1a42-6458-53596ebfb623@redhat.com> <CAFiYyc13Y_Rcx_qJqoKD67Eokdpq62hErz9Rgzfi-O=EQOM6jg@mail.gmail.com> <mptmudi1u80.fsf@arm.com> <20191030185252.000078d9@justmail.de>
On 10/30/19 6:52 PM, Gunther Nikl wrote:
> Richard Sandiford <richard.sandiford@arm.com> wrote:
>> FWIW it's already possible to do the transform you mention with:
>>
>> s/(cc0)/(reg:CC CC_REGNUM_RC)/g
>>
>> (define_int_iterator CC_REGNUM_RC [(CC_REGNUM "reload_completed")])
>
> Since "reload_completed" is referenced, this is only about the CC0
> conversion, right? Switching to LRA is not required for this step.
I think it would be nice though that anyone who does the cc0 transition
would also switch over to LRA unless that would be too much of a burden.
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaubitz@debian.org
`. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913