]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/doc/install.texi
MIPS: PR target/78176 add -mlxc1-sxc1.
authorMatthew Fortune <mpf@gcc.gnu.org>
Thu, 19 Jan 2017 16:05:59 +0000 (16:05 +0000)
committerMatthew Fortune <mpf@gcc.gnu.org>
Thu, 19 Jan 2017 16:05:59 +0000 (16:05 +0000)
commitab6b44cb2201de72cdd17740fd1ad1a557319be3
treeae0716bdf6bac1b9b8b9cef9772bca16a85af21c
parenta08895999d4a0d4b23b9b3debd08257e6c8122ab
MIPS: PR target/78176 add -mlxc1-sxc1.

gcc/

PR target/78176
* config.gcc (supported_defaults): Add lxc1-sxc1.
(with_lxc1_sxc1): Add validation.
(all_defaults): Add lxc1-sxc1.
* config/mips/mips.opt (mlxc1-sxc1): New option.
* gcc/config/mips/mips.h (OPTION_DEFAULT_SPECS): Add a default for
mlxc1-sxc1.
(TARGET_CPU_CPP_BUILTINS): Add builtin_define for
__mips_no_lxc1_sxc1.
(ISA_HAS_LXC1_SXC1): Gate with mips_lxc1_sxc1.
* gcc/doc/invoke.texi (-mlxc1-sxc1): Document the new option.
* doc/install.texi (--with-lxc1-sxc1): Document the new option.

gcc/testsuite/

* gcc.target/mips/lxc1-sxc1-1.c: New file.
* gcc.target/mips/lxc1-sxc1-2.c: Likewise.
* gcc.target/mips/mips.exp (mips_option_groups): Add ghost option
HAS_LXC1.
(mips_option_groups): Add -m[no-]lxc1-sxc1.
(mips-dg-init): Detect default -mno-lxc1-sxc1.
(mips-dg-options): Handle HAS_LXC1 arch upgrade/downgrade.

From-SVN: r244640
gcc/ChangeLog
gcc/config.gcc
gcc/config/mips/mips.h
gcc/config/mips/mips.opt
gcc/doc/install.texi
gcc/doc/invoke.texi
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/mips/lxc1-sxc1-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/mips/lxc1-sxc1-2.c [new file with mode: 0644]
gcc/testsuite/gcc.target/mips/mips.exp