"Steve Ellcey " <sell...@mips.com> writes:
> I would like to add new variations to the mips-mti-elf and mips-mti-linux
> targets to support the new NaN format on MIPS (mnan=2008 for IEEE 754-2008).
> While I was doing this I noticed that I was handling mips16 and micromips
> in a dumb manner.  I had them in MULTILIB_OPTIONS as non-exclusive flags
> and then used MULTILIB_EXCEPTIONS to not allow them to both be used.
> So I also changed MULTILIB_OPTIONS to make mips16 and micromips exclusive and
> then I could get rid of one of the MULTILIB_EXCEPTIONS entries.

Good spot.  Looks like you could do the same thing with -mabi=64, but it
isn't as logical as the mips16/micromips thing and probably wouldn't win much.

> I also make the new mnan=2008 flag exclusive of msoft-float since it
> is only useful for hard-float.

Well, it's useful for both, because -msoft-float uses the same NaN
format as -mhard-float.  But not having the multilib is fine.

> 2013-08-07  Steve Ellcey  <sell...@mips.com>
>
>       * config/mips/mti-linux.h (SYSROOT_SUFFIX_SPEC): Add nan2008.
>       * config/mips/t-mti-elf (MULTILIB_OPTIONS): Make mips16 and
>       micromips incompatible.  Add nan2008.
>       (MULTILIB_DIRNAMES): Add nan2008.
>       (MULTILIB_EXCEPTIONS): Remove mips16/micromips entry.
>       * config/mips/t-mti-linux (MULTILIB_OPTIONS): Make mips16
>       and micromips incompatible.  Add nan2008.
>       (MULTILIB_DIRNAMES): Add nan2008.
>       (MULTILIB_EXCEPTIONS): Remove mips16/micromips entry.

OK, thanks.

Richard

Reply via email to