Commit fb4ab5f0 by Eric Botcazou Committed by Eric Botcazou

sparc-c.c (sparc_target_macros): Replace TARGET_64BIT with TARGET_ARCH64.

	* config/sparc/sparc-c.c (sparc_target_macros): Replace TARGET_64BIT
	with TARGET_ARCH64.  Define __VIS to 0x400 if TARGET_VIS4.

From-SVN: r241446
parent 35518d76
2016-10-23 Eric Botcazou <ebotcazou@adacore.com>
* config/sparc/sparc-c.c (sparc_target_macros): Replace TARGET_64BIT
with TARGET_ARCH64. Define __VIS to 0x400 if TARGET_VIS4.
2016-10-21 Andrew Pinski <apinski@cavium.com> 2016-10-21 Andrew Pinski <apinski@cavium.com>
* config/aarch64/aarch64-cores.def: Rewrite so IMP and PART are * config/aarch64/aarch64-cores.def: Rewrite so IMP and PART are
......
...@@ -29,7 +29,7 @@ sparc_target_macros (void) ...@@ -29,7 +29,7 @@ sparc_target_macros (void)
{ {
builtin_define_std ("sparc"); builtin_define_std ("sparc");
if (TARGET_64BIT) if (TARGET_ARCH64)
{ {
cpp_assert (parse_in, "cpu=sparc64"); cpp_assert (parse_in, "cpu=sparc64");
cpp_assert (parse_in, "machine=sparc64"); cpp_assert (parse_in, "machine=sparc64");
...@@ -43,7 +43,7 @@ sparc_target_macros (void) ...@@ -43,7 +43,7 @@ sparc_target_macros (void)
if (TARGET_VIS4) if (TARGET_VIS4)
{ {
cpp_define (parse_in, "__VIS__=0x400"); cpp_define (parse_in, "__VIS__=0x400");
cpp_define (parse_in, "__VIS__=0x400"); cpp_define (parse_in, "__VIS=0x400");
} }
else if (TARGET_VIS3) else if (TARGET_VIS3)
{ {
......
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