This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch] Add microMIPS jraddiusp support
- From: Richard Sandiford <rdsandiford at googlemail dot com>
- To: "Moore\, Catherine" <Catherine_Moore at mentor dot com>
- Cc: "gcc-patches\ at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, "Rozycki\, Maciej" <Maciej_Rozycki at mentor dot com>
- Date: Wed, 24 Apr 2013 07:27:42 +0100
- Subject: Re: [Patch] Add microMIPS jraddiusp support
- References: <FD3DCEAC5B03E9408544A1E416F11242987BD29C at NA-MBX-01 dot mgc dot mentorg dot com> <876215tuwq dot fsf at talisman dot default> <FD3DCEAC5B03E9408544A1E416F11242987BE126 at NA-MBX-01 dot mgc dot mentorg dot com> <87wqt9d5mc dot fsf at talisman dot default> <FD3DCEAC5B03E9408544A1E416F11242987BFD12 at NA-MBX-01 dot mgc dot mentorg dot com>
"Moore, Catherine" <Catherine_Moore@mentor.com> writes:
> @@ -11596,12 +11604,18 @@ mips_expand_epilogue (bool sibcall_p)
> rtx reg = gen_rtx_REG (Pmode, GP_REG_FIRST + 7);
> pat = gen_return_internal (reg);
> }
> + else if (use_jraddiusp_p)
> + {
> + pat = gen_jraddiusp (GEN_INT (step2));
> + }
Redundant braces, should be:
else if (use_jraddiusp_p)
pat = gen_jraddiusp (GEN_INT (step2));
OK with that change, thanks.
Richard