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
This commit is contained in:
parent
1860430ab5
commit
166c02bde9
@ -1,3 +1,8 @@
|
||||
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 ()) \
|
||||
{ \
|
||||
|
@ -1,3 +1,7 @@
|
||||
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
|
||||
};
|
||||
}]
|
||||
|
Loading…
Reference in New Issue
Block a user