Commit 1c2fd8c7 by David Edelsohn Committed by David Edelsohn

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
parent 66320347
2015-01-21 David Edelsohn <dje.gcc@gmail.com>
* config/rs6000/rs6000.c (rs6000_file_start): Use rs6000_isa_flags
not TARGET_DEFAULT.
2015-01-21 Jakub Jelinek <jakub@redhat.com> 2015-01-21 Jakub Jelinek <jakub@redhat.com>
PR debug/64511 PR debug/64511
......
...@@ -5082,17 +5082,17 @@ rs6000_file_start (void) ...@@ -5082,17 +5082,17 @@ rs6000_file_start (void)
|| !global_options_set.x_rs6000_cpu_index) || !global_options_set.x_rs6000_cpu_index)
{ {
fputs ("\t.machine ", asm_out_file); 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); 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); 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); 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); 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); 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); fputs ("ppc64\n", asm_out_file);
else else
fputs ("ppc\n", asm_out_file); fputs ("ppc\n", asm_out_file);
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