On 9/3/2021 1:32 AM, YunQiang Su wrote:
Currently, the asm output file for MIPS has no rev info. It can make some trouble, for example: assembler is mips1 by default, gcc is fpxx by default. To assemble the output of gcc -S, we have to pass -mips2 to assembler. The same situation is for some CPU has extension insn. Octeon is an example. So we can just add ".set arch=octeon". If an ASE is enabled, .module ase will also be used. --- gcc/config/mips/mips.c | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+)
OK with a suitable ChangeLog entry. jeff