This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] extend.texi MIPS PS/3D Support
- From: Richard Sandiford <rsandifo at redhat dot com>
- To: "Fu, Chao-Ying" <fu at mips dot com>
- Cc: "Dorit Naishlos" <DORIT at il dot ibm dot com>, "Giovanni Bajo" <giovannibajo at libero dot it>, <gcc-patches at gcc dot gnu dot org>, <dpatel at apple dot com>, "Gerald Pfeifer" <gerald at pfeifer dot com>, "Stephens, Nigel" <nigel at mercury dot mips dot com>, "Thekkath, Radhika" <radhika at mercury dot mips dot com>, "Uhler, Mike" <uhler at mercury dot mips dot com>, "Jim Wilson" <wilson at specifixinc dot com>
- Date: Thu, 23 Sep 2004 17:10:13 +0100
- Subject: Re: [patch] extend.texi MIPS PS/3D Support
- References: <3CB54817FDF733459B230DD27C690CEC041C48@Exchange.MIPS.COM>
"Fu, Chao-Ying" <fu@mips.com> writes:
> Ok. We need to put this into "mips.h". Thanks!
> [...]
> Index: mips.h
> ===================================================================
> RCS file: /cvsroot/gcc/gcc/gcc/config/mips/mips.h,v
> retrieving revision 1.370
> diff -c -3 -p -r1.370 mips.h
> *** mips.h 18 Sep 2004 19:19:37 -0000 1.370
> --- mips.h 22 Sep 2004 21:07:30 -0000
> *************** extern const struct mips_cpu_info *mips_
> *** 243,248 ****
> --- 243,250 ----
> ((target_flags & MASK_PAIRED_SINGLE) != 0)
> #define TARGET_MIPS3D ((target_flags & MASK_MIPS3D) != 0)
>
> + #define UNITS_PER_SIMD_WORD (TARGET_PAIRED_SINGLE_FLOAT ? 8 : 0)
> +
> /* True if we should use NewABI-style relocation operators for
> symbolic addresses. This is never true for mips16 code,
> which has its own conventions. */
Have you tested this?
Richard