This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
RE: [PATCH] Add support for MIPS r3 and r5
- From: Andrew Bennett <Andrew dot Bennett at imgtec dot com>
- To: Richard Sandiford <rdsandiford at googlemail dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, Matthew Fortune <Matthew dot Fortune at imgtec dot com>, Saeed Ghazanfar <Saeed dot Ghazanfar at imgtec dot com>, Rich Fuhler <Rich dot Fuhler at imgtec dot com>
- Date: Fri, 9 May 2014 11:26:03 +0000
- Subject: RE: [PATCH] Add support for MIPS r3 and r5
- Authentication-results: sourceware.org; auth=none
- References: <0DA23CC379F5F945ACB41CF394B98277578C80 at LEMAIL01 dot le dot imgtec dot org> <87mwes2hqe dot fsf at talisman dot default> <0DA23CC379F5F945ACB41CF394B982775792ED at LEMAIL01 dot le dot imgtec dot org> <87a9arjjmv dot fsf at sandifor-thinkpad dot stglab dot manchester dot uk dot ibm dot com>
> -----Original Message-----
> From: Richard Sandiford [mailto:rdsandiford@googlemail.com]
> Sent: 09 May 2014 12:07
> To: Andrew Bennett
> Cc: gcc-patches@gcc.gnu.org; Matthew Fortune; Saeed Ghazanfar; Rich Fuhler
> Subject: Re: [PATCH] Add support for MIPS r3 and r5
>
> Andrew Bennett <Andrew.Bennett@imgtec.com> writes:
> >> > @@ -141,7 +151,8 @@ along with GCC; see the file COPYING3. If not see
> >> > "%{EL:-m elf32lmip} \
> >> > %{EB:-m elf32bmip} \
> >> > %(endian_spec) \
> >> > - %{G*} %{mips1} %{mips2} %{mips3} %{mips4} %{mips32} %{mips32r2}
> >> %{mips64} \
> >> > + %{G*} %{mips1} %{mips2} %{mips3} %{mips4} %{mips32} %{mips32r2}
> >> \
> >> > + %{mips32r3} %{mips32r5} %{mips64} \
> >> > %(netbsd_link_spec)"
> >> >
> >> > #define NETBSD_ENTRY_POINT "__start"
> >>
> >> Not sure the omission of mips64r2 was deliberate here, or in vxworks.h.
> >
> > Yes it was deliberate: mips64r2 was already missing from the original
> ASM_SPEC
> > in vxworks.h and the LINK_SPEC in netbsfd.h.
>
> Right, but that's what I was saying didn't look deliberate. I expect
> it was just missed when mips64r2 was added.
Would you like me to update the ASM_SPEC and LINK_SPEC to include mips64r[235]?
Regards,
Andrew