Did you try gcc -march=loongson2f?

On 11/5/11, 李晖 <lihui205...@gmail.com> wrote:
> hi, David,
>     thank you for your reply, I checked my .s file and find there
> indeed many ".set mips32r2" directive, but In the command I transfer
> the .cpp file to .s file, I added the option "-march=loongson2f -
> mtune=loongson2f", I don't know why the ".set mips32r2" directive were
> added in the .s file. do you know how to remove that kind of directive
> when I transfer the .cpp to .s file.
>
> Thandk you very much!
>
> andy
>
> On Nov 5, 4:34 am, David Kuehling <dvdkh...@gmx.de> wrote:
>> >>>>> "李晖" == 李晖  <lihui205...@gmail.com> writes:
>> > the assembler just can not identify the multu.g instruction.
>> > why the same assembler with the same march option can identify the
>> > multu.g instruct in one file but can not in another file, did any one
>> > knows the reason, it's so strange!
>>
>> Ar you sure that the file in question does not contain a '.set arch='
>> directive?  See also here:
>>
>> http://sourceware.org/binutils/docs/as/MIPS-ISA.html#MIPS-ISA
>>
>> cheers,
>>
>> David
>> --
>> GnuPG public key:http://dvdkhlng.users.sourceforge.net/dk.gpg
>> Fingerprint: B17A DC95 D293 657B 4205  D016 7DEF 5323 C174 7D40
>>
>>  application_pgp-signature_part
>> < 1KViewDownload
>
> --
> You received this message because you are subscribed to the Google Groups
> "loongson-dev" group.
> To post to this group, send email to loongson-dev@googlegroups.com.
> To unsubscribe from this group, send email to
> loongson-dev+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/loongson-dev?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"loongson-dev" group.
To post to this group, send email to loongson-dev@googlegroups.com.
To unsubscribe from this group, send email to 
loongson-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/loongson-dev?hl=en.

Reply via email to