Port-powerpc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Regression of GCC >= 4.8.5 for 32-bit powerpc



> On Dec 10, 2016, at 9:44 AM, Rin Okuyama <rokuyama%rk.phys.keio.ac.jp@localhost> wrote:
> 
> GCC >= 4.8.5 passes ".machine ppc" pseudo-op to assembler for 32-bit
> powerpc:
> 
> @@ -5199,10 +5204,8 @@
> 	fputs ("power5\n", asm_out_file);
>       else if ((rs6000_isa_flags & OPTION_MASK_MFCRF) != 0)
> 	fputs ("power4\n", asm_out_file);
> -      else if ((rs6000_isa_flags & OPTION_MASK_POWERPC64) != 0)
> -	fputs ("ppc64\n", asm_out_file);
>       else
> -	fputs ("ppc\n", asm_out_file);
> +	fputs ("ppc64\n", asm_out_file);
>     }
> #endif
> ====
> Could I commit this patch? Any comments or suggestions?

Is that fragment needed?  It doesn't seem to matter if you emit -mcpu= 
so why change it?


Home | Main Index | Thread Index | Old Index