From: David Edelsohn Date: Thu, 22 Jan 2015 00:13:09 +0000 (+0000) Subject: rs6000.c (rs6000_file_start): Use rs6000_isa_flags not TARGET_DEFAULT. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1c2fd8c7cf1d8cbe38647dcf5aec9b90f054c2a5;p=gcc.git rs6000.c (rs6000_file_start): Use rs6000_isa_flags not TARGET_DEFAULT. * config/rs6000/rs6000.c (rs6000_file_start): Use rs6000_isa_flags not TARGET_DEFAULT. From-SVN: r219977 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 190fdfdc8aa..756c37de896 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-01-21 David Edelsohn + + * config/rs6000/rs6000.c (rs6000_file_start): Use rs6000_isa_flags + not TARGET_DEFAULT. + 2015-01-21 Jakub Jelinek PR debug/64511 diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index aad4c02132d..d836217444e 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -5082,17 +5082,17 @@ rs6000_file_start (void) || !global_options_set.x_rs6000_cpu_index) { fputs ("\t.machine ", asm_out_file); - if ((TARGET_DEFAULT & OPTION_MASK_DIRECT_MOVE) != 0) + if ((rs6000_isa_flags & OPTION_MASK_DIRECT_MOVE) != 0) fputs ("power8\n", asm_out_file); - else if ((TARGET_DEFAULT & OPTION_MASK_POPCNTD) != 0) + else if ((rs6000_isa_flags & OPTION_MASK_POPCNTD) != 0) fputs ("power7\n", asm_out_file); - else if ((TARGET_DEFAULT & OPTION_MASK_CMPB) != 0) + else if ((rs6000_isa_flags & OPTION_MASK_CMPB) != 0) fputs ("power6\n", asm_out_file); - else if ((TARGET_DEFAULT & OPTION_MASK_POPCNTB) != 0) + else if ((rs6000_isa_flags & OPTION_MASK_POPCNTB) != 0) fputs ("power5\n", asm_out_file); - else if ((TARGET_DEFAULT & OPTION_MASK_MFCRF) != 0) + else if ((rs6000_isa_flags & OPTION_MASK_MFCRF) != 0) fputs ("power4\n", asm_out_file); - else if ((TARGET_DEFAULT & OPTION_MASK_POWERPC64) != 0) + else if ((rs6000_isa_flags & OPTION_MASK_POWERPC64) != 0) fputs ("ppc64\n", asm_out_file); else fputs ("ppc\n", asm_out_file);