Commit 166c02bd by Richard Sandiford Committed by Richard Sandiford

mips.h (TARGET_CPU_CPP_BUILTINS): Define __mips_synci if TARGET_SYNCI.

gcc/
	* config/mips/mips.h (TARGET_CPU_CPP_BUILTINS): Define __mips_synci
	if TARGET_SYNCI.

gcc/testsuite/
	* gcc.target/mips/mips.exp: Work out default -msynci setting.

From-SVN: r190784
parent 1860430a
2012-08-29 Richard Sandiford <rdsandiford@googlemail.com>
* config/mips/mips.h (TARGET_CPU_CPP_BUILTINS): Define __mips_synci
if TARGET_SYNCI.
2012-08-29 Oleg Endo <olegendo@gcc.gnu.org>
* config/sh/sh.opt (menable-tas): Rename to mtas.
......
......@@ -517,6 +517,9 @@ struct mips_cpu_info {
if (TARGET_OCTEON) \
builtin_define ("__OCTEON__"); \
\
if (TARGET_SYNCI) \
builtin_define ("__mips_synci"); \
\
/* Macros dependent on the C dialect. */ \
if (preprocessing_asm_p ()) \
{ \
......
2012-08-29 Richard Sandiford <rdsandiford@googlemail.com>
* gcc.target/mips/mips.exp: Work out default -msynci setting.
2012-08-28 Joey Ye <joey.ye@arm.com>
* gcc.dg/tree-ssa/ssa-dom-thread-3.c: Add -fno-short-enums.
......
......@@ -767,6 +767,12 @@ proc mips-dg-init {} {
"-mno-smartmips",
#endif
#ifdef __mips_synci
"-msynci",
#else
"-mno-synci",
#endif
0
};
}]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment