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

2013-07-19 Thread Richard Sandiford
"Maciej W. Rozycki" writes: >> > Please also note that the writability of the individual new (HAS2008) >> > FCSR bits is optional e.g. a conforming processor may have NAN2008 >> > hardwired to 1 and ABS2008 hardwired to 0 (or likewise with NAN2008 >> > writable). >> >> OK, I'd missed that thi

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

2013-07-18 Thread Maciej W. Rozycki
On Wed, 17 Jul 2013, Richard Sandiford wrote: > "Maciej W. Rozycki" writes: > >> The patch mostly looks good apart from that, but please use a single > >> enum for the 2008/legacy thing, both in mips.h and mips.opt. > > > > Also mips.c and mips.md (and last but not least mips-opts.h). Done. >

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

2013-07-17 Thread Richard Sandiford
"Maciej W. Rozycki" writes: >> The patch mostly looks good apart from that, but please use a single >> enum for the 2008/legacy thing, both in mips.h and mips.opt. > > Also mips.c and mips.md (and last but not least mips-opts.h). Done. I wasn't trying to list all the places that use the C enum.

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

2013-07-17 Thread Joseph S. Myers
On Wed, 17 Jul 2013, Maciej W. Rozycki wrote: > > I was a bit surprised that a change to the NaN format requires a change > > to the dynamic linker, but I suppose that's the consequence of forcing > > every ELF object to fall on one side of the fence? > > Yes, the dynamic linker has to enforce N

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

2013-07-17 Thread Maciej W. Rozycki
On Tue, 16 Jul 2013, Richard Sandiford wrote: > > The run-time selection options are -mnan=2008 and -mnan=legacy for the > > 2008 NaN and the legacy NaN mode respectively. The binary patterns of NaN > > data produced by compiler builtins or otherwise is adjusted accordingly, > > as is a `.nan

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

2013-07-16 Thread Richard Sandiford
"Maciej W. Rozycki" writes: > The run-time selection options are -mnan=2008 and -mnan=legacy for the > 2008 NaN and the legacy NaN mode respectively. The binary patterns of NaN > data produced by compiler builtins or otherwise is adjusted accordingly, > as is a `.nan' directive included now w