This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v4] MIPS: IEEE 754-2008 features support


On Sat, 27 Jul 2013, Richard Sandiford wrote:

> > 	gcc/
> > 	* config/mips/linux.h (GLIBC_DYNAMIC_LINKER): Handle `-mnan=2008'.
> > 	(UCLIBC_DYNAMIC_LINKER): New macro.
> > 	* config/mips/linux64.h (GLIBC_DYNAMIC_LINKER32): Handle 
> > 	`-mnan=2008'.
> > 	(GLIBC_DYNAMIC_LINKER64, GLIBC_DYNAMIC_LINKERN32): Likewise.
> > 	(UCLIBC_DYNAMIC_LINKER32): Undefine macro first.  Handle 
> > 	`-mnan=2008'.
> > 	(UCLIBC_DYNAMIC_LINKER64): Redefine macro.
> > 	(UCLIBC_DYNAMIC_LINKERN32): Likewise.
> > 	* config/mips/mips-modes.def: Remove RESET_FLOAT_FORMAT calls
> > 	for SF and DF modes.  Use ieee_quad_format for TF mode.
> > 	* config/mips/mips-opts.h (mips_ieee_754_setting): New enum.
> > 	* config/mips/mips.c (mips_file_start): Output a `.nan' directive.
> > 	(mips_option_override): Handle `-mnan=legacy'.
> > 	* config/mips/mips.h (TARGET_CPU_CPP_BUILTINS): Handle 
> > 	`-mabs=2008' and `-mnan=2008'.
> > 	(OPTION_DEFAULT_SPECS): Add "nan" default.
> > 	(ASM_SPEC): Handle `-mnan='.
> > 	[!HAVE_AS_NAN] (HAVE_AS_NAN): New macro.
> > 	* config/mips/mips.md (abs<mode>2): Handle `-mabs=2008', update
> > 	comment accordingly.
> > 	(neg<mode>2): Likewise.
> > 	* config/mips/mips.opt (mabs, mnan): New options.
> > 	* doc/install.texi (Configuration): Document `--with-nan=' option.
> > 	* doc/invoke.texi (Option Summary): List MIPS `-mabs=' and 
> > 	`-mnan=' options.
> > 	(MIPS Options): Document them.
> > 	* config.gcc <mips*-*-*>: Handle `--with-nan='.
> > 	* configure.ac <mips*-*-*>: Check for GAS `-mnan=2008' support.
> > 	* configure: Regenerate.
> > 	* config.in: Regenerate.
> >
> > 	gcc/testsuite/
> > 	* gcc.target/mips/fabs-2008.c: New test case.
> > 	* gcc.target/mips/fabs-legacy.c: New test case.
> > 	* gcc.target/mips/fabsf-2008.c: New test case.
> > 	* gcc.target/mips/fabsf-legacy.c: New test case.
> > 	* gcc.target/mips/fneg-2008.c: New test case.
> > 	* gcc.target/mips/fneg-legacy.c: New test case.
> > 	* gcc.target/mips/fneg-2008.c: New test case.
> > 	* gcc.target/mips/fneg-legacy.c: New test case.
> > 	* gcc.target/mips/nan-2008.c: New test case.
> > 	* gcc.target/mips/nan-legacy.c: New test case.
> > 	* gcc.target/mips/nanf-2008.c: New test case.
> > 	* gcc.target/mips/nanf-legacy.c: New test case.
> > 	* gcc.target/mips/nans-2008.c: New test case.
> > 	* gcc.target/mips/nans-legacy.c: New test case.
> > 	* gcc.target/mips/nansf-2008.c: New test case.
> > 	* gcc.target/mips/nansf-legacy.c: New test case.
> > 	* gcc.target/mips/mips.exp: Handle `-mabs=' and `-mnan='.
> 
> OK, thanks.

 Committed now, thanks for your review.

  Maciej


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]